summaryrefslogtreecommitdiff
path: root/src/bg/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/bg/main.js')
-rw-r--r--src/bg/main.js2
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) {