From 9ac180d41d45ad457aaf3890500739ca06e7adc1 Mon Sep 17 00:00:00 2001 From: idk Date: Sun, 20 Dec 2020 13:57:44 -0500 Subject: [PATCH] Disable HTTPS-only mode in the profile we control, we're using HTTPS-Everywhere instead since we don't have the ability to deny upgrades to https from .i2p hostnames yet(tor does, though, via dom.security.https_only_mode.upgrade_onion=false, which is probably easy to adapt for us --- changelog.txt | 6 ++++++ src/profile/prefs.js | 1 + src/profile/user.js | 1 + 3 files changed, 8 insertions(+) diff --git a/changelog.txt b/changelog.txt index 35a9816..f93585a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +2020-12-20 +* Add I2P in Private Browsing plugin, which for the purposes of this profile provides + - X-I2P-Location functionality(Alternate service locations for mirrors) + - X-I2P-TorrentLocation functionality(Alternate resource locations for sites) + - Pre-Disable HTTPS only mode dom.security.https_only_mode=false in the profile in favor of HTTPS-Everywhere + 2019-02-10 zab * Fix missing texts on Finish page diff --git a/src/profile/prefs.js b/src/profile/prefs.js index 748d728..5b96565 100644 --- a/src/profile/prefs.js +++ b/src/profile/prefs.js @@ -39,3 +39,4 @@ user_pref("network.proxy.socks", "127.0.0.1"); user_pref("network.proxy.socks_port", 4444); user_pref("network.proxy.share_proxy_settings", true); user_pref("browser.startup.homepage", "about:blank"); +user_pref("dom.security.https_only_mode", false); diff --git a/src/profile/user.js b/src/profile/user.js index 14b672d..7ce96b6 100644 --- a/src/profile/user.js +++ b/src/profile/user.js @@ -207,3 +207,4 @@ user_pref("browser.chrome.errorReporter.infoURL", ""); user_pref("breakpad.reportURL", ""); user_pref("browser.newtabpage.activity-stream.default.sites", ""); //user_pref("browser.newtabpage.activity-stream.default.sites", "http://planet.i2p/,http://legwork.i2p/,http://i2pwiki.i2p/,http://i2pforums.i2p/,http://zzz.i2p/"); +user_pref("dom.security.https_only_mode", false);