diff options
author | hackademix | 2019-11-07 15:14:34 +0100 |
---|---|---|
committer | hackademix | 2019-11-07 15:14:34 +0100 |
commit | 2b7cc563dd441c08b202b3fbb6d04f577e428de3 (patch) | |
tree | a4224c448586eb054d4c7fb439dca892f3347a3d /src/bg/main.js | |
parent | 035b4f28275e671a61c3f922cce0d783a9079098 (diff) | |
download | noscript-2b7cc563dd441c08b202b3fbb6d04f577e428de3.tar.gz noscript-2b7cc563dd441c08b202b3fbb6d04f577e428de3.tar.xz noscript-2b7cc563dd441c08b202b3fbb6d04f577e428de3.zip |
Fixed onionSecure setting persistence issue (Tor ticket #32362).
Diffstat (limited to 'src/bg/main.js')
-rw-r--r-- | src/bg/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bg/main.js b/src/bg/main.js index 165260c..6e2cdf9 100644 --- a/src/bg/main.js +++ b/src/bg/main.js @@ -34,6 +34,8 @@ await ns.savePolicy(); } + Sites.onionSecure = ns.local.isTorBrowser; + await RequestGuard.start(); await XSS.start(); // we must start it anyway to initialize sub-objects if (!ns.sync.xss) { |