Browser extension and bookmarklet

Last updated:

When do I need the browser extension?

Use the browser extension or the bookmarklet when you want to review a site but cannot add the Commentpin script tag to it. For example, a client's live site that you cannot edit, or a site builder that does not allow custom code. Both open the same widget as the script tag, with element picking, screenshot markup and the technical details.

Both need the site's domain in the project's Allowed domains. Add it in the project settings first.

Browser extension (Chrome and Edge)

The Chrome Web Store listing is not live yet. To try the extension now, build it from the source:

  1. Clone the repository and run pnpm install and pnpm build.
  2. Open chrome://extensions, turn on Developer mode and choose Load unpacked.
  3. Select the apps/extension/dist folder.

To leave feedback:

  1. Open the page you want to comment on.
  2. Click the Commentpin icon in the toolbar.
  3. Paste the project key from the project settings. It starts with pk_. The extension remembers it.
  4. Click Start feedback, pick an element, mark up the screenshot and send.

If you self-host, open Self-hosted? in the extension and enter your app's address.

The extension asks only for access to the tab you click it in. Everything it runs is bundled in the extension; it loads no code from our servers.

Bookmarklet

  1. Open the project settings and find No access to the site's code?
  2. Drag the Commentpin feedback button to your bookmarks bar.
  3. On any page of an allowed domain, click the bookmark. The feedback button appears.

The bookmarklet loads https://commentpin.com/widget.js into the page. Sites with a strict Content Security Policy block it; use the extension there.

Frequently asked questions

Do my clients need the extension?
No. Clients use the widget on sites where you added the script tag. The extension and the bookmarklet are for reviewers on sites where you cannot add it.
Can the extension report on any website?
It works on any page of a domain in the project's allowed domains. Add the domain in the project settings first. This stops anyone with a project key from sending reports from other sites.
Why does the bookmarklet do nothing on some sites?
Some sites set a Content Security Policy that blocks scripts from other domains. The bookmarklet cannot run there. The browser extension can.
Does the extension read my browsing?
No. It runs only when you click it, and only on the tab you clicked it in. It asks for no access to your other tabs or your history.
Are console errors included?
Only errors that happen after you start the report. The script tag starts recording when the page loads, so it catches more.