forked from d3cim/mozilla.cfg
Upload files to "config"
This commit is contained in:
parent
9ddd4e642e
commit
efd61f7450
|
@ -1,4 +1,4 @@
|
|||
// **********************************************************************************
|
||||
// **********************************************************************************
|
||||
// user.js | Firefox desktop
|
||||
// https://git.nixnet.services/Narsil/mozilla.cfg
|
||||
// **********************************************************************************
|
||||
|
@ -29,7 +29,7 @@ lockPref("browser.aboutConfig.showWarning", false);
|
|||
// Disable default browser check
|
||||
lockPref("browser.shell.checkDefaultBrowser", false);
|
||||
// -------------------------------------
|
||||
// Set startup page [SETUP-CHROME]
|
||||
// Set startup page
|
||||
// 0=blank, 1=home, 2=last visited page, 3=resume previous session
|
||||
lockPref("browser.startup.page", 0);
|
||||
// -------------------------------------
|
||||
|
@ -41,8 +41,8 @@ lockPref("browser.startup.homepage", "about:blank");
|
|||
lockPref("browser.newtabpage.enabled", false);
|
||||
// -------------------------------------
|
||||
// Disable sponsored content on Firefox Home (Activity Stream)
|
||||
lockPref("browser.newtabpage.activity-stream.showSponsored", false); // [FF58+] Pocket > Sponsored Stories
|
||||
lockPref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // [FF83+] Sponsored shortcuts
|
||||
lockPref("browser.newtabpage.activity-stream.showSponsored", false); // [FF58+]
|
||||
lockPref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // [FF83+] Shortcuts>Sponsored shortcuts
|
||||
// -------------------------------------
|
||||
// Clear default topsites
|
||||
lockPref("browser.newtabpage.activity-stream.default.sites", "");
|
||||
|
@ -55,7 +55,7 @@ lockPref("browser.topsites.useRemoteSetting", false);
|
|||
//
|
||||
// Use Mozilla geolocation service instead of Google if permission is granted [FF74+]
|
||||
defaultPref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
||||
// lockPref("geo.provider.network.logging.enabled", true); // [HIDDEN PREF]
|
||||
// defaultPref("geo.provider.network.logging.enabled", true); // [HIDDEN PREF]
|
||||
// -------------------------------------
|
||||
// Disable using the OS's geolocation service
|
||||
defaultPref("geo.provider.ms-windows-location", false); // [WINDOWS]
|
||||
|
@ -106,6 +106,7 @@ lockPref("toolkit.telemetry.shutdownPingSender.enabled", false); // [FF55+]
|
|||
lockPref("toolkit.telemetry.updatePing.enabled", false); // [FF56+]
|
||||
lockPref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter
|
||||
lockPref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+]
|
||||
lockPref("browser.search.serpEventTelemetry.enabled",false);
|
||||
// -------------------------------------
|
||||
// Skip checking omni.ja and other files
|
||||
defaultPref("corroborator.enabled", false);
|
||||
|
@ -115,9 +116,6 @@ lockPref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF]
|
|||
lockPref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
|
||||
lockPref("toolkit.coverage.endpoint.base", "");
|
||||
// -------------------------------------
|
||||
// Disable PingCentre telemetry (used in several System Add-ons) [FF57+]
|
||||
lockPref("browser.ping-centre.telemetry", false);
|
||||
// -------------------------------------
|
||||
// Disable Firefox Home (Activity Stream) telemetry
|
||||
defaultPref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
||||
defaultPref("browser.newtabpage.activity-stream.telemetry", false);
|
||||
|
@ -149,7 +147,7 @@ lockPref("app.normandy.api_url", "");
|
|||
// Disable Crash Reports
|
||||
lockPref("breakpad.reportURL", "");
|
||||
lockPref("browser.tabs.crashReporting.sendReport", false); // [FF44+]
|
||||
// lockPref("browser.crashReports.unsubmittedCheck.enabled", false); // [FF51+] [DEFAULT: false]
|
||||
// defaultPref("browser.crashReports.unsubmittedCheck.enabled", false); // [FF51+] [DEFAULT: false]
|
||||
// -------------------------------------
|
||||
// Enforce no submission of backlogged Crash Reports [FF58+]
|
||||
lockPref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DEFAULT: false]
|
||||
|
@ -232,7 +230,7 @@ lockPref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", fal
|
|||
lockPref("browser.safebrowsing.downloads.remote.block_uncommon", false);
|
||||
// -------------------------------------
|
||||
// Disable "ignore this warning" on SB warnings [FF45+]
|
||||
// lockPref("browser.safebrowsing.allowOverride", false);
|
||||
// defaultPref("browser.safebrowsing.allowOverride", false);
|
||||
// -------------------------------------
|
||||
// Google connections
|
||||
lockPref("browser.safebrowsing.downloads.remote.block_dangerous", false);
|
||||
|
@ -267,7 +265,7 @@ lockPref("network.prefetch-next", false);
|
|||
// -------------------------------------
|
||||
// Disable DNS prefetching
|
||||
lockPref("network.dns.disablePrefetch", true);
|
||||
// lockPref("network.dns.disablePrefetchFromHTTPS", true); // [DEFAULT: true]
|
||||
// defaultPref("network.dns.disablePrefetchFromHTTPS", true); // [DEFAULT: true]
|
||||
// -------------------------------------
|
||||
// Disable predictor / prefetching
|
||||
defaultPref("network.predictor.enabled", false);
|
||||
|
@ -280,7 +278,7 @@ lockPref("network.http.speculative-parallel-limit", 0);
|
|||
lockPref("browser.places.speculativeConnect.enabled", false);
|
||||
// -------------------------------------
|
||||
// Enforce no "Hyperlink Auditing" (click tracking)
|
||||
// lockPref("browser.send_pings", false); // [DEFAULT: false]
|
||||
// defaultPref("browser.send_pings", false); // [DEFAULT: false]
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// DNS / DoH / PROXY / SOCKS
|
||||
|
@ -296,10 +294,10 @@ lockPref("network.file.disable_unc_paths", true); // [HIDDEN PREF]
|
|||
lockPref("network.gio.supported-protocols", "");
|
||||
// -------------------------------------
|
||||
// Disable proxy direct failover for system requests [FF91+]
|
||||
// lockPref("network.proxy.failover_direct", false);
|
||||
// defaultPref("network.proxy.failover_direct", false);
|
||||
// -------------------------------------
|
||||
// Disable proxy bypass for system request failures [FF95+]
|
||||
// lockPref("network.proxy.allow_bypass", false);
|
||||
// defaultPref("network.proxy.allow_bypass", false);
|
||||
// -------------------------------------
|
||||
// Disable DNS-over-HTTPS (DoH)[FF60+]
|
||||
defaultPref("network.trr.mode", 5);
|
||||
|
@ -317,8 +315,9 @@ defaultPref("network.trr.custom_uri", "");
|
|||
defaultPref("browser.urlbar.speculativeConnect.enabled", false);
|
||||
// -------------------------------------
|
||||
// Disable location bar contextual suggestions
|
||||
defaultPref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+]
|
||||
defaultPref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+]
|
||||
// defaultPref("browser.urlbar.quicksuggest.enabled", false); // [FF92+] [DEFAULT: false]
|
||||
// defaultPref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] [DEFAULT: false]
|
||||
// defaultPref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+] [DEFAULT: false]
|
||||
// -------------------------------------
|
||||
// Disable live search suggestions
|
||||
defaultPref("browser.search.suggest.enabled", false);
|
||||
|
@ -332,9 +331,10 @@ defaultPref("browser.urlbar.addons.featureGate", false); // [FF115+]
|
|||
defaultPref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF]
|
||||
defaultPref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false]
|
||||
defaultPref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false]
|
||||
defaultPref("browser.urlbar.yelp.featureGate", false); // [FF124+] [DEFAULT: false]
|
||||
// -------------------------------------
|
||||
// Disable urlbar clipboard suggestions [FF118+]
|
||||
// defaultPref("browser.urlbar.clipboard.featureGate", false); // [DEFAULT: false]
|
||||
defaultPref("browser.urlbar.clipboard.featureGate", false);
|
||||
// -------------------------------------
|
||||
// Disable search and form history
|
||||
defaultPref("browser.formfill.enable", false);
|
||||
|
@ -395,7 +395,7 @@ defaultPref("browser.cache.disk.enable", false);
|
|||
defaultPref("browser.privatebrowsing.forceMediaMemoryCache", true); // [FF75+]
|
||||
defaultPref("media.memory_cache_max_size", 65536);
|
||||
// -------------------------------------
|
||||
// Disable storing extra session data [SETUP-CHROME]
|
||||
// Disable storing extra session data
|
||||
// 0=everywhere, 1=unencrypted sites, 2=nowhere
|
||||
lockPref("browser.sessionstore.privacy_level", 2);
|
||||
// -------------------------------------
|
||||
|
@ -452,10 +452,10 @@ defaultPref("security.pki.crlite_mode", 0);
|
|||
// -------------------------------------
|
||||
// Enable HTTPS-Only mode in all windows
|
||||
defaultPref("dom.security.https_only_mode", true); // [FF76+]
|
||||
// lockPref("dom.security.https_only_mode_pbm", true); // [FF80+]
|
||||
// defaultPref("dom.security.https_only_mode_pbm", true); // [FF80+]
|
||||
// -------------------------------------
|
||||
// Enable HTTPS-Only mode for local resources [FF77+]
|
||||
// lockPref("dom.security.https_only_mode.upgrade_local", true);
|
||||
// defaultPref("dom.security.https_only_mode.upgrade_local", true);
|
||||
// -------------------------------------
|
||||
// Disable HTTP background requests [FF82+]
|
||||
lockPref("dom.security.https_only_mode_send_http_background_request", false);
|
||||
|
@ -492,7 +492,10 @@ defaultPref("privacy.userContext.enabled", true);
|
|||
defaultPref("privacy.userContext.ui.enabled", true);
|
||||
// -------------------------------------
|
||||
// Set behavior on "+ Tab" button to display container menu on left click [FF74+]
|
||||
// lockPref("privacy.userContext.newTabContainerOnLeftClick.enabled", true);
|
||||
// defaultPref("privacy.userContext.newTabContainerOnLeftClick.enabled", true);
|
||||
// -------------------------------------
|
||||
// Set external links to open in site-specific containers [FF123+]
|
||||
// defaultPref("browser.link.force_default_user_context_id_for_external_opens", true);
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// PLUGINS / MEDIA / WEBRTC
|
||||
|
@ -505,7 +508,7 @@ lockPref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
|
|||
lockPref("media.peerconnection.ice.default_address_only", true);
|
||||
// -------------------------------------
|
||||
// Force exclusion of private IPs from ICE candidates [FF51+]
|
||||
// lockPref("media.peerconnection.ice.no_host", true);
|
||||
// defaultPref("media.peerconnection.ice.no_host", true);
|
||||
// -------------------------------------
|
||||
// Disable GMP (Gecko Media Plugins)
|
||||
defaultPref("media.gmp-provider.enabled", false);
|
||||
|
@ -541,7 +544,7 @@ defaultPref("devtools.debugger.remote-enabled", false); // [DEFAULT: false]
|
|||
// -------------------------------------
|
||||
// Disable websites overriding Firefox's keyboard shortcuts [FF58+]
|
||||
// 0 (default) or 1=allow, 2=block
|
||||
// lockPref("permissions.default.shortcuts", 2);
|
||||
// defaultPref("permissions.default.shortcuts", 2);
|
||||
// -------------------------------------
|
||||
// Remove special permissions for certain mozilla domains [FF35+]
|
||||
lockPref("permissions.manager.defaultsUrl", "");
|
||||
|
@ -562,6 +565,9 @@ lockPref("network.protocol-handler.external.ms-windows-store", false);
|
|||
// Disable middle click on new tab button opening URLs or searches using clipboard [FF115+]
|
||||
defaultPref("browser.tabs.searchclipboardfor.middleclick", false); // [DEFAULT: false NON-LINUX]
|
||||
// -------------------------------------
|
||||
// Disable content analysis by DLP (Data Loss Prevention) agents
|
||||
defaultPref("browser.contentanalysis.default_allow", false); // [FF124+] [DEFAULT: false]
|
||||
// -------------------------------------
|
||||
// Disable the default checkedness for "Save card and address to Firefox" checkboxes
|
||||
defaultPref("dom.payments.defaults.saveAddress", false);
|
||||
defaultPref("dom.payments.defaults.saveCreditCard", false);
|
||||
|
@ -587,13 +593,13 @@ lockPref("browser.download.always_ask_before_handling_new_types", true);
|
|||
//
|
||||
// Limit allowed extension directories
|
||||
lockPref("extensions.enabledScopes", 5); // [HIDDEN PREF]
|
||||
// lockPref("extensions.autoDisableScopes", 15); // [DEFAULT: 15]
|
||||
// defaultPref("extensions.autoDisableScopes", 15); // [DEFAULT: 15]
|
||||
// -------------------------------------
|
||||
// Disable bypassing 3rd party extension install prompts [FF82+]
|
||||
lockPref("extensions.postDownloadThirdPartyPrompt", false);
|
||||
// -------------------------------------
|
||||
// Disable webextension restrictions on certain mozilla domains [FF60+]
|
||||
// lockPref("extensions.webextensions.restrictedDomains", "");
|
||||
// defaultPref("extensions.webextensions.restrictedDomains", "");
|
||||
// -------------------------------------
|
||||
// Disable extensions suggestions
|
||||
defaultPref("extensions.webservice.discoverURL", "");
|
||||
|
@ -606,7 +612,7 @@ defaultPref("extensions.webservice.discoverURL", "");
|
|||
// defaultPref("browser.contentblocking.category", "strict"); // [HIDDEN PREF]
|
||||
// -------------------------------------
|
||||
// Disable ETP web compat features [FF93+]
|
||||
// lockPref("privacy.antitracking.enableWebcompat", false);
|
||||
// defaultPref("privacy.antitracking.enableWebcompat", false);
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// SHUTDOWN & SANITIZING
|
||||
|
@ -615,47 +621,61 @@ defaultPref("extensions.webservice.discoverURL", "");
|
|||
// Enable Firefox to clear items on shutdown
|
||||
defaultPref("privacy.sanitize.sanitizeOnShutdown", true);
|
||||
//
|
||||
// SANITIZE ON SHUTDOWN: IGNORES "ALLOW" SITE EXCEPTIONS
|
||||
// SANITIZE ON SHUTDOWN: IGNORES "ALLOW" SITE EXCEPTIONSS | v2 migration is FF128+
|
||||
//
|
||||
// Set/enforce what items to clear on shutdown [SETUP-CHROME]
|
||||
// Set/enforce what items to clear on shutdown
|
||||
defaultPref("privacy.clearOnShutdown.cache", true);
|
||||
defaultPref("privacy.clearOnShutdown_v2.cache", true); // [FF128+] [DEFAULT: 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_v2.historyFormDataAndDownloads", true); // [FF128+] [DEFAULT: true]
|
||||
// defaultPref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false]
|
||||
// defaultPref("privacy.clearOnShutdown_v2.siteSettings", false); // [FF128+] [DEFAULT: false]
|
||||
// -------------------------------------
|
||||
// Set Session Restore to clear on shutdown [FF34+]
|
||||
// defaultPref("privacy.clearOnShutdown.openWindows", true);
|
||||
//
|
||||
// SANITIZE ON SHUTDOWN: RESPECTS "ALLOW" SITE EXCEPTIONS FF103+
|
||||
// SANITIZE ON SHUTDOWN: RESPECTS "ALLOW" SITE EXCEPTIONS FF103+ | v2 migration is FF128+
|
||||
//
|
||||
// Set "Cookies" and "Site Data" to clear on shutdown
|
||||
defaultPref("privacy.clearOnShutdown.cookies", true); // Cookies
|
||||
defaultPref("privacy.clearOnShutdown.offlineApps", true); // Site Data
|
||||
defaultPref("privacy.clearOnShutdown.sessions", true); // Active Logins [DEFAULT: true]
|
||||
defaultPref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); // Cookies, Site Data, Active Logins [FF128+]
|
||||
//
|
||||
// SANITIZE MANUAL: IGNORES "ALLOW" SITE EXCEPTIONS
|
||||
// SANITIZE SITE DATA: IGNORES "ALLOW" SITE EXCEPTIONS
|
||||
//
|
||||
// Reset default items to clear with Ctrl-Shift-Del
|
||||
// Set manual "Clear Data" items [FF128+]
|
||||
defaultPref("privacy.clearSiteData.cache", true);
|
||||
defaultPref("privacy.clearSiteData.cookiesAndStorage", false); // keep false until it respects "allow" site exceptions
|
||||
defaultPref("privacy.clearSiteData.historyFormDataAndDownloads", true);
|
||||
// defaultPref("privacy.clearSiteData.siteSettings", false);
|
||||
//
|
||||
// SANITIZE HISTORY: IGNORES "ALLOW" SITE EXCEPTIONS | clearHistory migration is FF128+
|
||||
//
|
||||
// Set manual "Clear History" items, also via Ctrl-Shift-Del
|
||||
defaultPref("privacy.cpd.cache", true); // [DEFAULT: true]
|
||||
defaultPref("privacy.clearHistory.cache", true);
|
||||
defaultPref("privacy.cpd.formdata", true); // Form & Search History
|
||||
defaultPref("privacy.cpd.history", true); // Browsing & Download History
|
||||
defaultPref("privacy.cpd.offlineApps", true); // Offline Website Data
|
||||
// defaultPref("privacy.cpd.downloads", true); // not used, see note above
|
||||
defaultPref("privacy.clearHistory.historyFormDataAndDownloads", true);
|
||||
defaultPref("privacy.cpd.cookies", false);
|
||||
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.clearHistory.cookiesAndStorage", false);
|
||||
// defaultPref("privacy.cpd.openWindows", false); // Session Restore
|
||||
// defaultPref("privacy.cpd.passwords", false);
|
||||
// defaultPref("privacy.cpd.siteSettings", false);
|
||||
// defaultPref("privacy.clearHistory.siteSettings", false);
|
||||
// -------------------------------------
|
||||
// Clear Session Restore data when sanitizing on shutdown or manually [FF34+]
|
||||
// lockPref("privacy.clearOnShutdown.openWindows", true);
|
||||
// lockPref("privacy.cpd.openWindows", true);
|
||||
// -------------------------------------
|
||||
// Reset default "Time range to clear" for "Clear Recent History"
|
||||
//
|
||||
// SANITIZE MANUAL: TIMERANGE
|
||||
//
|
||||
// set "Time range to clear" for "Clear Data" and "Clear History"
|
||||
// 0=everything, 1=last hour, 2=last two hours, 3=last four hours, 4=today
|
||||
lockPref("privacy.sanitize.timeSpan", 0);
|
||||
defaultPref("privacy.sanitize.timeSpan", 0);
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// FPP (fingerprintingProtection)
|
||||
|
@ -665,6 +685,9 @@ lockPref("privacy.sanitize.timeSpan", 0);
|
|||
// -------------------------------------
|
||||
// Set global FPP overrides [FF114+]
|
||||
// defaultPref("privacy.fingerprintingProtection.overrides", "");
|
||||
// -------------------------------------
|
||||
// Disable remote FPP overrides [FF127+]
|
||||
// defaultPref("privacy.fingerprintingProtection.remoteOverrides.enabled", false);
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// RFP (resistFingerprinting)
|
||||
|
@ -682,11 +705,15 @@ defaultPref("privacy.window.maxInnerHeight", 900);
|
|||
lockPref("privacy.resistFingerprinting.block_mozAddonManager", true);
|
||||
// -------------------------------------
|
||||
// Enable RFP letterboxing [FF67+]
|
||||
// lockPref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF]
|
||||
// lockPref("privacy.resistFingerprinting.letterboxing.dimensions", ""); // [HIDDEN PREF]
|
||||
// defaultPref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF]
|
||||
// defaultPref("privacy.resistFingerprinting.letterboxing.dimensions", ""); // [HIDDEN PREF]
|
||||
// -------------------------------------
|
||||
// Experimental RFP [FF91+]
|
||||
// lockPref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid");
|
||||
// defaultPref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid");
|
||||
// -------------------------------------
|
||||
// Disable RFP spoof english prompt [FF59+]
|
||||
// 0=prompt, 1=disabled, 2=enabled (requires RFP)
|
||||
defaultPref("privacy.spoof_english", 1);
|
||||
// -------------------------------------
|
||||
// Disable using system colors
|
||||
lockPref("browser.display.use_system_colors", false); // [DEFAULT: false NON-WINDOWS]
|
||||
|
@ -709,33 +736,33 @@ defaultPref("webgl.disabled", true);
|
|||
// >>>>>>>>>>>>>>>>>>>>>
|
||||
//
|
||||
// Start Firefox in PB (Private Browsing) mode
|
||||
// lockPref("browser.privatebrowsing.autostart", true);
|
||||
// defaultPref("browser.privatebrowsing.autostart", true);
|
||||
// -------------------------------------
|
||||
// Disable memory cache
|
||||
// capacity: -1=determine dynamically (default), 0=none, n=memory capacity in kibibytes
|
||||
// lockPref("browser.cache.memory.enable", false);
|
||||
// lockPref("browser.cache.memory.capacity", 0);
|
||||
// defaultPref("browser.cache.memory.enable", false);
|
||||
// defaultPref("browser.cache.memory.capacity", 0);
|
||||
// -------------------------------------
|
||||
// Disable saving passwords
|
||||
// lockPref("signon.rememberSignons", false);
|
||||
// defaultPref("signon.rememberSignons", false);
|
||||
// -------------------------------------
|
||||
// Disable permissions manager from writing to disk [FF41+] [RESTART]
|
||||
// lockPref("permissions.memory_only", true); // [HIDDEN PREF]
|
||||
// defaultPref("permissions.memory_only", true); // [HIDDEN PREF]
|
||||
// -------------------------------------
|
||||
// Disable intermediate certificate caching [FF41+] [RESTART]
|
||||
// lockPref("security.nocertdb", true);
|
||||
// defaultPref("security.nocertdb", true);
|
||||
// -------------------------------------
|
||||
// Disable favicons in history and bookmarks
|
||||
defaultPref("browser.chrome.site_icons", false);
|
||||
// -------------------------------------
|
||||
// Exclude "Undo Closed Tabs" in Session Restore
|
||||
// lockPref("browser.sessionstore.max_tabs_undo", 0);
|
||||
// defaultPref("browser.sessionstore.max_tabs_undo", 0);
|
||||
// -------------------------------------
|
||||
// Disable resuming session from crash
|
||||
// lockPref("browser.sessionstore.resume_from_crash", false);
|
||||
// defaultPref("browser.sessionstore.resume_from_crash", false);
|
||||
// -------------------------------------
|
||||
// Disable "open with" in download dialog [FF50+]
|
||||
// lockPref("browser.download.forbid_open_with", true);
|
||||
// defaultPref("browser.download.forbid_open_with", true);
|
||||
// -------------------------------------
|
||||
// Disable location bar suggestion types
|
||||
defaultPref("browser.urlbar.suggest.history", false);
|
||||
|
@ -745,7 +772,7 @@ defaultPref("browser.urlbar.suggest.topsites", false); // [FF78+]
|
|||
defaultPref("browser.urlbar.suggest.weather", false); // [FF78+]
|
||||
// -------------------------------------
|
||||
// Disable location bar dropdown
|
||||
// lockPref("browser.urlbar.maxRichResults", 0);
|
||||
// defaultPref("browser.urlbar.maxRichResults", 0);
|
||||
// -------------------------------------
|
||||
// Disable location bar autofill
|
||||
lockPref("browser.urlbar.autoFill", false);
|
||||
|
@ -754,14 +781,14 @@ lockPref("browser.urlbar.autoFill", false);
|
|||
defaultPref("places.history.enabled", false);
|
||||
// -------------------------------------
|
||||
// Disable Windows jumplist [WINDOWS]
|
||||
// lockPref("browser.taskbar.lists.enabled", false);
|
||||
// lockPref("browser.taskbar.lists.frequent.enabled", false);
|
||||
// lockPref("browser.taskbar.lists.recent.enabled", false);
|
||||
// lockPref("browser.taskbar.lists.tasks.enabled", false);
|
||||
// defaultPref("browser.taskbar.lists.enabled", false);
|
||||
// defaultPref("browser.taskbar.lists.frequent.enabled", false);
|
||||
// defaultPref("browser.taskbar.lists.recent.enabled", false);
|
||||
// defaultPref("browser.taskbar.lists.tasks.enabled", false);
|
||||
// -------------------------------------
|
||||
// Discourage downloading to desktop
|
||||
// 0=desktop, 1=downloads (default), 2=custom
|
||||
// lockPref("browser.download.folderList", 2);
|
||||
// defaultPref("browser.download.folderList", 2);
|
||||
// -------------------------------------
|
||||
// Disable Form Autofill
|
||||
defaultPref("extensions.formautofill.addresses.enabled", false); // [FF55+]
|
||||
|
@ -881,7 +908,7 @@ defaultPref("extensions.quarantinedDomains.enabled", false); // [DEFAULT: true]
|
|||
//
|
||||
// Disable APIs
|
||||
defaultPref("geo.enabled", false);
|
||||
// lockPref("full-screen-api.enabled", false);
|
||||
// defaultPref("full-screen-api.enabled", false);
|
||||
// -------------------------------------
|
||||
// Set default permissions
|
||||
// 0=always ask (default), 1=allow, 2=block
|
||||
|
@ -908,37 +935,37 @@ defaultPref("gfx.offscreencanvas.enabled", false);
|
|||
// defaultPref("security.ssl3.rsa_aes_256_sha", false); // no PFS
|
||||
// -------------------------------------
|
||||
// Control TLS versions
|
||||
// lockPref("security.tls.version.min", 3); // [DEFAULT: 3]
|
||||
// lockPref("security.tls.version.max", 4);
|
||||
// defaultPref("security.tls.version.min", 3); // [DEFAULT: 3]
|
||||
// defaultPref("security.tls.version.max", 4);
|
||||
// -------------------------------------
|
||||
// Disable SSL session IDs [FF36+]
|
||||
// lockPref("security.ssl.disable_session_identifiers", true);
|
||||
// defaultPref("security.ssl.disable_session_identifiers", true);
|
||||
// -------------------------------------
|
||||
// Onions
|
||||
// lockPref("dom.securecontext.allowlist_onions", true);
|
||||
// lockPref("network.http.referer.hideOnionSource", true);
|
||||
// defaultPref("dom.securecontext.allowlist_onions", true);
|
||||
// defaultPref("network.http.referer.hideOnionSource", true);
|
||||
// -------------------------------------
|
||||
// Referers
|
||||
// lockPref("network.http.sendRefererHeader", 2);
|
||||
// lockPref("network.http.referer.trimmingPolicy", 0);
|
||||
// defaultPref("network.http.sendRefererHeader", 2);
|
||||
// defaultPref("network.http.referer.trimmingPolicy", 0);
|
||||
// -------------------------------------
|
||||
// Set the default Referrer Policy [FF59+]
|
||||
// 0=no-referer, 1=same-origin, 2=strict-origin-when-cross-origin, 3=no-referrer-when-downgrade
|
||||
// lockPref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2]
|
||||
// lockPref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2]
|
||||
// defaultPref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2]
|
||||
// defaultPref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2]
|
||||
// -------------------------------------
|
||||
// Disable HTTP Alternative Services [FF37+]
|
||||
// lockPref("network.http.altsvc.enabled", false);
|
||||
// defaultPref("network.http.altsvc.enabled", false);
|
||||
// -------------------------------------
|
||||
// Disable website control over browser right-click context menu
|
||||
// lockPref("dom.event.contextmenu.enabled", false);
|
||||
// defaultPref("dom.event.contextmenu.enabled", false);
|
||||
// -------------------------------------
|
||||
// Disable icon fonts (glyphs) and local fallback rendering
|
||||
// lockPref("gfx.downloadable_fonts.enabled", false); // [FF41+]
|
||||
// lockPref("gfx.downloadable_fonts.fallback_delay", -1);
|
||||
// defaultPref("gfx.downloadable_fonts.enabled", false); // [FF41+]
|
||||
// defaultPref("gfx.downloadable_fonts.fallback_delay", -1);
|
||||
// -------------------------------------
|
||||
// Disable Clipboard API
|
||||
// lockPref("dom.event.clipboardevents.enabled", false);
|
||||
// defaultPref("dom.event.clipboardevents.enabled", false);
|
||||
// -------------------------------------
|
||||
// Disable System Add-on updates
|
||||
defaultPref("extensions.systemAddon.update.enabled", false); // [FF62+]
|
||||
|
@ -950,25 +977,25 @@ defaultPref("privacy.donottrackheader.enabled", false);
|
|||
// Customize ETP settings
|
||||
defaultPref("network.cookie.cookieBehavior", 5); // [DEFAULT: 5]
|
||||
// defaultPref("privacy.fingerprintingProtection", true); // [FF114+] [ETP FF119+]
|
||||
// lockPref("privacy.partition.network_state.ocsp_cache", true); // [DEFAULT: true FF123+]
|
||||
// lockPref("privacy.query_stripping.enabled", true); // [FF101+]
|
||||
// defaultPref("privacy.partition.network_state.ocsp_cache", true); // [DEFAULT: true FF123+]
|
||||
// defaultPref("privacy.query_stripping.enabled", true); // [FF101+]
|
||||
defaultPref("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");
|
||||
// lockPref("network.http.referer.disallowCrossSiteRelaxingDefault", true);
|
||||
// lockPref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); // [FF100+]
|
||||
// lockPref("privacy.trackingprotection.enabled", true);
|
||||
// lockPref("privacy.trackingprotection.socialtracking.enabled", true);
|
||||
// lockPref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true]
|
||||
// lockPref("privacy.trackingprotection.fingerprinting.enabled", true); // [DEFAULT: true]
|
||||
// defaultPref("network.http.referer.disallowCrossSiteRelaxingDefault", true);
|
||||
// defaultPref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); // [FF100+]
|
||||
// defaultPref("privacy.trackingprotection.enabled", true);
|
||||
// defaultPref("privacy.trackingprotection.socialtracking.enabled", true);
|
||||
// defaultPref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true]
|
||||
// defaultPref("privacy.trackingprotection.fingerprinting.enabled", true); // [DEFAULT: true]
|
||||
// -------------------------------------
|
||||
// Allow embedded tweets and Reddit posts. Don't do it!
|
||||
// lockPref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com"); // [HIDDEN PREF]
|
||||
// lockPref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com"); // [HIDDEN PREF]
|
||||
// defaultPref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com"); // [HIDDEN PREF]
|
||||
// defaultPref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com"); // [HIDDEN PREF]
|
||||
// -------------------------------------
|
||||
// Disable service workers
|
||||
// lockPref("dom.serviceWorkers.enabled", false);
|
||||
// defaultPref("dom.serviceWorkers.enabled", false);
|
||||
// -------------------------------------
|
||||
// Disable Web Notifications [FF22+]
|
||||
// lockPref("dom.webnotifications.enabled", false);
|
||||
// defaultPref("dom.webnotifications.enabled", false);
|
||||
// -------------------------------------
|
||||
// Disable Push Notifications [FF44+]
|
||||
defaultPref("dom.push.enabled", false);
|
||||
|
@ -978,26 +1005,29 @@ defaultPref("dom.push.userAgentID", "");
|
|||
// -------------------------------------
|
||||
// Disable WebRTC (Web Real-Time Communication)
|
||||
defaultPref("media.peerconnection.enabled", false);
|
||||
// -------------------------------------
|
||||
// Enable GPC (Global Privacy Control) in non-PB windows
|
||||
// defaultPref("privacy.globalprivacycontrol.enabled", true);
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// DON'T BOTHER: FINGERPRINTING
|
||||
// >>>>>>>>>>>>>>>>>>>>>
|
||||
//
|
||||
// prefsCleaner: reset items useless for anti-fingerprinting
|
||||
// lockPref("browser.zoom.siteSpecific", false);
|
||||
// lockPref("dom.enable_performance", false);
|
||||
// lockPref("dom.enable_resource_timing", false);
|
||||
// lockPref("dom.maxHardwareConcurrency", 2);
|
||||
// lockPref("font.system.whitelist", ""); // [HIDDEN PREF]
|
||||
// lockPref("general.appname.override", ""); // [HIDDEN PREF]
|
||||
// lockPref("general.appversion.override", ""); // [HIDDEN PREF]
|
||||
// lockPref("general.buildID.override", "20181001000000"); // [HIDDEN PREF]
|
||||
// lockPref("general.oscpu.override", ""); // [HIDDEN PREF]
|
||||
// lockPref("general.platform.override", ""); // [HIDDEN PREF]
|
||||
// lockPref("general.useragent.override", "Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0"); // [HIDDEN PREF]
|
||||
// lockPref("media.ondevicechange.enabled", false);
|
||||
// lockPref("media.video_stats.enabled", false);
|
||||
// lockPref("webgl.enable-debug-renderer-info", false);
|
||||
// defaultPref("browser.zoom.siteSpecific", false);
|
||||
// defaultPref("dom.enable_performance", false);
|
||||
// defaultPref("dom.enable_resource_timing", false);
|
||||
// defaultPref("dom.maxHardwareConcurrency", 2);
|
||||
// defaultPref("font.system.whitelist", ""); // [HIDDEN PREF]
|
||||
// defaultPref("general.appname.override", ""); // [HIDDEN PREF]
|
||||
// defaultPref("general.appversion.override", ""); // [HIDDEN PREF]
|
||||
// defaultPref("general.buildID.override", "20181001000000"); // [HIDDEN PREF]
|
||||
// defaultPref("general.oscpu.override", ""); // [HIDDEN PREF]
|
||||
// defaultPref("general.platform.override", ""); // [HIDDEN PREF]
|
||||
// defaultPref("general.useragent.override", "Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0"); // [HIDDEN PREF]
|
||||
// defaultPref("media.ondevicechange.enabled", false);
|
||||
// defaultPref("media.video_stats.enabled", false);
|
||||
// defaultPref("webgl.enable-debug-renderer-info", false);
|
||||
defaultPref("ui.use_standins_for_native_colors", true);
|
||||
defaultPref("browser.display.use_document_fonts", 0);
|
||||
lockPref("device.sensors.enabled", false);
|
||||
|
@ -1086,25 +1116,24 @@ defaultPref("browser.tabs.firefox-view", false); // Firefox-view
|
|||
//
|
||||
// OTHER
|
||||
//
|
||||
// lockPref("browser.bookmarks.max_backups", 2);
|
||||
// defaultPref("browser.bookmarks.max_backups", 2);
|
||||
lockPref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable CFR [FF67+]
|
||||
lockPref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable CFR [FF67+]
|
||||
lockPref("browser.messaging-system.whatsNewPanel.enabled", false); // What's New toolbar icon [FF69+]
|
||||
lockPref("browser.urlbar.showSearchTerms.enabled", false);
|
||||
defaultPref("browser.sessionstore.interval", 30000); // minimum interval between session save operations
|
||||
lockPref("network.manage-offline-status", false);
|
||||
lockPref("browser.preferences.moreFromMozilla", false);
|
||||
lockPref("browser.disableResetPrompt", true); // [HIDDEN PREF]
|
||||
// lockPref("xpinstall.signatures.required", false); // enforced extension signing (Nightly/ESR)
|
||||
// defaultPref("xpinstall.signatures.required", false); // enforced extension signing (Nightly/ESR)
|
||||
//
|
||||
// MORE
|
||||
//
|
||||
// lockPref("security.insecure_connection_icon.enabled", ""); // [DEFAULT: true FF70+]
|
||||
// lockPref("security.mixed_content.block_active_content", ""); // [DEFAULT: true since at least FF60]
|
||||
// defaultPref("security.insecure_connection_icon.enabled", ""); // [DEFAULT: true FF70+]
|
||||
// defaultPref("security.mixed_content.block_active_content", ""); // [DEFAULT: true since at least FF60]
|
||||
defaultPref("security.ssl.enable_ocsp_stapling", false); // [DEFAULT: true FF26+]
|
||||
// lockPref("webgl.disable-fail-if-major-performance-caveat", ""); // [DEFAULT: true FF86+]
|
||||
// defaultPref("webgl.disable-fail-if-major-performance-caveat", ""); // [DEFAULT: true FF86+]
|
||||
defaultPref("webgl.enable-webgl2", false);
|
||||
// lockPref("webgl.min_capability_mode", "");
|
||||
// defaultPref("webgl.min_capability_mode", "");
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// DEPRECATED / RENAMED
|
||||
|
@ -1142,4 +1171,14 @@ defaultPref("security.family_safety.mode", 0);
|
|||
// -------------------------------------
|
||||
// Disable skipping DoH when parental controls are enabled [FF70+]
|
||||
defaultPref("network.dns.skipTRR-when-parental-control-enabled", false);
|
||||
//
|
||||
// FF123
|
||||
//
|
||||
// Disable PingCentre telemetry (used in several System Add-ons) [FF57+]
|
||||
defaultPref("browser.ping-centre.telemetry", false);
|
||||
//
|
||||
// FF126
|
||||
//
|
||||
// Disable What's New toolbar icon [FF69+]
|
||||
defaultPref("browser.messaging-system.whatsNewPanel.enabled", false);
|
||||
//
|
Loading…
Reference in New Issue