diff options
author | hackademix | 2019-10-27 21:33:21 +0000 |
---|---|---|
committer | hackademix | 2019-10-27 22:05:35 +0000 |
commit | ad5f6b1786ad1dc09b88ed9eef9cd558d726a665 (patch) | |
tree | db9e16aa3b6521049522121cfb358200e88775f4 /src/bg/Settings.js | |
parent | b1733d439298e81eefb38b3dc250dcae6f90a6e1 (diff) | |
download | noscript-ad5f6b1786ad1dc09b88ed9eef9cd558d726a665.tar.gz noscript-ad5f6b1786ad1dc09b88ed9eef9cd558d726a665.tar.xz noscript-ad5f6b1786ad1dc09b88ed9eef9cd558d726a665.zip |
[Tor] Treat .onion sites whose protocol is HTTP as if it was HTTPS.
Diffstat (limited to 'src/bg/Settings.js')
-rw-r--r-- | src/bg/Settings.js | 2 |
1 files changed, 2 insertions, 0 deletions
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; |