HelpBookmarklet › Troubleshooting

Bookmarklet Troubleshooting

The bookmarklet is intentionally a thin loader: it injects a single script tag, which then renders the FoxChat UI inside a Shadow DOM. When something goes wrong, it is almost always one of five failures. Here they are with their fixes.

Failure 1: Content-Security-Policy blocks the script

Symptom: you click the bookmarklet, nothing happens, and your browser console shows a CSP violation like Refused to load the script 'https://app.getfoxchat.com/bookmarklet-recorder.js' because it violates the following Content Security Policy directive: "script-src 'self'".

The fix: the host site's CSP forbids third-party script tags, and bookmarklets are subject to the host page's CSP just like any other inline script. Workarounds:

Failure 2: Shadow DOM CSS conflicts

Symptom: the FoxChat panel appears, but it looks broken — text is huge, colors are wrong, or the layout has collapsed.

The FoxChat panel renders inside a Shadow DOM root precisely to isolate its styles from the host page. In modern browsers this works automatically. In rare cases the issue is one of:

Failure 3: Esc-to-close doesn't work

Symptom: the panel is open, you press Esc, nothing happens.

The most common cause is that the host page captures the keydown event in a global handler that calls preventDefault. Some custom video players and presentation tools do this for their own keyboard shortcuts. Workarounds:

If Esc consistently fails on a specific site, please report it — we maintain a per-site quirks list.

Failure 4: Replay does nothing for a step

Symptom: the playback bookmarklet shows a step, you click Replay, the highlight does not re-animate.

This happens when the underlying element has been removed or recycled by the host page's framework between the time the step rendered and the time you clicked replay. Single-page apps that use virtual DOM diffing (React, Vue, Svelte) can swap out a button while leaving its visual position the same. Workaround:

Failure 5: Bookmarklet doesn't drag to the bookmarks bar

Symptom: you try to drag the orange Record button from the bookmarklet page to your bookmarks bar, the cursor refuses to drop, or the drop creates a regular bookmark to the page itself instead of a javascript: URL.

Browser-specific causes:

If none of the above fixes your issue: open the developer console (F12), reproduce the failure, and copy the console output. Send it to support along with the URL of the page you were on. Most bookmarklet failures we see are CSP-related — the console message will say so explicitly.

Try FoxChat free

Most users never hit any of these; the bookmarklet just works on most sites.

Start free trial