From 5f819419f5cb58f52576ec265b0afe8a1d60ed4a Mon Sep 17 00:00:00 2001 From: Dharmesh Date: Mon, 23 Sep 2024 17:27:54 +0530 Subject: [PATCH] Added bypass rule for iframes also (#440) --- libs/acf/main-world/src/lib/main-world-background.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => {