Upload files to 'config'

This commit is contained in:
Narsil 2022-06-20 08:50:52 +00:00
parent f3b5c401e8
commit cf4a8f067e
1 changed files with 86 additions and 80 deletions

View File

@ -1,18 +1,18 @@
// ********************************************************************************** // **********************************************************************************
// user.js | Firefox desktop // user.js | Firefox desktop
// https://git.nixnet.services/Narsil/mozilla.cfg // https://git.nixnet.services/Narsil/desktop_user.js
// ********************************************************************************** // **********************************************************************************
// //
// Author : Narsil : https://git.nixnet.services/Narsil // Author : Narsil : https://git.nixnet.services/Narsil
// //
// Based on : arkenfox : https://github.com/arkenfox/user.js // Based on : arkenfox : https://github.com/arkenfox/user.js
// //
// License : https://git.nixnet.services/Narsil/mozilla.cfg/raw/branch/master/LICENSE.txt // License : https://git.nixnet.services/Narsil/mozilla.cfg/raw/branch/master/LICENSE
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// PROTECTION // PROTECTION
// >>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>
// Locking mozilla.cfg file itself // Pref : Locking mozilla.cfg file itself
lockPref("general.config.filename", "mozilla.cfg"); lockPref("general.config.filename", "mozilla.cfg");
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@ -68,7 +68,7 @@ lockPref("browser.topsites.useRemoteSetting", false);
// >>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>
// //
// Use Mozilla geolocation service instead of Google if permission is granted [FF74+] // Use Mozilla geolocation service instead of Google if permission is granted [FF74+]
defaultPref("geo.provider.network.url", ""); lockPref("geo.provider.network.url", "");
// lockPref("geo.provider.network.logging.enabled", true); // [HIDDEN PREF] // lockPref("geo.provider.network.logging.enabled", true); // [HIDDEN PREF]
// ------------------------------------- // -------------------------------------
// Disable using the OS's geolocation service // Disable using the OS's geolocation service
@ -81,13 +81,13 @@ lockPref("browser.region.network.url", ""); // [FF78+]
lockPref("browser.region.update.enabled", false); // [FF79+] lockPref("browser.region.update.enabled", false); // [FF79+]
// ------------------------------------- // -------------------------------------
// Set search region // Set search region
defaultPref("browser.search.region", "US"); // [HIDDEN PREF] lockPref("browser.search.region", "US"); // [HIDDEN PREF]
// ------------------------------------- // -------------------------------------
// Set preferred language for displaying pages // Set preferred language for displaying pages
defaultPref("intl.accept_languages", "en-US, en"); defaultPref("intl.accept_languages", "en-US, en");
// ------------------------------------- // -------------------------------------
// Use en-US locale regardless of the system or region locale // Use en-US locale regardless of the system or region locale
defaultPref("javascript.use_us_english_locale", true); // [HIDDEN PREF] lockPref("javascript.use_us_english_locale", true); // [HIDDEN PREF]
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// QUIETER FOX // QUIETER FOX
@ -179,10 +179,6 @@ lockPref("browser.contentblocking.report.endpoint_url", "");
lockPref("browser.contentblocking.report.monitor.home_page_url", ""); lockPref("browser.contentblocking.report.monitor.home_page_url", "");
lockPref("browser.contentblocking.report.monitor.preferences_url", ""); lockPref("browser.contentblocking.report.monitor.preferences_url", "");
lockPref("browser.contentblocking.report.vpn.enabled", false); lockPref("browser.contentblocking.report.vpn.enabled", false);
lockPref("browser.contentblocking.report.hide_vpn_banner", true);
lockPref("browser.contentblocking.report.show_mobile_app", false);
lockPref("browser.vpn_promo.enabled", false);
lockPref("browser.promo.focus.enabled", false);
// ------------------------------------- // -------------------------------------
// Block unwanted connections // Block unwanted connections
lockPref("app.feedback.baseURL", ""); lockPref("app.feedback.baseURL", "");
@ -266,8 +262,8 @@ lockPref("network.dns.disablePrefetch", true);
// lockPref("network.dns.disablePrefetchFromHTTPS", true); // [DEFAULT: true] // lockPref("network.dns.disablePrefetchFromHTTPS", true); // [DEFAULT: true]
// ------------------------------------- // -------------------------------------
// Disable predictor / prefetching // Disable predictor / prefetching
defaultPref("network.predictor.enabled", false); lockPref("network.predictor.enabled", false);
defaultPref("network.predictor.enable-prefetch", false); // [FF48+] [DEFAULT: false] lockPref("network.predictor.enable-prefetch", false); // [FF48+] [DEFAULT: false]
// ------------------------------------- // -------------------------------------
// Disable link-mouseover opening connection to linked server // Disable link-mouseover opening connection to linked server
lockPref("network.http.speculative-parallel-limit", 0); lockPref("network.http.speculative-parallel-limit", 0);
@ -283,7 +279,7 @@ lockPref("browser.places.speculativeConnect.enabled", false);
// >>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>
// //
// Disable IPv6 // Disable IPv6
defaultPref("network.dns.disableIPv6", true); lockPref("network.dns.disableIPv6", true);
// ------------------------------------- // -------------------------------------
// Set the proxy server to do any DNS lookups when using SOCKS // Set the proxy server to do any DNS lookups when using SOCKS
lockPref("network.proxy.socks_remote_dns", true); lockPref("network.proxy.socks_remote_dns", true);
@ -315,10 +311,13 @@ defaultPref("network.trr.confirmationNS", "");
// Disable location bar domain guessing // Disable location bar domain guessing
lockPref("browser.fixup.alternate.enabled", false); lockPref("browser.fixup.alternate.enabled", false);
// ------------------------------------- // -------------------------------------
// Display all parts of the url in the location bar
lockPref("browser.urlbar.trimURLs", false);
// -------------------------------------
// Disable live search suggestions // Disable live search suggestions
defaultPref("browser.search.suggest.enabled", false); lockPref("browser.search.suggest.enabled", false);
defaultPref("browser.urlbar.suggest.searches", false); lockPref("browser.urlbar.suggest.searches", false);
defaultPref("browser.urlbar.showSearchSuggestionsFirst", false); lockPref("browser.urlbar.showSearchSuggestionsFirst", false);
// ------------------------------------- // -------------------------------------
// Disable location bar making speculative connections [FF56+] // Disable location bar making speculative connections [FF56+]
lockPref("browser.urlbar.speculativeConnect.enabled", false); lockPref("browser.urlbar.speculativeConnect.enabled", false);
@ -328,11 +327,11 @@ lockPref("browser.urlbar.speculativeConnect.enabled", false);
lockPref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0); lockPref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0);
// ------------------------------------- // -------------------------------------
// Disable location bar contextual suggestions [FF92+] // Disable location bar contextual suggestions [FF92+]
defaultPref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] lockPref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+]
defaultPref("browser.urlbar.suggest.quicksuggest.sponsored", false); lockPref("browser.urlbar.suggest.quicksuggest.sponsored", false);
// ------------------------------------- // -------------------------------------
// Disable tab-to-search [FF85+] // Disable tab-to-search [FF85+]
defaultPref("browser.urlbar.suggest.engines", false); lockPref("browser.urlbar.suggest.engines", false);
// ------------------------------------- // -------------------------------------
// Disable search and form history // Disable search and form history
defaultPref("browser.formfill.enable", false); defaultPref("browser.formfill.enable", false);
@ -424,6 +423,13 @@ defaultPref("security.OCSP.require", false);
// //
// CERTS / HPKP (HTTP Public Key Pinning) // CERTS / HPKP (HTTP Public Key Pinning)
// //
// Disable or limit SHA-1 certificates
// 0 = allow all
// 1 = block all
// 3 = only allow locally-added roots (e.g. anti-virus) (default)
// 4 = only allow locally-added roots or for certs in 2015 and earlier
defaultPref("security.pki.sha1_enforcement_level", 1);
// -------------------------------------
// Disable Windows 8.1's Microsoft Family Safety cert [FF50+] [WINDOWS] // Disable Windows 8.1's Microsoft Family Safety cert [FF50+] [WINDOWS]
// 0=disable detecting Family Safety mode and importing the root // 0=disable detecting Family Safety mode and importing the root
// 1=only attempt to detect Family Safety mode (don't import the root) // 1=only attempt to detect Family Safety mode (don't import the root)
@ -432,7 +438,7 @@ lockPref("security.family_safety.mode", 0);
// ------------------------------------- // -------------------------------------
// Enable strict pinning // Enable strict pinning
// PKP (Public Key Pinning) 0=disabled, 1=allow user MiTM (such as your antivirus), 2=strict // PKP (Public Key Pinning) 0=disabled, 1=allow user MiTM (such as your antivirus), 2=strict
defaultPref("security.cert_pinning.enforcement_level", 2); lockPref("security.cert_pinning.enforcement_level", 2);
// ------------------------------------- // -------------------------------------
// Disable CRLite [FF73+] // Disable CRLite [FF73+]
// 0 = disabled // 0 = disabled
@ -455,7 +461,7 @@ defaultPref("security.pki.crlite_mode", 0);
lockPref("security.mixed_content.block_display_content", true); lockPref("security.mixed_content.block_display_content", true);
// ------------------------------------- // -------------------------------------
// Enable HTTPS-Only mode in all windows [FF76+] // Enable HTTPS-Only mode in all windows [FF76+]
defaultPref("dom.security.https_only_mode", true); // [FF76+] lockPref("dom.security.https_only_mode", true); // [FF76+]
// lockPref("dom.security.https_only_mode_pbm", true); // [FF80+] // lockPref("dom.security.https_only_mode_pbm", true); // [FF80+]
// ------------------------------------- // -------------------------------------
// Enable HTTPS-Only mode for local resources [FF77+] // Enable HTTPS-Only mode for local resources [FF77+]
@ -481,7 +487,7 @@ lockPref("browser.xul.error_pages.expert_bad_cert", true);
// >>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>
// //
// Disable rendering of SVG OpenType fonts // Disable rendering of SVG OpenType fonts
defaultPref("gfx.font_rendering.opentype_svg.enabled", false); lockPref("gfx.font_rendering.opentype_svg.enabled", false);
// ------------------------------------- // -------------------------------------
// Limit font visibility (Windows, Mac, some Linux) [FF94+] // Limit font visibility (Windows, Mac, some Linux) [FF94+]
// 1=only base system fonts, 2=also fonts from optional language packs, 3=also user-installed fonts // 1=only base system fonts, 2=also fonts from optional language packs, 3=also user-installed fonts
@ -619,16 +625,13 @@ lockPref("permissions.delegation.enabled", false);
// DOWNLOADS // DOWNLOADS
// //
// Enable user interaction for security by always asking where to download // Enable user interaction for security by always asking where to download
defaultPref("browser.download.useDownloadDir", false); lockPref("browser.download.useDownloadDir", false);
// ------------------------------------- // -------------------------------------
// Disable downloads panel opening on every download [FF96+] // Disable downloads panel opening on every download [FF96+]
lockPref("browser.download.alwaysOpenPanel", false); 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
// //
@ -643,7 +646,7 @@ lockPref("extensions.postDownloadThirdPartyPrompt", false);
// lockPref("extensions.webextensions.restrictedDomains", ""); // lockPref("extensions.webextensions.restrictedDomains", "");
// ------------------------------------- // -------------------------------------
// Disable extensions suggestions // Disable extensions suggestions
defaultPref("extensions.webservice.discoverURL", ""); lockPref("extensions.webservice.discoverURL", "");
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// ETP (ENHANCED TRACKING PROTECTION) // ETP (ENHANCED TRACKING PROTECTION)
@ -670,6 +673,10 @@ defaultPref("network.cookie.lifetimePolicy", 2);
// ------------------------------------- // -------------------------------------
// Delete cache on exit [FF96+] // Delete cache on exit [FF96+]
// lockPref("privacy.clearsitedata.cache.enabled", true); // lockPref("privacy.clearsitedata.cache.enabled", true);
// -------------------------------------
// Set third-party cookies to session-only
lockPref("network.cookie.thirdparty.sessionOnly", true);
lockPref("network.cookie.thirdparty.nonsecureSessionOnly", true); // [FF58+]
// //
// SANITIZE ON SHUTDOWN : ALL OR NOTHING // SANITIZE ON SHUTDOWN : ALL OR NOTHING
// //
@ -687,16 +694,16 @@ defaultPref("privacy.clearOnShutdown.cookies", true);
// defaultPref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false] // defaultPref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false]
// ------------------------------------- // -------------------------------------
// Reset default items to clear with Ctrl-Shift-Del [SETUP-CHROME] // Reset default items to clear with Ctrl-Shift-Del [SETUP-CHROME]
defaultPref("privacy.cpd.cache", true); // [DEFAULT: true] lockPref("privacy.cpd.cache", true); // [DEFAULT: true]
defaultPref("privacy.cpd.formdata", true); // Form & Search History lockPref("privacy.cpd.formdata", true); // Form & Search History
defaultPref("privacy.cpd.history", true); // Browsing & Download History lockPref("privacy.cpd.history", true); // Browsing & Download History
defaultPref("privacy.cpd.offlineApps", true); // Offline Website Data lockPref("privacy.cpd.offlineApps", true); // Offline Website Data
defaultPref("privacy.cpd.sessions", true); // [DEFAULT: true] lockPref("privacy.cpd.sessions", true); // [DEFAULT: true]
defaultPref("privacy.cpd.offlineApps", true); // [DEFAULT: false] lockPref("privacy.cpd.offlineApps", true); // [DEFAULT: false]
defaultPref("privacy.cpd.cookies", true); lockPref("privacy.cpd.cookies", true);
// defaultPref("privacy.cpd.downloads", true); // not used // lockPref("privacy.cpd.downloads", true); // not used
// defaultPref("privacy.cpd.passwords", false); // [DEFAULT: false] not listed // lockPref("privacy.cpd.passwords", false); // [DEFAULT: false] not listed
// defaultPref("privacy.cpd.siteSettings", false); // [DEFAULT: false] // lockPref("privacy.cpd.siteSettings", false); // [DEFAULT: false]
// ------------------------------------- // -------------------------------------
// Clear Session Restore data when sanitizing on shutdown or manually [FF34+] // Clear Session Restore data when sanitizing on shutdown or manually [FF34+]
// lockPref("privacy.clearOnShutdown.openWindows", true); // lockPref("privacy.clearOnShutdown.openWindows", true);
@ -711,7 +718,7 @@ lockPref("privacy.sanitize.timeSpan", 0);
// >>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>
// //
// Enable privacy.resistFingerprinting [FF41+] // Enable privacy.resistFingerprinting [FF41+]
defaultPref("privacy.resistFingerprinting", true); lockPref("privacy.resistFingerprinting", true);
// ------------------------------------- // -------------------------------------
// Set new window size rounding max values [FF55+] // Set new window size rounding max values [FF55+]
// lockPref("privacy.window.maxInnerWidth", 1600); // lockPref("privacy.window.maxInnerWidth", 1600);
@ -749,6 +756,12 @@ lockPref("browser.link.open_newwindow.restriction", 0);
// ------------------------------------- // -------------------------------------
// Disable WebGL (Web Graphics Library) // Disable WebGL (Web Graphics Library)
defaultPref("webgl.disabled", true); defaultPref("webgl.disabled", true);
// -------------------------------------
// Enable URL query stripping
// lockPref("privacy.query_stripping.enabled", true);
// -------------------------------------
// Set the strip list for URL query stripping
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 oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid");
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// OPTIONAL OPSEC // OPTIONAL OPSEC
@ -772,7 +785,7 @@ defaultPref("webgl.disabled", true);
// lockPref("security.nocertdb", true); // [HIDDEN PREF] // lockPref("security.nocertdb", true); // [HIDDEN PREF]
// ------------------------------------- // -------------------------------------
// Disable favicons in history and bookmarks // Disable favicons in history and bookmarks
defaultPref("browser.chrome.site_icons", false); lockPref("browser.chrome.site_icons", false);
// ------------------------------------- // -------------------------------------
// Exclude "Undo Closed Tabs" in Session Restore // Exclude "Undo Closed Tabs" in Session Restore
// lockPref("browser.sessionstore.max_tabs_undo", 0); // lockPref("browser.sessionstore.max_tabs_undo", 0);
@ -820,13 +833,13 @@ lockPref("gfx.webrender.all", true);
// >>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>
// //
// Disable MathML (Mathematical Markup Language) [FF51+] // Disable MathML (Mathematical Markup Language) [FF51+]
defaultPref("mathml.disabled", true); lockPref("mathml.disabled", true);
// ------------------------------------- // -------------------------------------
// Disable in-content SVG (Scalable Vector Graphics) [FF53+] // Disable in-content SVG (Scalable Vector Graphics) [FF53+]
// lockPref("svg.disabled", true); // lockPref("svg.disabled", true);
// ------------------------------------- // -------------------------------------
// Disable graphite // Disable graphite
defaultPref("gfx.font_rendering.graphite.enabled", false); lockPref("gfx.font_rendering.graphite.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable asm.js [FF22+] // Disable asm.js [FF22+]
lockPref("javascript.options.asmjs", false); lockPref("javascript.options.asmjs", false);
@ -861,6 +874,12 @@ lockPref("network.http.referer.spoofSource", true); // [DEFAULT: false]
// Enforce a security delay on some confirmation dialogs such as install, open/save // Enforce a security delay on some confirmation dialogs such as install, open/save
lockPref("security.dialog_enable_delay", 1000); // [DEFAULT: 1000] lockPref("security.dialog_enable_delay", 1000); // [DEFAULT: 1000]
// ------------------------------------- // -------------------------------------
// Enforce window.opener protection [FF65+]
lockPref("dom.targetBlankNoOpener.enabled", true); // [DEFAULT: true]
// -------------------------------------
// Enforce "window.name" protection [FF82+]
lockPref("privacy.window.name.update.enabled", true); // [DEFAULT: true]
// -------------------------------------
// Enforce Local Storage Next Generation (LSNG) [FF65+] // Enforce Local Storage Next Generation (LSNG) [FF65+]
lockPref("dom.storage.next_gen", true); // [DEFAULT: true FF92+] lockPref("dom.storage.next_gen", true); // [DEFAULT: true FF92+]
// ------------------------------------- // -------------------------------------
@ -876,21 +895,13 @@ lockPref("security.tls.version.enable-deprecated", false); // [DEFAULT: false]
// Enforce disabling of Web Compatibility Reporter [FF56+] // Enforce disabling of Web Compatibility Reporter [FF56+]
lockPref("extensions.webcompat-reporter.enabled", false); // [DEFAULT: false] 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+ // PrefsCleaner: prefsCleaner: reset items removed from arkenfox FF92+
// lockPref("browser.urlbar.trimURLs", "");
// lockPref("dom.caches.enabled", ""); // lockPref("dom.caches.enabled", "");
// lockPref("dom.storageManager.enabled", ""); // lockPref("dom.storageManager.enabled", "");
// lockPref("dom.storage_access.enabled", ""); // lockPref("dom.storage_access.enabled", "");
// lockPref("dom.targetBlankNoOpener.enabled", "");
// lockPref("network.cookie.thirdparty.sessionOnly", "");
// lockPref("network.cookie.thirdparty.nonsecureSessionOnly", "");
// lockPref("privacy.firstparty.isolate.block_post_message", ""); // lockPref("privacy.firstparty.isolate.block_post_message", "");
// lockPref("privacy.firstparty.isolate.restrict_opener_access", ""); // lockPref("privacy.firstparty.isolate.restrict_opener_access", "");
// lockPref("privacy.firstparty.isolate.use_site", ""); // lockPref("privacy.firstparty.isolate.use_site", "");
// lockPref("privacy.window.name.update.enabled", "");
// lockPref("security.insecure_connection_text.enabled", ""); // lockPref("security.insecure_connection_text.enabled", "");
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@ -941,6 +952,12 @@ 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+]
@ -956,23 +973,20 @@ lockPref("security.ssl3.rsa_aes_256_sha", false); // no PFS
// lockPref("dom.event.clipboardevents.enabled", false); // lockPref("dom.event.clipboardevents.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable System Add-on updates // Disable System Add-on updates
defaultPref("extensions.systemAddon.update.enabled", false); // [FF62+] lockPref("extensions.systemAddon.update.enabled", false); // [FF62+]
defaultPref("extensions.systemAddon.update.url", ""); // [FF44+] lockPref("extensions.systemAddon.update.url", ""); // [FF44+]
// ------------------------------------- // -------------------------------------
// Enable the DNT (Do Not Track) HTTP header // Enable the DNT (Do Not Track) HTTP header
// lockPref("privacy.donottrackheader.enabled", true); // lockPref("privacy.donottrackheader.enabled", true);
// ------------------------------------- // -------------------------------------
// Customize ETP settings // Customize ETP settings
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("privacy.query_stripping.enabled", true); // [FF101+] [ETP FF102+] // lockPref("network.http.referer.disallowCrossSiteRelaxingDefault", true);
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 oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid"); // lockPref("privacy.trackingprotection.enabled", true);
lockPref("network.http.referer.disallowCrossSiteRelaxingDefault", true); // lockPref("privacy.trackingprotection.socialtracking.enabled", true);
lockPref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); // [FF100+] // lockPref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true]
lockPref("privacy.trackingprotection.enabled", true); // lockPref("privacy.trackingprotection.fingerprinting.enabled", true); // [DEFAULT: true]
lockPref("privacy.trackingprotection.socialtracking.enabled", true);
lockPref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true]
lockPref("privacy.trackingprotection.fingerprinting.enabled", true); // [DEFAULT: true]
// ------------------------------------- // -------------------------------------
// Allow embedded tweets and Reddit posts. Don't do it! // Allow embedded tweets and Reddit posts. Don't do it!
// lockPref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com"); // [HIDDEN PREF] // lockPref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com"); // [HIDDEN PREF]
@ -986,10 +1000,10 @@ lockPref("privacy.trackingprotection.fingerprinting.enabled", true); // [DEFAULT
// lockPref("dom.webnotifications.serviceworker.enabled", false); // [FF44+] // lockPref("dom.webnotifications.serviceworker.enabled", false); // [FF44+]
// ------------------------------------- // -------------------------------------
// Disable Push Notifications [FF44+] // Disable Push Notifications [FF44+]
defaultPref("dom.push.enabled", false); lockPref("dom.push.enabled", false);
defaultPref("dom.push.connection.enabled", false); lockPref("dom.push.connection.enabled", false);
defaultPref("dom.push.serverURL", ""); lockPref("dom.push.serverURL", "");
defaultPref("dom.push.userAgentID", ""); lockPref("dom.push.userAgentID", "");
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// DON'T BOTHER: FINGERPRINTING // DON'T BOTHER: FINGERPRINTING
@ -1052,16 +1066,16 @@ defaultPref("browser.warnOnQuit", false);
lockPref("app.update.auto", false); lockPref("app.update.auto", false);
// ------------------------------------- // -------------------------------------
// Disable auto-CHECKING for extension and theme updates // Disable auto-CHECKING for extension and theme updates
defaultPref("extensions.update.enabled", false); lockPref("extensions.update.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable auto-INSTALLING extension and theme updates // Disable auto-INSTALLING extension and theme updates
defaultPref("extensions.update.autoUpdateDefault", false); lockPref("extensions.update.autoUpdateDefault", false);
// ------------------------------------- // -------------------------------------
// Disable extension metadata // Disable extension metadata
lockPref("extensions.getAddons.cache.enabled", false); lockPref("extensions.getAddons.cache.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable search engine updates (e.g. OpenSearch) // Disable search engine updates (e.g. OpenSearch)
defaultPref("browser.search.update", false); lockPref("browser.search.update", false);
// //
// APPEARANCE // APPEARANCE
// //
@ -1074,9 +1088,9 @@ defaultPref("browser.search.update", false);
// //
// CONTENT BEHAVIOR // CONTENT BEHAVIOR
// //
defaultPref("accessibility.typeaheadfind", false); // enable "Find As You Type" lockPref("accessibility.typeaheadfind", false); // enable "Find As You Type"
defaultPref("clipboard.autocopy", false); // disable autocopy default [LINUX] lockPref("clipboard.autocopy", false); // disable autocopy default [LINUX]
defaultPref("layout.spellcheckDefault", 0); // 0=none, 1-multi-line, 2=multi-line & single-line lockPref("layout.spellcheckDefault", 0); // 0=none, 1-multi-line, 2=multi-line & single-line
// //
// UX BEHAVIOR // UX BEHAVIOR
// //
@ -1104,7 +1118,6 @@ lockPref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", fal
lockPref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable CFR [FF67+] lockPref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable CFR [FF67+]
lockPref("network.manage-offline-status", false); lockPref("network.manage-offline-status", false);
lockPref("browser.preferences.moreFromMozilla", false); lockPref("browser.preferences.moreFromMozilla", false);
lockPref("browser.disableResetPrompt", true); // [HIDDEN PREF]
// lockPref("xpinstall.signatures.required", false); // enforced extension signing (Nightly/ESR) // lockPref("xpinstall.signatures.required", false); // enforced extension signing (Nightly/ESR)
// //
// MORE // MORE
@ -1132,11 +1145,11 @@ lockPref("security.ssl3.rsa_des_ede3_sha", false); // 3DES
// ------------------------------------- // -------------------------------------
// FF95 // FF95
// Disable location bar contextual suggestions [FF92+] // Disable location bar contextual suggestions [FF92+]
defaultPref("browser.urlbar.suggest.quicksuggest", false); lockPref("browser.urlbar.suggest.quicksuggest", false);
// //
// FF96 // FF96
// Disable auto-INSTALLING Firefox updates via a background service [FF90+] [WINDOWS] // Disable auto-INSTALLING Firefox updates via a background service [FF90+] [WINDOWS]
defaultPref("app.update.background.scheduling.enabled", false); lockPref("app.update.background.scheduling.enabled", false);
// //
// FF97 // FF97
// Onions - replaced by new "allowlist" // Onions - replaced by new "allowlist"
@ -1146,10 +1159,3 @@ defaultPref("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+]
//