summaryrefslogtreecommitdiff
path: root/src/bg/ChildPolicies.js
diff options
context:
space:
mode:
authorhackademix2018-09-08 23:09:39 +0200
committerhackademix2018-09-08 23:09:39 +0200
commit4f7d8579afa3b6a71173b3deefaf359d63e1e4e9 (patch)
treeb45998ba15b49ebb5bcebfc6009e3df77c059403 /src/bg/ChildPolicies.js
parentb60cbbd49e6d452adeb3abf8cc47ca276000a4db (diff)
downloadnoscript-4f7d8579afa3b6a71173b3deefaf359d63e1e4e9.tar.gz
noscript-4f7d8579afa3b6a71173b3deefaf359d63e1e4e9.tar.xz
noscript-4f7d8579afa3b6a71173b3deefaf359d63e1e4e9.zip
More efficient window.name persistence for tab-scoped permissions.
Diffstat (limited to 'src/bg/ChildPolicies.js')
-rw-r--r--src/bg/ChildPolicies.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/ChildPolicies.js b/src/bg/ChildPolicies.js
index 99402ca..e8608ad 100644
--- a/src/bg/ChildPolicies.js
+++ b/src/bg/ChildPolicies.js
@@ -102,7 +102,7 @@
let preamble = info ? `${marker} + ${JSON.stringify(JSON.stringify([info]))} + ${marker} + "," + ` : "";
await browser.tabs.executeScript(tabId, {
code: `window.name = ${preamble}window.name.split(${marker} + ",").pop();`,
- allFrames: false,
+ allFrames: true,
matchAboutBlank: true,
runAt: "document_start",
});