Update 'user.js'

 Synced with Desktop version
 Added, but not enabled, https_only_mode.upgrade_local (still experimental) | FF77
 Enforced prefers-reduced-motion as no-preference
to local IP addresses are also upgraded)
️ Disabled permissions manager from writing to disk
ℹ️ Modified some links, tag and descriptions
ℹ️ Moved some preferences from FF76+ into deprecated section (keeping them active for ESR68.x.x)
This commit is contained in:
quindecim 2020-06-18 07:22:51 -04:00
parent f287a96740
commit a01a5e5b65
1 changed files with 40 additions and 19 deletions

59
user.js
View File

@ -115,10 +115,9 @@ user_pref("browser.newtabpage.activity-stream.asrouter.messageProviders", ""); /
// https://bugzilla.mozilla.org/show_bug.cgi?id=583181
user_pref("browser.startup.homepage_override.mstone", "ignore");
// -------------------------------------
// Pref : Disable separate about:welcome page and log level to console
// Pref : Disable separate about:welcome page
// https://bugzilla.mozilla.org/show_bug.cgi?id=1617783
user_pref("browser.aboutwelcome.enabled", false); // [DESKTOP]
user_pref("browser.aboutwelcome.log", ""); // [DESKTOP]
user_pref("trailhead.firstrun.branches", ""); // [DESKTOP]
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@ -403,7 +402,6 @@ user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DESKT
// -------------------------------------
// Pref : Disable about:addons Recommendations pane (uses Google Analytics)
user_pref("extensions.getAddons.showPane", false); // [HIDDEN PREF] // [DESKTOP]
user_pref("extensions.webservice.discoverURL", ""); // [DESKTOP]
// -------------------------------------
// Pref : Disable recommendations in about:addons Extensions and Themes panes
// https://www.ghacks.net/2019/05/15/enable-new-firefox-recommended-extensions-suggestions-in-firefox-68-nightly/
@ -683,9 +681,6 @@ user_pref("extensions.experiments.enabled", false);
// Pref : Provide haptic feedback on longPress selection events
user_pref("layout.accessiblecaret.hapticfeedback", false); // [DEFAULT: true]
// -------------------------------------
// Pref :
user_pref("dom.registerProtocolHandler.insecure.enabled", false);
// -------------------------------------
// Pref : Disable Firefox Accounts and Sync
user_pref("identity.fxaccounts.enabled", false); // [DESKTOP]
user_pref("identity.fxaccounts.auth.uri", "");
@ -955,8 +950,6 @@ user_pref("browser.display.use_system_colors", false); // [DEFAULT: false]
// https://bugzilla.mozilla.org/show_bug.cgi?id=1599262
// https://www.ghacks.net/2020/03/04/firefox-75-will-purge-site-data-if-associated-with-tracking-cookies/
user_pref("privacy.purge_trackers.enabled", false);
user_pref("privacy.purge_trackers.logging.enabled", false);
user_pref("privacy.purge_trackers.logging.level", "");
// -------------------------------------
// Pref : Disable permissions delegation
// Currently applies to cross-origin geolocation, camera, mic and screen-sharing permissions, and fullscreen requests. Disabling delegation means any prompts for these will show/use their correct 3rd party origin
@ -1060,6 +1053,7 @@ user_pref("javascript.options.wasm_baselinejit", false);
user_pref("javascript.options.wasm_cranelift", false);
user_pref("javascript.options.wasm_gc", false);
user_pref("javascript.options.wasm_ionjit", false);
user_pref("javascript.options.wasm_reftypes", false);
user_pref("javascript.options.wasm_trustedprincipals", false);
user_pref("javascript.options.wasm_verbose", false);
// -------------------------------------
@ -1450,6 +1444,7 @@ user_pref("network.negotiate-auth.allow-insecure-ntlm-v1", false); // [DESKTOP]
// https://www.ghacks.net/2020/03/24/firefox-76-gets-optional-https-only-mode/
// https://bugzilla.mozilla.org/1613063
// user_pref("dom.security.https_only_mode", true);
// user_pref("dom.security.https_only_mode.upgrade_local", true);
// -------------------------------------
// Pref : Require safe negotiation
// Blocks connections to servers that don't support RFC 5746 as they're potentially vulnerable to a MiTM attack. A server *without* RFC 5746 can be safe from the attack if it disables renegotiations but the problem is that the browser can't know that.
@ -1688,7 +1683,6 @@ user_pref("privacy.usercontext.about_newtab_segregation.enabled", true); // [DES
// Pref : Disable about:logins (Firefox Lockwise)
// https://lockwise.firefox.com/
// https://support.mozilla.org/en-US/kb/firefox-lockwise-managing-account-data
user_pref("signon.management.overrideURI", ""); // [DESKTOP]
user_pref("signon.management.page.breach-alerts.enabled", false); // [DESKTOP]
user_pref("signon.management.page.breachAlertUrl", ""); // [DESKTOP]
user_pref("signon.management.page.hideMobileFooter", true); // [DESKTOP]
@ -1820,7 +1814,7 @@ user_pref("browser.cache.disk.smart_size.first_run", false);
// Pref : Disable permissions manager from writing to disk
// [NOTE] This means any permission changes are session only
// https://bugzilla.mozilla.org/967812
// user_pref("permissions.memory_only", true); // [HIDDEN PREF]
user_pref("permissions.memory_only", true); // [HIDDEN PREF]
// -------------------------------------
// Pref : Disable media cache from writing to disk in Private Browsing
// [NOTE] MSE (Media Source Extensions) are already stored in-memory in PB
@ -2543,10 +2537,14 @@ user_pref("dom.webaudio.enabled", false); // [DEFAULT: true]
// https://bugzilla.mozilla.org/1448423
user_pref("browser.startup.blankWindow", false); // [DESKTOP]
// -------------------------------------
/// Pref : Disable network API
// Pref : Disable network API
// https://developer.mozilla.org/en-US/docs/Web/API/Connection/onchange
// https://www.torproject.org/projects/torbrowser/design/#fingerprinting-defenses
user_pref("dom.network.enabled", false); // [DESKTOP]
// -------------------------------------
// Pref : Enforce prefers-reduced-motion as no-preference
// 0=no-preference, 1=reduce
user_pref("ui.prefersReducedMotion", 0); // [HIDDEN PREF]
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : UI (User Interface)
@ -2563,13 +2561,6 @@ user_pref("browser.download.autohideButton", false); // [DESKTOP]
// Pref : Disable browser animation
// https://bugzilla.mozilla.org/show_bug.cgi?id=1352069
user_pref("toolkit.cosmeticAnimations.enabled", false);
// -------------------------------------
// Pref : Disable (temporarily) "Megabar" design
// https://support.mozilla.org/en-US/questions/1284354
user_pref("browser.urlbar.openViewOnFocus", false); // [DESKTOP]
user_pref("browser.urlbar.update1", false); // [DESKTOP]
user_pref("browser.urlbar.update1.interventions", false); // [DESKTOP]
user_pref("browser.urlbar.update1.searchTips", false); // [DESKTOP]
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Personal
@ -2613,6 +2604,14 @@ user_pref("browser.ctrlTab.recentlyUsedOrder", false); // [DESKTOP]
user_pref("view_source.wrap_long_lines", true);
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Hotfix
// >>>>>>>>>>>>>>>>>>>>>
// Pref : Disable UNC
// [NOTE] Disabling UNC can cause extension storage to fail
// https://github.com/ghacksuserjs/ghacks-user.js/issues/923
user_pref("network.file.disable_unc_paths", false); // [HIDDEN PREF]
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Deprecated / Removed / Legacy / Renamed
// >>>>>>>>>>>>>>>>>>>>
// ESR68.x still uses all the following prefs
@ -2904,4 +2903,26 @@ user_pref("extensions.blocklist.useXML", false);
user_pref("network.predictor.cleaned-up", true);
// -------------------------------------
// FF77+
// -------------------------------------
// -------------------------------------
// Pref : Lock web content in file processes
// https://bugzilla.mozilla.org/show_bug.cgi?id=1603007
// https://hg.mozilla.org/mozilla-central/rev/b25250e2c618
user_pref("browser.tabs.remote.allowLinkedWebInFileUriProcess", false);
// -------------------------------------
// Pref : Remove dom.registerProtocolHandler.insecure.enabled
// https://bugzilla.mozilla.org/show_bug.cgi?id=1597267
// https://hg.mozilla.org/mozilla-central/rev/89f07125aee8
user_pref("dom.registerProtocolHandler.insecure.enabled", false);
// -------------------------------------
// Pref : Disable about:addons Recommendations pane (uses Google Analytics)
// https://bugzilla.mozilla.org/show_bug.cgi?id=1620438
// https://hg.mozilla.org/mozilla-central/rev/03da091fad18
user_pref("extensions.webservice.discoverURL", "");
// -------------------------------------
// Pref : Disable about:logins (Firefox Lockwise)
// https://bugzilla.mozilla.org/show_bug.cgi?id=1569253
// https://hg.mozilla.org/mozilla-central/rev/fbd06f30bb6d
user_pref("signon.management.overrideURI", "");
// -------------------------------------
// FF78+
// -------------------------------------