diff --git a/packages/wxt/src/client/content-scripts/content-script-context.ts b/packages/wxt/src/client/content-scripts/content-script-context.ts index 4474ca460..69f36c6c5 100644 --- a/packages/wxt/src/client/content-scripts/content-script-context.ts +++ b/packages/wxt/src/client/content-scripts/content-script-context.ts @@ -35,7 +35,9 @@ import { createLocationWatcher } from './location-watcher'; * ``` */ export class ContentScriptContext implements AbortController { - private static SCRIPT_STARTED_MESSAGE_TYPE = 'wxt:content-script-started'; + private static SCRIPT_STARTED_MESSAGE_TYPE = getUniqueEventName( + 'wxt:content-script-started', + ); private isTopFrame = window.self === window.top; private abortController: AbortController;