diff options
author | hackademix | 2018-09-08 23:09:39 +0200 |
---|---|---|
committer | hackademix | 2018-09-08 23:09:39 +0200 |
commit | 4f7d8579afa3b6a71173b3deefaf359d63e1e4e9 (patch) | |
tree | b45998ba15b49ebb5bcebfc6009e3df77c059403 /src/bg/ChildPolicies.js | |
parent | b60cbbd49e6d452adeb3abf8cc47ca276000a4db (diff) | |
download | noscript-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.js | 2 |
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", }); |