diff options
author | hackademix | 2019-04-01 19:12:20 +0200 |
---|---|---|
committer | hackademix | 2019-04-01 19:12:20 +0200 |
commit | f145e625e4ab2118c811ef4403c0939a1d30b5a7 (patch) | |
tree | bf1b1a1c7131475d00b9a597d9fc38ba26f6ea1e /src/content/staticNS.js | |
parent | 688f7a31fab74ee1b1ffbc6c5dfb8fd418dcc844 (diff) | |
download | noscript-f145e625e4ab2118c811ef4403c0939a1d30b5a7.tar.gz noscript-f145e625e4ab2118c811ef4403c0939a1d30b5a7.tar.xz noscript-f145e625e4ab2118c811ef4403c0939a1d30b5a7.zip |
Limit wrappedJSObject usages to compatible browsers.
Diffstat (limited to 'src/content/staticNS.js')
-rw-r--r-- | src/content/staticNS.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/staticNS.js b/src/content/staticNS.js index e169087..3561162 100644 --- a/src/content/staticNS.js +++ b/src/content/staticNS.js @@ -65,7 +65,7 @@ } catch (e) { error(e); } - } else if (window !== window.top) { + } else if (UA.isMozilla && window !== window.top) { // The cookie hack won't work for non-HTTP subframes (issue #48), // or the cookie might have been deleted in a race condition, // so here we try to check the parent |