From 756e989195ddaf1f2269dea4742ca1149541d151 Mon Sep 17 00:00:00 2001 From: Narsil Date: Thu, 18 Aug 2022 10:54:53 +0000 Subject: [PATCH] Update 'config/mozilla.cfg' --- config/mozilla.cfg | 65 +++++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 29 deletions(-) diff --git a/config/mozilla.cfg b/config/mozilla.cfg index 86e6505..79e6118 100644 --- a/config/mozilla.cfg +++ b/config/mozilla.cfg @@ -76,7 +76,7 @@ lockPref("geo.provider.ms-windows-location", false); // [WINDOWS] lockPref("geo.provider.use_corelocation", false); // [MAC] lockPref("geo.provider.use_gpsd", false); // [LINUX] lockPref("geo.provider.geoclue.always_high_accuracy", false); // [LINUX] -lockPref("geo.provider.use_geoclue", false); // [LINUX] +lockPref("geo.provider.use_geoclue", false); // [FF102+] [LINUX] // ------------------------------------- // Disable region updates lockPref("browser.region.network.url", ""); // [FF78+] @@ -327,7 +327,7 @@ lockPref("browser.urlbar.speculativeConnect.enabled", false); // ------------------------------------- // Disable location bar leaking single words to a DNS provider **after searching** [FF78+] // 0=never resolve single words, 1=heuristic (default), 2=always resolve -lockPref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0); +lockPref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0); // [DEFAULT: 0 FF104+] // ------------------------------------- // Disable location bar contextual suggestions [FF92+] defaultPref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] @@ -541,14 +541,6 @@ defaultPref("media.gmp-widevinecdm.enabled", false); // Disable all DRM content (EME: Encryption Media Extension) defaultPref("media.eme.enabled", false); defaultPref("browser.eme.ui.enabled", false); -// ------------------------------------- -// Disable autoplay of HTML5 media [FF63+] -// 0=Allow all, 1=Block non-muted media (default), 5=Block all -// lockPref("media.autoplay.default", 5); -// ------------------------------------- -// Disable autoplay of HTML5 media if you interacted with the site [FF78+] -// 0=sticky (default), 1=transient, 2=user -defaultPref("media.autoplay.blocking_policy", 2); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // DOM (DOCUMENT OBJECT MODEL) @@ -664,30 +656,32 @@ 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+] -// defaultPref("privacy.clearsitedata.cache.enabled", true); -// -// SANITIZE ON SHUTDOWN : ALL OR NOTHING // Enable Firefox to clear items on shutdown defaultPref("privacy.sanitize.sanitizeOnShutdown", true); -// ------------------------------------- +// +// SANITIZE ON SHUTDOWN: IGNORES "ALLOW" SITE EXCEPTIONS +// // Set/enforce what items to clear on shutdown [SETUP-CHROME] defaultPref("privacy.clearOnShutdown.cache", true); 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.cookies", true); // defaultPref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false] +// ------------------------------------- +// Set Session Restore to clear on shutdown [FF34+] +// defaultPref("privacy.clearOnShutdown.openWindows", true); // -// SANITIZE MANUAL: ALL OR NOTHING +// SANITIZE ON SHUTDOWN: RESPECTS "ALLOW" SITE EXCEPTIONS FF103+ +// +// Set "Cookies" and "Site Data" to clear on shutdown +defaultPref("privacy.clearOnShutdown.cookies", true); // Cookies +defaultPref("privacy.clearOnShutdown.offlineApps", true); // Site Data +// ------------------------------------- +// Set cache to clear on exit [FF96+] +// defaultPref("privacy.clearsitedata.cache.enabled", true); +// +// SANITIZE MANUAL: IGNORES "ALLOW" SITE EXCEPTIONS // // Reset default items to clear with Ctrl-Shift-Del defaultPref("privacy.cpd.cache", true); // [DEFAULT: true] @@ -698,6 +692,7 @@ defaultPref("privacy.cpd.sessions", true); // [DEFAULT: true] defaultPref("privacy.cpd.offlineApps", true); // [DEFAULT: false] defaultPref("privacy.cpd.cookies", true); // defaultPref("privacy.cpd.downloads", true); // not used +// defaultPref("privacy.cpd.openWindows", false); // Session Restore // defaultPref("privacy.cpd.passwords", false); // defaultPref("privacy.cpd.siteSettings", false); // ------------------------------------- @@ -738,7 +733,7 @@ lockPref("privacy.resistFingerprinting.block_mozAddonManager", true); // [HIDDEN lockPref("browser.startup.blankWindow", false); // ------------------------------------- // Disable using system colors -lockPref("browser.display.use_system_colors", false); // [DEFAULT false NON-WINDOWS] +lockPref("browser.display.use_system_colors", false); // [DEFAULT: false NON-WINDOWS] // ------------------------------------- // Enforce non-native widget theme lockPref("widget.non-native-theme.enabled", true); // [DEFAULT: true] @@ -876,9 +871,6 @@ lockPref("security.tls.version.enable-deprecated", false); // [DEFAULT: false] // Enforce disabling of Web Compatibility Reporter [FF56+] lockPref("extensions.webcompat-reporter.enabled", false); // [DEFAULT: false] // ------------------------------------- -// Disable SHA-1 certificates -lockPref("security.pki.sha1_enforcement_level", 1); // [DEFAULT: 1 FF102+] -// ------------------------------------- // PrefsCleaner: prefsCleaner: reset items removed from arkenfox FF92+ // lockPref("browser.urlbar.trimURLs", ""); // lockPref("dom.caches.enabled", ""); @@ -963,7 +955,7 @@ defaultPref("extensions.systemAddon.update.url", ""); // [FF44+] // lockPref("privacy.donottrackheader.enabled", true); // ------------------------------------- // Customize ETP settings -lockPref("network.cookie.cookieBehavior", 5); +lockPref("network.cookie.cookieBehavior", 5); // [DEFAULT: 5 FF103+] // lockPref("privacy.partition.network_state.ocsp_cache", true); // lockPref("privacy.query_stripping.enabled", true); // [FF101+] [ETP FF102+] lockPref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oft_c oft_ck oft_d oft_id oft_ids oft_k oft_lk oft_sk oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid"); @@ -1078,6 +1070,13 @@ defaultPref("accessibility.typeaheadfind", false); // enable "Find As You Type" defaultPref("clipboard.autocopy", false); // disable autocopy default [LINUX] defaultPref("layout.spellcheckDefault", 0); // 0=none, 1-multi-line, 2=multi-line & single-line // +// HTML5 MEDIA AUTOPLAY +// +// defaultPref("media.autoplay.default", 5); // [FF63+] +// 0=Allow all, 1=Block non-muted media (default), 5=Block all +// defaultPref("media.autoplay.blocking_policy", 2); // disable autoplay if you interacted with the site [FF78+] +// 0=sticky (default), 1=transient, 2=user +// // UX BEHAVIOR // // lockPref("browser.backspace_action", 2); // 0=previous page, 1=scroll up, 2=do nothing @@ -1163,4 +1162,12 @@ defaultPref("security.password_lifetime", 5); // [DEFAULT: 30] // ------------------------------------- // Enforce Local Storage Next Generation (LSNG) [FF65+] defaultPref("dom.storage.next_gen", true); // [DEFAULT: true FF92+] +// ------------------------------------- +// FF103 +// 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); +// ------------------------------------- +// Disable SHA-1 certificates +defaultPref("security.pki.sha1_enforcement_level", 1); // [DEFAULT: 1 FF102+] // \ No newline at end of file