Update 'user.js'

This commit is contained in:
Narsil 2022-07-06 15:27:50 +00:00
parent 1ba9252d6f
commit 2290dd145f
1 changed files with 30 additions and 22 deletions

52
user.js
View File

@ -655,16 +655,7 @@ user_pref("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
user_pref("network.cookie.lifetimePolicy", 2);
// -------------------------------------
// Delete cache on exit [FF96+]
// user_pref("privacy.clearsitedata.cache.enabled", true);
//
// SANITIZE ON SHUTDOWN : ALL OR NOTHING
// SANITIZE ON SHUTDOWN : ALL OR NOTHING + SITE DATA EXCEPTIONS FF102+
//
// Enable Firefox to clear items on shutdown
user_pref("privacy.sanitize.sanitizeOnShutdown", true);
@ -675,11 +666,16 @@ user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.sessions", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.offlineApps", true); // [DEFAULT: false]
user_pref("privacy.clearOnShutdown.offlineApps", true);
user_pref("privacy.clearOnShutdown.cookies", true);
// user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false]
// -------------------------------------
// Reset default items to clear with Ctrl-Shift-Del [SETUP-CHROME]
// Delete cache on exit [FF96+]
// user_pref("privacy.clearsitedata.cache.enabled", true);
//
// SANITIZE MANUAL: ALL OR NOTHING
//
// Reset default items to clear with Ctrl-Shift-Del
user_pref("privacy.cpd.cache", true); // [DEFAULT: true]
user_pref("privacy.cpd.formdata", true); // Form & Search History
user_pref("privacy.cpd.history", true); // Browsing & Download History
@ -762,7 +758,7 @@ user_pref("webgl.disabled", true);
// user_pref("permissions.memory_only", true); // [HIDDEN PREF]
// -------------------------------------
// Disable intermediate certificate caching [FF41+] [RESTART]
// user_pref("security.nocertdb", true); // [HIDDEN PREF]
// user_pref("security.nocertdb", true); // [HIDDEN PREF in FF101 or lower]
// -------------------------------------
// Disable favicons in history and bookmarks
user_pref("browser.chrome.site_icons", false);
@ -854,9 +850,6 @@ user_pref("network.http.referer.spoofSource", true); // [DEFAULT: false]
// Enforce a security delay on some confirmation dialogs such as install, open/save
user_pref("security.dialog_enable_delay", 1000); // [DEFAULT: 1000]
// -------------------------------------
// Enforce Local Storage Next Generation (LSNG) [FF65+]
user_pref("dom.storage.next_gen", true); // [DEFAULT: true FF92+]
// -------------------------------------
// Enforce no First Party Isolation [FF51+]
user_pref("privacy.firstparty.isolate", false); // [DEFAULT: false]
// -------------------------------------
@ -919,7 +912,7 @@ user_pref("security.ssl3.rsa_aes_256_sha", false); // no PFS
// user_pref("security.tls.version.max", 4);
// -------------------------------------
// Disable SSL session IDs [FF36+]
// user_pref("security.ssl.disable_session_identifiers", true); // [HIDDEN PREF]
// user_pref("security.ssl.disable_session_identifiers", true); // [HIDDEN PREF in FF101 or lower]
// -------------------------------------
// Onions
// user_pref("dom.securecontext.allowlist_onions", true);
@ -1126,23 +1119,38 @@ user_pref("security.ssl3.rsa_des_ede3_sha", false); // 3DES
// FF95
// Disable location bar contextual suggestions [FF92+]
user_pref("browser.urlbar.suggest.quicksuggest", false);
//
// -------------------------------------
// FF96
// Disable auto-INSTALLING Firefox updates via a background service [FF90+] [WINDOWS]
user_pref("app.update.background.scheduling.enabled", false);
//
// -------------------------------------
// FF97
// Onions - replaced by new "allowlist"
// user_pref("dom.securecontext.whitelist_onions", true);
//
// -------------------------------------
// FF99
// Enforce CSP (Content Security Policy)
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+]
//
// -------------------------------------
// 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
user_pref("security.ask_for_password", 2);
// -------------------------------------
// Set how long in minutes Firefox should remember the primary password
user_pref("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
user_pref("network.cookie.lifetimePolicy", 2);
// -------------------------------------
// Enforce Local Storage Next Generation (LSNG) [FF65+]
user_pref("dom.storage.next_gen", true); // [DEFAULT: true FF92+]
//