[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 1f7b0babe6f5759720286a3cd07de16babc7c9d7
Author: Pier Angelo Vendrame <pierov@xxxxxxxxxxxxxx>
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);



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits