Update 'user.js'

This commit is contained in:
Narsil 2021-11-22 22:21:49 +00:00
parent 4ef9403eb5
commit 1983bd62ad
1 changed files with 19 additions and 11 deletions

30
user.js
View File

@ -574,7 +574,7 @@ user_pref("privacy.userContext.ui.enabled", true);
// Disable WebRTC (Web Real-Time Communication) // Disable WebRTC (Web Real-Time Communication)
user_pref("media.peerconnection.enabled", false); user_pref("media.peerconnection.enabled", false);
// ------------------------------------- // -------------------------------------
// Limit WebRTC IP leaks if using WebRTC // Limit WebRTC private network address leaks
user_pref("media.peerconnection.ice.default_address_only", true); user_pref("media.peerconnection.ice.default_address_only", true);
user_pref("media.peerconnection.ice.no_host", true); // [FF51+] user_pref("media.peerconnection.ice.no_host", true); // [FF51+]
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true); // [FF70+] user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true); // [FF70+]
@ -715,13 +715,6 @@ user_pref("extensions.postDownloadThirdPartyPrompt", false);
user_pref("network.cookie.cookieBehavior", 1); user_pref("network.cookie.cookieBehavior", 1);
user_pref("browser.contentblocking.category", "custom"); user_pref("browser.contentblocking.category", "custom");
// ------------------------------------- // -------------------------------------
// Set third-party cookies (if enabled, see 2701) to session-only
user_pref("network.cookie.thirdparty.sessionOnly", true);
user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true); // [FF58+]
// -------------------------------------
// Delete cookies and site data on close
user_pref("network.cookie.lifetimePolicy", 2);
// -------------------------------------
// Enable Enhanced Tracking Protection (ETP) in all windows // Enable Enhanced Tracking Protection (ETP) in all windows
user_pref("privacy.trackingprotection.enabled", false); user_pref("privacy.trackingprotection.enabled", false);
user_pref("privacy.trackingprotection.origin_telemetry.enabled", false); user_pref("privacy.trackingprotection.origin_telemetry.enabled", false);
@ -747,30 +740,45 @@ user_pref("privacy.socialtracking.block_cookies.enabled", false);
user_pref("dom.storage.next_gen", true); // [DEFAULT: true FF92+] user_pref("dom.storage.next_gen", true); // [DEFAULT: true FF92+]
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// SHUTDOWN // 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);
// -------------------------------------
// Set third-party cookies to session-only
user_pref("network.cookie.thirdparty.sessionOnly", true);
user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true); // [FF58+]
//
// SANITIZE ON SHUTDOWN : ALL OR NOTHING
//
// Enable Firefox to clear items on shutdown // Enable Firefox to clear items on shutdown
user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.sanitize.sanitizeOnShutdown", true);
// ------------------------------------- // -------------------------------------
// Set/enforce what items to clear on shutdown [SETUP-CHROME] // Set/enforce what items to clear on shutdown [SETUP-CHROME]
user_pref("privacy.clearOnShutdown.cache", true); user_pref("privacy.clearOnShutdown.cache", true);
user_pref("privacy.clearOnShutdown.cookies", true);
user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.sessions", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.sessions", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.cookies", true);
user_pref("privacy.clearOnShutdown.offlineApps", true); user_pref("privacy.clearOnShutdown.offlineApps", true);
// user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false] Site Preferences // user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false] Site Preferences
// ------------------------------------- // -------------------------------------
// Reset default items to clear with Ctrl-Shift-Del [SETUP-CHROME] // Reset default items to clear with Ctrl-Shift-Del [SETUP-CHROME]
user_pref("privacy.cpd.cache", true); // [DEFAULT: true] user_pref("privacy.cpd.cache", true); // [DEFAULT: true]
user_pref("privacy.cpd.cookies", true); // [DEFAULT: true]
user_pref("privacy.cpd.formdata", true); // Form & Search History user_pref("privacy.cpd.formdata", true); // Form & Search History
user_pref("privacy.cpd.history", true); // Browsing & Download History user_pref("privacy.cpd.history", true); // Browsing & Download History
user_pref("privacy.cpd.offlineApps", true); // Offline Website Data user_pref("privacy.cpd.offlineApps", true); // Offline Website Data
user_pref("privacy.cpd.sessions", true); // [DEFAULT: true] user_pref("privacy.cpd.sessions", true); // [DEFAULT: true]
user_pref("privacy.cpd.cookies", false);
user_pref("privacy.cpd.offlineApps", true); user_pref("privacy.cpd.offlineApps", true);
// user_pref("privacy.cpd.downloads", true); // not used // user_pref("privacy.cpd.downloads", true); // not used
// user_pref("privacy.cpd.passwords", false); // [DEFAULT: false] // user_pref("privacy.cpd.passwords", false); // [DEFAULT: false]