From 2b7cc563dd441c08b202b3fbb6d04f577e428de3 Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 7 Nov 2019 15:14:34 +0100 Subject: Fixed onionSecure setting persistence issue (Tor ticket #32362). --- src/bg/main.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bg') 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) { -- cgit v1.2.3