Update 'config/mozilla.cfg'

This commit is contained in:
Narsil 2022-05-12 09:02:42 +00:00
parent b55d29a98f
commit 8f6c07bd34
1 changed files with 11 additions and 6 deletions

View File

@ -636,6 +636,9 @@ lockPref("browser.download.alwaysOpenPanel", false);
// ------------------------------------- // -------------------------------------
// Disable adding downloads to the system's "recent documents" list // Disable adding downloads to the system's "recent documents" list
lockPref("browser.download.manager.addToRecentDocs", false); lockPref("browser.download.manager.addToRecentDocs", false);
// -------------------------------------
// Enable user interaction for security by always asking how to handle new mimetypes [FF101+]
lockPref("browser.download.always_ask_before_handling_new_types", true);
// //
// EXTENSIONS // EXTENSIONS
// //
@ -956,12 +959,6 @@ lockPref("security.ssl3.rsa_aes_256_sha", false); // no PFS
// lockPref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2] // lockPref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2]
// lockPref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2] // lockPref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2]
// ------------------------------------- // -------------------------------------
// Disable HTTP2
// lockPref("network.http.spdy.enabled", false);
// lockPref("network.http.spdy.enabled.deps", false);
// lockPref("network.http.spdy.enabled.http2", false);
// lockPref("network.http.spdy.websockets", false); // [FF65+]
// -------------------------------------
// Disable HTTP Alternative Services [FF37+] // Disable HTTP Alternative Services [FF37+]
// lockPref("network.http.altsvc.enabled", false); // lockPref("network.http.altsvc.enabled", false);
// lockPref("network.http.altsvc.oe", false); // [DEFAULT: false FF94+] // lockPref("network.http.altsvc.oe", false); // [DEFAULT: false FF94+]
@ -987,6 +984,7 @@ lockPref("extensions.systemAddon.update.url", ""); // [FF44+]
lockPref("network.cookie.cookieBehavior", 5); lockPref("network.cookie.cookieBehavior", 5);
lockPref("privacy.partition.network_state.ocsp_cache", true); lockPref("privacy.partition.network_state.ocsp_cache", true);
lockPref("network.http.referer.disallowCrossSiteRelaxingDefault", true); lockPref("network.http.referer.disallowCrossSiteRelaxingDefault", true);
lockPref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); // [FF100+]
lockPref("privacy.trackingprotection.enabled", true); lockPref("privacy.trackingprotection.enabled", true);
lockPref("privacy.trackingprotection.socialtracking.enabled", true); lockPref("privacy.trackingprotection.socialtracking.enabled", true);
lockPref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true] lockPref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true]
@ -1164,3 +1162,10 @@ lockPref("app.update.background.scheduling.enabled", false);
// Enforce CSP (Content Security Policy) // Enforce CSP (Content Security Policy)
lockPref("security.csp.enable", true); // [DEFAULT: true] lockPref("security.csp.enable", true); // [DEFAULT: true]
// //
// FF100
// Disable HTTP2
// lockPref("network.http.spdy.enabled", false);
// lockPref("network.http.spdy.enabled.deps", false);
// lockPref("network.http.spdy.enabled.http2", false);
// lockPref("network.http.spdy.websockets", false); // [FF65+]
//