diff --git a/libs/acf/main-world/src/lib/main-world-background.ts b/libs/acf/main-world/src/lib/main-world-background.ts index c318ca12..90dc4791 100644 --- a/libs/acf/main-world/src/lib/main-world-background.ts +++ b/libs/acf/main-world/src/lib/main-world-background.ts @@ -31,7 +31,7 @@ export class MainWorldBackground { // Perform the action that requires the permission chrome.scripting.executeScript<[Bypass], void>({ world: 'MAIN', - target: { tabId: sender.tab.id }, + target: { tabId: sender.tab.id, allFrames: true }, func: (message: Bypass) => { if (message.alert) { window.alert = () => {