Update 'user.js'

This commit is contained in:
Narsil 2022-05-12 08:52:32 +00:00
parent 32da008174
commit b71da7b47e
1 changed files with 11 additions and 6 deletions

17
user.js
View File

@ -657,6 +657,9 @@ user_pref("browser.download.alwaysOpenPanel", false);
// ------------------------------------- // -------------------------------------
// Disable adding downloads to the system's "recent documents" list // Disable adding downloads to the system's "recent documents" list
user_pref("browser.download.manager.addToRecentDocs", false); user_pref("browser.download.manager.addToRecentDocs", false);
// -------------------------------------
// Enable user interaction for security by always asking how to handle new mimetypes [FF101+]
user_pref("browser.download.always_ask_before_handling_new_types", true);
// //
// EXTENSIONS // EXTENSIONS
// //
@ -977,12 +980,6 @@ user_pref("security.ssl3.rsa_aes_256_sha", false); // no PFS
// user_pref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2] // user_pref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2]
// user_pref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2] // user_pref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2]
// ------------------------------------- // -------------------------------------
// Disable HTTP2
// user_pref("network.http.spdy.enabled", false);
// user_pref("network.http.spdy.enabled.deps", false);
// user_pref("network.http.spdy.enabled.http2", false);
// user_pref("network.http.spdy.websockets", false); // [FF65+]
// -------------------------------------
// Disable HTTP Alternative Services [FF37+] // Disable HTTP Alternative Services [FF37+]
// user_pref("network.http.altsvc.enabled", false); // user_pref("network.http.altsvc.enabled", false);
// user_pref("network.http.altsvc.oe", false); // [DEFAULT: false FF94+] // user_pref("network.http.altsvc.oe", false); // [DEFAULT: false FF94+]
@ -1008,6 +1005,7 @@ user_pref("extensions.systemAddon.update.url", ""); // [FF44+]
user_pref("network.cookie.cookieBehavior", 5); user_pref("network.cookie.cookieBehavior", 5);
user_pref("privacy.partition.network_state.ocsp_cache", true); user_pref("privacy.partition.network_state.ocsp_cache", true);
user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true); user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true);
user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); // [FF100+]
user_pref("privacy.trackingprotection.enabled", true); user_pref("privacy.trackingprotection.enabled", true);
user_pref("privacy.trackingprotection.socialtracking.enabled", true); user_pref("privacy.trackingprotection.socialtracking.enabled", true);
user_pref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true] user_pref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true]
@ -1199,6 +1197,13 @@ user_pref("app.update.background.scheduling.enabled", false);
// Enforce CSP (Content Security Policy) // Enforce CSP (Content Security Policy)
user_pref("security.csp.enable", true); // [DEFAULT: true] user_pref("security.csp.enable", true); // [DEFAULT: true]
// ------------------------------------- // -------------------------------------
// FF100
// Disable HTTP2 - replaced by network.http.http2* prefs
// user_pref("network.http.spdy.enabled", false);
// user_pref("network.http.spdy.enabled.deps", false);
// user_pref("network.http.spdy.enabled.http2", false);
// user_pref("network.http.spdy.websockets", false); // [FF65+]
// -------------------------------------
// Test user.js in about:config // Test user.js in about:config
user_pref("_config.applied", true); user_pref("_config.applied", true);
// //