From 3da256a4c2d53493eb99f8b0cc6a4f53f735b3c6 Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Mon, 4 Feb 2019 09:10:06 +0000 Subject: [PATCH] 0707: clean up DoH - remove network.trr.bootstrapAddress = default blank anyway - remove network.trr.uri - this is mozilla's default value. Unfortunately, that value is hard-coded in FF65+ into the UI settings as an option to use the default URI, so changing this could be misleading - In FF65 there is now a custom URI field in the UI settings, and that's what users should be using - but it actually controls two prefs if you check to use custom - see https://github.com/ghacksuserjs/ghacks-user.js/issues/610#issuecomment-460169782 I am not interested in maintaining how this UI works (and it could change). The single pref left above is all that is needed to turns it on or off, that's all I care about. I've added the [SETTING] info and that's where people can do their shit. That's good enough for me --- user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user.js b/user.js index c89eaf9..0f63faf 100644 --- a/user.js +++ b/user.js @@ -504,12 +504,12 @@ user_pref("network.proxy.autoconfig_url.include_path", false); // [DEFAULT: fals /* 0707: disable (or setup) DNS-over-HTTPS (DoH) [FF60+] * TRR = Trusted Recursive Resolver * .mode: 0=off, 1=race, 2=TRR first, 3=TRR only, 4=race for stats but always use native result + * To use a custom URI, use the Connection Settings panel, as it involves multiple prefs * [WARNING] DoH bypasses hosts and gives info to yet another party (e.g. Cloudflare) + * [SETTING] General>Network Settings>Settings>Enable DNS over HTTPS * [1] https://www.ghacks.net/2018/04/02/configure-dns-over-https-in-firefox/ * [2] https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/ ***/ // user_pref("network.trr.mode", 0); - // user_pref("network.trr.bootstrapAddress", ""); - // user_pref("network.trr.uri", ""); /* 0708: disable FTP [FF60+] * [1] https://www.ghacks.net/2018/02/20/firefox-60-with-new-preference-to-disable-ftp/ ***/ // user_pref("network.ftp.enabled", false);