Skip to content

Commit

Permalink
Added bypass rule for iframes also (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmesh-hemaram authored Sep 23, 2024
1 parent 6679a7d commit 5f81941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/acf/main-world/src/lib/main-world-background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit 5f81941

Please sign in to comment.