[tbb-commits] [tor-browser/tor-browser-91.6.0esr-11.5-1] squash! TB4: Tor Browser's Firefox preference overrides.

richard at torproject.org richard at torproject.org
Wed Feb 23 16:15:48 UTC 2022


commit 1f7b0babe6f5759720286a3cd07de16babc7c9d7
Author: Pier Angelo Vendrame <pierov at torproject.org>
Date:   Tue Feb 15 14:30:32 2022 +0100

    squash! TB4: Tor Browser's Firefox preference overrides.
    
    Bug 19850: enabled HTTPS-Only by default
---
 browser/app/profile/000-tor-browser.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/browser/app/profile/000-tor-browser.js b/browser/app/profile/000-tor-browser.js
index e42b9efc1b79..ea01ee4307c7 100644
--- a/browser/app/profile/000-tor-browser.js
+++ b/browser/app/profile/000-tor-browser.js
@@ -69,6 +69,10 @@ pref("browser.sessionstore.privacy_level", 2);
 pref("browser.privatebrowsing.forceMediaMemoryCache", true);
 pref("media.memory_cache_max_size", 16384);
 
+// Enable HTTPS-Only mode
+pref("dom.security.https_only_mode", true);
+pref("dom.security.https_only_mode.upgrade_onion", false);
+
 // Misc privacy: Remote
 pref("browser.send_pings", false);
 pref("geo.enabled", false);





More information about the tbb-commits mailing list