From ad5f6b1786ad1dc09b88ed9eef9cd558d726a665 Mon Sep 17 00:00:00 2001 From: hackademix Date: Sun, 27 Oct 2019 21:33:21 +0000 Subject: [Tor] Treat .onion sites whose protocol is HTTP as if it was HTTPS. --- src/bg/Settings.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bg') diff --git a/src/bg/Settings.js b/src/bg/Settings.js index 57e6067..d18419b 100644 --- a/src/bg/Settings.js +++ b/src/bg/Settings.js @@ -92,6 +92,8 @@ var Settings = { // Tor Browser-specific settings ns.defaults.local.isTorBrowser = true; // prevents reset from forgetting ns.defaults.sync.cascadeRestrictions = true; // we want this to be the default even on reset + Sites.onionSecure = true; + if (!this.gotTorBrowserInit) { // First initialization message from the Tor Browser this.gotTorBrowserInit = true; -- cgit v1.2.3