Update 'config/mozilla.cfg'

This commit is contained in:
Narsil 2022-07-06 15:32:36 +00:00
parent 0f46b2298b
commit fbad6764d4
1 changed files with 29 additions and 21 deletions

View File

@ -662,16 +662,7 @@ lockPref("privacy.partition.serviceWorkers", true);
// SHUTDOWN & SANITIZING
// >>>>>>>>>>>>>>>>>>>>>
//
// COOKIES + SITE DATA : ALLOWS EXCEPTIONS
//
// Delete cookies and site data on exit
// 0=keep until they expire (default), 2=keep until you close Firefox
defaultPref("network.cookie.lifetimePolicy", 2);
// -------------------------------------
// Delete cache on exit [FF96+]
// lockPref("privacy.clearsitedata.cache.enabled", true);
//
// SANITIZE ON SHUTDOWN : ALL OR NOTHING
// SANITIZE ON SHUTDOWN : ALLOWS COOKIES + SITE DATA EXCEPTIONS FF102+
//
// Enable Firefox to clear items on shutdown
defaultPref("privacy.sanitize.sanitizeOnShutdown", true);
@ -682,11 +673,16 @@ defaultPref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true]
defaultPref("privacy.clearOnShutdown.formdata", true); // [DEFAULT: true]
defaultPref("privacy.clearOnShutdown.history", true); // [DEFAULT: true]
defaultPref("privacy.clearOnShutdown.sessions", true); // [DEFAULT: true]
defaultPref("privacy.clearOnShutdown.offlineApps", true); // [DEFAULT: false]
defaultPref("privacy.clearOnShutdown.offlineApps", true);
defaultPref("privacy.clearOnShutdown.cookies", true);
// defaultPref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false]
// -------------------------------------
// Reset default items to clear with Ctrl-Shift-Del [SETUP-CHROME]
// // Delete cache on exit [FF96+]
// defaultPref("privacy.clearsitedata.cache.enabled", true);
//
// SANITIZE MANUAL: ALL OR NOTHING
//
// Reset default items to clear with Ctrl-Shift-Del
defaultPref("privacy.cpd.cache", true); // [DEFAULT: true]
defaultPref("privacy.cpd.formdata", true); // Form & Search History
defaultPref("privacy.cpd.history", true); // Browsing & Download History
@ -769,7 +765,7 @@ defaultPref("webgl.disabled", true);
// lockPref("permissions.memory_only", true); // [HIDDEN PREF]
// -------------------------------------
// Disable intermediate certificate caching [FF41+] [RESTART]
// lockPref("security.nocertdb", true); // [HIDDEN PREF]
// lockPref("security.nocertdb", true); // [HIDDEN PREF in FF101 or lower]
// -------------------------------------
// Disable favicons in history and bookmarks
defaultPref("browser.chrome.site_icons", false);
@ -861,9 +857,6 @@ lockPref("network.http.referer.spoofSource", true); // [DEFAULT: false]
// Enforce a security delay on some confirmation dialogs such as install, open/save
lockPref("security.dialog_enable_delay", 1000); // [DEFAULT: 1000]
// -------------------------------------
// Enforce Local Storage Next Generation (LSNG) [FF65+]
lockPref("dom.storage.next_gen", true); // [DEFAULT: true FF92+]
// -------------------------------------
// Enforce no First Party Isolation [FF51+]
defaultPref("privacy.firstparty.isolate", false); // [DEFAULT: false]
// -------------------------------------
@ -926,7 +919,7 @@ lockPref("security.ssl3.rsa_aes_256_sha", false); // no PFS
// lockPref("security.tls.version.max", 4);
// -------------------------------------
// Disable SSL session IDs [FF36+]
// lockPref("security.ssl.disable_session_identifiers", true); // [HIDDEN PREF]
// lockPref("security.ssl.disable_session_identifiers", true); // [HIDDEN PREF in FF101 or lower]
// -------------------------------------
// Onions
// lockPref("dom.securecontext.allowlist_onions", true);
@ -1133,23 +1126,38 @@ lockPref("security.ssl3.rsa_des_ede3_sha", false); // 3DES
// FF95
// Disable location bar contextual suggestions [FF92+]
defaultPref("browser.urlbar.suggest.quicksuggest", false);
//
// -------------------------------------
// FF96
// Disable auto-INSTALLING Firefox updates via a background service [FF90+] [WINDOWS]
defaultPref("app.update.background.scheduling.enabled", false);
//
// -------------------------------------
// FF97
// Onions - replaced by new "allowlist"
// lockPref("dom.securecontext.whitelist_onions", true);
//
// -------------------------------------
// FF99
// Enforce CSP (Content Security Policy)
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+]
// -------------------------------------
// FF102
// Set when Firefox should prompt for the primary password
// 0=once per session (default), 1=every time it's needed, 2=after n minutes
defaultPref("security.ask_for_password", 2);
// -------------------------------------
// Set how long in minutes Firefox should remember the primary password
defaultPref("security.password_lifetime", 5); // [DEFAULT: 30]
// -------------------------------------
// Delete cookies and site data on exit - replaced by sanitizeOnShutdown*
// 0=keep until they expire (default), 2=keep until you close Firefox
defaultPref("network.cookie.lifetimePolicy", 2);
// -------------------------------------
// Enforce Local Storage Next Generation (LSNG) [FF65+]
defaultPref("dom.storage.next_gen", true); // [DEFAULT: true FF92+]
//