2021-09-01 15:51:13 +00:00
|
|
|
// **********************************************************************************
|
2022-01-01 10:25:04 +00:00
|
|
|
// user.js | Firefox mobile
|
|
|
|
// https://git.nixnet.services/Narsil/mobile_user.js
|
2021-09-01 15:51:13 +00:00
|
|
|
// **********************************************************************************
|
|
|
|
//
|
2022-01-01 10:25:04 +00:00
|
|
|
// Author : Narsil : https://git.nixnet.services/Narsil
|
2021-12-25 10:20:53 +00:00
|
|
|
//
|
2021-09-01 15:51:13 +00:00
|
|
|
// Based on : arkenfox : https://github.com/arkenfox/user.js
|
|
|
|
//
|
2021-12-25 10:35:44 +00:00
|
|
|
// License : https://git.nixnet.services/Narsil/mobile_user.js/raw/branch/master/LICENSE.txt
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// START: internal custom pref to test for syntax error
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Disable about:config warning
|
|
|
|
user_pref("browser.aboutConfig.showWarning", false);
|
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// STARTUP
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Disable default browser check
|
|
|
|
user_pref("browser.shell.checkDefaultBrowser", false);
|
|
|
|
// -------------------------------------
|
2024-06-14 09:17:46 +00:00
|
|
|
// Set startup page
|
2021-09-01 15:51:13 +00:00
|
|
|
// 0=blank, 1=home, 2=last visited page, 3=resume previous session
|
|
|
|
user_pref("browser.startup.page", 0);
|
|
|
|
// -------------------------------------
|
|
|
|
// Set HOME+NEWWINDOW page
|
|
|
|
user_pref("browser.startup.homepage", "about:blank");
|
|
|
|
// -------------------------------------
|
|
|
|
// Set NEWTAB page
|
|
|
|
// true=Activity Stream (default), false=blank page
|
|
|
|
user_pref("browser.newtabpage.enabled", false);
|
|
|
|
// -------------------------------------
|
2022-10-05 15:05:11 +00:00
|
|
|
// Disable sponsored content on Firefox Home (Activity Stream)
|
2024-06-14 09:17:46 +00:00
|
|
|
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // [FF58+]
|
|
|
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // [FF83+] Shortcuts>Sponsored shortcuts
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Clear default topsites
|
|
|
|
user_pref("browser.newtabpage.activity-stream.default.sites", "");
|
2022-01-07 15:19:01 +00:00
|
|
|
user_pref("browser.topsites.contile.enabled", false);
|
2022-01-27 11:25:41 +00:00
|
|
|
user_pref("browser.topsites.useRemoteSetting", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2023-11-29 20:11:21 +00:00
|
|
|
// GEOLOCATION
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Use Mozilla geolocation service instead of Google if permission is granted [FF74+]
|
|
|
|
user_pref("geo.provider.network.url", "");
|
|
|
|
// user_pref("geo.provider.network.logging.enabled", true); // [HIDDEN PREF]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable using the OS's geolocation service
|
|
|
|
user_pref("geo.provider.ms-windows-location", false); // [WINDOWS]
|
|
|
|
user_pref("geo.provider.use_corelocation", false); // [MAC]
|
2023-11-29 20:11:21 +00:00
|
|
|
user_pref("geo.provider.use_gpsd", false); // [LINUX] [HIDDEN PREF]
|
2022-08-15 10:23:11 +00:00
|
|
|
user_pref("geo.provider.geoclue.always_high_accuracy", false); // [LINUX]
|
2022-08-18 10:34:39 +00:00
|
|
|
user_pref("geo.provider.use_geoclue", false); // [FF102+] [LINUX]
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable region updates
|
2022-11-21 10:59:34 +00:00
|
|
|
user_pref("browser.region.network.url", ""); // [FF78+] Defense-in-depth
|
2021-10-28 18:23:33 +00:00
|
|
|
user_pref("browser.region.update.enabled", false); // [FF79+]
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Set search region
|
|
|
|
user_pref("browser.search.region", "US"); // [HIDDEN PREF]
|
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// QUIETER FOX
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// RECOMMENDATIONS
|
|
|
|
//
|
|
|
|
// Disable recommendation pane in about:addons (uses Google Analytics)
|
|
|
|
user_pref("extensions.getAddons.showPane", false); // [HIDDEN PREF]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable recommendations in about:addons' Extensions and Themes panes [FF68+]
|
|
|
|
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable personalized Extension Recommendations in about:addons and AMO [FF65+]
|
|
|
|
user_pref("browser.discovery.enabled", false);
|
2023-10-23 18:45:44 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable shopping experience [FF116+]
|
|
|
|
user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false]
|
2024-02-05 19:49:59 +00:00
|
|
|
user_pref("browser.shopping.experience2023.opted", 2);
|
|
|
|
user_pref("browser.shopping.experience2023.active", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// TELEMETRY
|
|
|
|
//
|
|
|
|
// Disable new data submission [FF41+]
|
|
|
|
user_pref("datareporting.policy.dataSubmissionEnabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable Health Reports
|
|
|
|
user_pref("datareporting.healthreport.uploadEnabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable telemetry
|
|
|
|
user_pref("toolkit.telemetry.unified", false);
|
|
|
|
user_pref("toolkit.telemetry.enabled", false); // see [NOTE]
|
|
|
|
user_pref("toolkit.telemetry.server", "data:,");
|
|
|
|
user_pref("toolkit.telemetry.archive.enabled", false);
|
|
|
|
user_pref("toolkit.telemetry.newProfilePing.enabled", false); // [FF55+]
|
|
|
|
user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); // [FF55+]
|
|
|
|
user_pref("toolkit.telemetry.updatePing.enabled", false); // [FF56+]
|
|
|
|
user_pref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter
|
|
|
|
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+]
|
2024-06-14 09:17:46 +00:00
|
|
|
user_pref("browser.search.serpEventTelemetry.enabled",false);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable Telemetry Coverage
|
|
|
|
user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF]
|
|
|
|
user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
|
|
|
|
user_pref("toolkit.coverage.endpoint.base", "");
|
|
|
|
// -------------------------------------
|
2022-10-05 15:05:11 +00:00
|
|
|
// Disable Firefox Home (Activity Stream) telemetry
|
|
|
|
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
|
|
|
user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
2023-04-29 09:02:50 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable WebVTT logging and test events
|
|
|
|
user_pref("media.webvtt.debug.logging", false);
|
|
|
|
user_pref("media.webvtt.testing.events", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable send content blocking log to about:protections
|
|
|
|
user_pref("browser.contentblocking.database.enabled", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// STUDIES
|
|
|
|
//
|
|
|
|
// Disable Studies
|
|
|
|
user_pref("app.shield.optoutstudies.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable Normandy/Shield [FF60+]
|
|
|
|
user_pref("app.normandy.enabled", false);
|
|
|
|
user_pref("app.normandy.api_url", "");
|
|
|
|
//
|
|
|
|
// CRASH REPORTS
|
|
|
|
//
|
|
|
|
// Disable Crash Reports
|
|
|
|
user_pref("breakpad.reportURL", "");
|
|
|
|
user_pref("browser.tabs.crashReporting.sendReport", false); // [FF44+]
|
|
|
|
// user_pref("browser.crashReports.unsubmittedCheck.enabled", false); // [FF51+] [DEFAULT: false]
|
|
|
|
// -------------------------------------
|
|
|
|
// Enforce no submission of backlogged Crash Reports [FF58+]
|
|
|
|
user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DEFAULT: false]
|
|
|
|
//
|
|
|
|
// OTHER
|
|
|
|
//
|
|
|
|
// Disable Captive Portal detection
|
|
|
|
user_pref("captivedetect.canonicalURL", "");
|
|
|
|
user_pref("network.captive-portal-service.enabled", false); // [FF52+]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable Network Connectivity checks [FF65+]
|
|
|
|
user_pref("network.connectivity-service.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable contentblocking reports
|
|
|
|
user_pref("browser.contentblocking.reportBreakage.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.cookie.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.cryptominer.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.fingerprinter.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.lockwise.enabled", false);
|
|
|
|
user_pref("browser.contentblocking.report.lockwise.how_it_works.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.manage_devices.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.monitor.enabled", false);
|
|
|
|
user_pref("browser.contentblocking.report.monitor.how_it_works.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.monitor.sign_in_url", "");
|
|
|
|
user_pref("browser.contentblocking.report.monitor.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.proxy.enabled", false);
|
|
|
|
user_pref("browser.contentblocking.report.proxy_extension.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.social.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.tracker.url", "");
|
|
|
|
user_pref("browser.contentblocking.report.endpoint_url", "");
|
|
|
|
user_pref("browser.contentblocking.report.monitor.home_page_url", "");
|
|
|
|
user_pref("browser.contentblocking.report.monitor.preferences_url", "");
|
|
|
|
user_pref("browser.contentblocking.report.vpn.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Block unwanted connections
|
|
|
|
user_pref("app.feedback.baseURL", "");
|
|
|
|
user_pref("app.feedbackURL", "");
|
|
|
|
user_pref("app.support.baseURL", "");
|
|
|
|
user_pref("app.supportURL", "");
|
|
|
|
user_pref("app.update.channel", "");
|
|
|
|
user_pref("app.channelURL", "");
|
|
|
|
user_pref("app.creditsURL", "");
|
|
|
|
user_pref("app.faqURL", "");
|
|
|
|
user_pref("app.privacyURL", "");
|
|
|
|
user_pref("app.releaseNotesURL", "");
|
|
|
|
user_pref("app.update.autodownload", "never");
|
|
|
|
user_pref("app.update.url.android", "");
|
|
|
|
user_pref("app.update.service.enabled", false);
|
2022-01-31 21:36:53 +00:00
|
|
|
user_pref("app.update.staging.enabled", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Manage other urls and handlers
|
|
|
|
user_pref("media.decoder-doctor.new-issue-endpoint", "");
|
|
|
|
user_pref("identity.sync.tokenserver.uri", "");
|
|
|
|
user_pref("browser.translation.engine", "");
|
|
|
|
user_pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "");
|
|
|
|
user_pref("gecko.handlerService.schemes.mailto.0.name", "");
|
|
|
|
user_pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "");
|
|
|
|
user_pref("gecko.handlerService.schemes.mailto.1.name", "");
|
|
|
|
user_pref("gecko.handlerService.schemes.irc.0.uriTemplate", "");
|
|
|
|
user_pref("gecko.handlerService.schemes.irc.0.name", "");
|
|
|
|
user_pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "");
|
|
|
|
user_pref("gecko.handlerService.schemes.ircs.0.name", "");
|
|
|
|
user_pref("browser.uitour.themeOrigin", "");
|
|
|
|
user_pref("toolkit.datacollection.infoURL", "");
|
|
|
|
user_pref("identity.mobilepromo.android", "");
|
|
|
|
user_pref("identity.mobilepromo.ios", "");
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable SSDP (Simple Service Discovery Protocol)
|
|
|
|
user_pref("browser.casting.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable tickle time under wifi network
|
|
|
|
user_pref("network.tickle-wifi.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable connections to Mozilla servers
|
|
|
|
user_pref("services.settings.server", "");
|
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// SAFE BROWSING (SB)
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Disable SB (Safe Browsing)
|
2024-03-12 19:10:06 +00:00
|
|
|
user_pref("browser.safebrowsing.malware.enabled", false); // [DOES NOT WORK ON FENIX]
|
|
|
|
user_pref("browser.safebrowsing.phishing.enabled", false); // [DOES NOT WORK ON FENIX]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("browser.safebrowsing.passwords.enabled", false);
|
|
|
|
user_pref("browser.safebrowsing.allowOverride", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable SB checks for downloads (both local lookups + remote)
|
|
|
|
user_pref("browser.safebrowsing.downloads.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable SB checks for downloads (remote)
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.url", "");
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable SB checks for unwanted software
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable "ignore this warning" on SB warnings [FF45+]
|
|
|
|
// user_pref("browser.safebrowsing.allowOverride", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Google connections
|
|
|
|
user_pref("browser.safebrowsing.features.cryptomining.update", false);
|
|
|
|
user_pref("browser.safebrowsing.features.fingerprinting.update", false);
|
|
|
|
user_pref("browser.safebrowsing.features.malware.update", false);
|
|
|
|
user_pref("browser.safebrowsing.features.phishing.update", false);
|
|
|
|
user_pref("browser.safebrowsing.features.trackingAnnotation.update", false);
|
|
|
|
user_pref("browser.safebrowsing.features.trackingProtection.update", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.block_dangerous", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.block_dangerous_host", false);
|
|
|
|
user_pref("browser.safebrowsing.provider.google.updateURL", "");
|
2024-03-12 19:10:06 +00:00
|
|
|
user_pref("browser.safebrowsing.provider.google.gethashURL", ""); // [DOES NOT WORK ON FENIX]
|
|
|
|
user_pref("browser.safebrowsing.provider.google4.updateURL", ""); // [DOES NOT WORK ON FENIX]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("browser.safebrowsing.provider.google4.gethashURL", "");
|
2024-03-12 19:10:06 +00:00
|
|
|
user_pref("browser.safebrowsing.provider.google.reportURL", ""); // [DOES NOT WORK ON FENIX]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("browser.safebrowsing.reportPhishURL", "");
|
2024-03-12 19:10:06 +00:00
|
|
|
user_pref("browser.safebrowsing.provider.google4.reportURL", ""); // [DOES NOT WORK ON FENIX]
|
|
|
|
user_pref("browser.safebrowsing.provider.google4.lists", ""); // [DOES NOT WORK ON FENIX]
|
|
|
|
user_pref("browser.safebrowsing.provider.google.reportMalwareMistakeURL", ""); // [DOES NOT WORK ON FENIX]
|
|
|
|
user_pref("browser.safebrowsing.provider.google.reportPhishMistakeURL", ""); // [DOES NOT WORK ON FENIX]
|
|
|
|
user_pref("browser.safebrowsing.provider.google4.reportMalwareMistakeURL", "") // [DOES NOT WORK ON FENIX]
|
|
|
|
user_pref("browser.safebrowsing.provider.google4.reportPhishMistakeURL", ""); // [DOES NOT WORK ON FENIX]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("browser.safebrowsing.provider.google4.dataSharing.enabled", false);
|
2024-03-12 19:10:06 +00:00
|
|
|
user_pref("browser.safebrowsing.provider.google4.dataSharingURL", ""); // [DOES NOT WORK ON FENIX]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("browser.safebrowsing.provider.google.advisory", "");
|
2024-03-12 19:10:06 +00:00
|
|
|
user_pref("browser.safebrowsing.provider.google.advisoryURL", ""); // [DOES NOT WORK ON FENIX]
|
|
|
|
user_pref("browser.safebrowsing.provider.google.gethashURL", ""); // [DOES NOT WORK ON FENIX]
|
|
|
|
user_pref("browser.safebrowsing.provider.google4.advisoryURL", ""); // [DOES NOT WORK ON FENIX]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
|
|
|
user_pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
|
|
|
|
user_pref("browser.safebrowsing.provider.mozilla.updateURL", "");
|
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// BLOCK IMPLICIT OUTBOUND
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Disable link prefetching
|
|
|
|
user_pref("network.prefetch-next", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable DNS prefetching
|
|
|
|
user_pref("network.dns.disablePrefetch", true);
|
|
|
|
// user_pref("network.dns.disablePrefetchFromHTTPS", true); // [DEFAULT: true]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable predictor / prefetching
|
|
|
|
user_pref("network.predictor.enabled", false);
|
2021-12-03 10:34:38 +00:00
|
|
|
user_pref("network.predictor.enable-prefetch", false); // [FF48+] [DEFAULT: false]
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable link-mouseover opening connection to linked server
|
|
|
|
user_pref("network.http.speculative-parallel-limit", 0);
|
|
|
|
// -------------------------------------
|
2022-02-13 20:18:05 +00:00
|
|
|
// Disable mousedown speculative connections on bookmarks and history [FF98+]
|
2022-02-13 20:12:27 +00:00
|
|
|
user_pref("browser.places.speculativeConnect.enabled", false);
|
|
|
|
// -------------------------------------
|
2021-09-01 15:51:13 +00:00
|
|
|
// Enforce no "Hyperlink Auditing" (click tracking)
|
|
|
|
// user_pref("browser.send_pings", false); // [DEFAULT: false]
|
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2023-09-16 12:32:05 +00:00
|
|
|
// DNS / DoH / PROXY / SOCKS
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Set the proxy server to do any DNS lookups when using SOCKS
|
|
|
|
user_pref("network.proxy.socks_remote_dns", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable using UNC (Uniform Naming Convention) paths [FF61+]
|
|
|
|
user_pref("network.file.disable_unc_paths", true); // [HIDDEN PREF]
|
|
|
|
// -------------------------------------
|
2021-12-16 09:48:14 +00:00
|
|
|
// Disable GIO as a potential proxy bypass vector
|
2023-10-23 18:45:44 +00:00
|
|
|
user_pref("network.gio.supported-protocols", ""); // [HIDDEN PREF] [DEFAULT: "" FF118+]
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
2021-11-18 11:58:48 +00:00
|
|
|
// Disable proxy direct failover for system requests [FF91+]
|
|
|
|
// user_pref("network.proxy.failover_direct", false);
|
|
|
|
// -------------------------------------
|
2021-12-10 11:39:30 +00:00
|
|
|
// Disable proxy bypass for system request failures [FF95+]
|
2023-08-20 17:31:40 +00:00
|
|
|
// user_pref("network.proxy.allow_bypass", false);
|
2021-12-10 11:39:30 +00:00
|
|
|
// -------------------------------------
|
2023-09-17 09:36:53 +00:00
|
|
|
// Disable DNS-over-HTTPS (DoH)[FF60+]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("network.trr.mode", 5);
|
|
|
|
user_pref("network.trr.confirmationNS", "");
|
2023-09-17 09:36:53 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable skipping DoH when parental controls are enabled
|
|
|
|
user_pref("network.trr.uri", "");
|
|
|
|
user_pref("network.trr.custom_uri", "");
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// LOCATION BAR / SEARCH BAR / SUGGESTIONS / HISTORY / FORMS
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Disable location bar making speculative connections [FF56+]
|
|
|
|
user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
|
|
|
// -------------------------------------
|
2023-11-29 20:11:21 +00:00
|
|
|
// Disable location bar contextual suggestions
|
2024-06-14 09:17:46 +00:00
|
|
|
// user_pref("browser.urlbar.quicksuggest.enabled", false); // [FF92+] [DEFAULT: false]
|
|
|
|
// user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] [DEFAULT: false]
|
|
|
|
// user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+] [DEFAULT: false]
|
2021-10-09 17:49:12 +00:00
|
|
|
// -------------------------------------
|
2023-10-23 18:45:44 +00:00
|
|
|
// Disable live search suggestions
|
|
|
|
user_pref("browser.search.suggest.enabled", false);
|
|
|
|
user_pref("browser.urlbar.suggest.searches", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable urlbar trending search suggestions [FF118+]
|
|
|
|
user_pref("browser.urlbar.trending.featureGate", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable urlbar suggestions
|
|
|
|
user_pref("browser.urlbar.addons.featureGate", false); // [FF115+]
|
|
|
|
user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF]
|
|
|
|
user_pref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false]
|
|
|
|
user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false]
|
2024-06-14 09:17:46 +00:00
|
|
|
user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+] [DEFAULT: false]
|
2023-10-23 18:45:44 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable urlbar clipboard suggestions [FF118+]
|
2024-06-14 09:17:46 +00:00
|
|
|
user_pref("browser.urlbar.clipboard.featureGate", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable search and form history
|
|
|
|
user_pref("browser.formfill.enable", false);
|
|
|
|
// -------------------------------------
|
2023-10-23 18:45:44 +00:00
|
|
|
// Disable tab-to-search [FF85+]
|
|
|
|
user_pref("browser.urlbar.suggest.engines", false);
|
|
|
|
// -------------------------------------
|
2021-09-01 15:51:13 +00:00
|
|
|
// Disable coloring of visited links
|
|
|
|
user_pref("layout.css.visited_links_enabled", false);
|
2022-10-25 10:34:57 +00:00
|
|
|
// -------------------------------------
|
2023-11-29 20:11:21 +00:00
|
|
|
// Enable separate default search engine in Private Windows and its UI setting
|
|
|
|
user_pref("browser.search.separatePrivateDefault", true); // [FF70+]
|
|
|
|
user_pref("browser.search.separatePrivateDefault.ui.enabled", true); // [FF71+]
|
|
|
|
// -------------------------------------
|
2022-10-25 10:34:57 +00:00
|
|
|
// Disable merino
|
|
|
|
user_pref("browser.urlbar.merino.enabled", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// PASSWORDS
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Disable saving passwords and password alerts.
|
|
|
|
user_pref("signon.rememberSignons", false);
|
|
|
|
user_pref("signon.generation.enabled", false);
|
|
|
|
user_pref("signon.management.page.breach-alerts.enabled", false);
|
|
|
|
user_pref("signon.management.page.breachAlertUrl", "");
|
|
|
|
// -------------------------------------
|
|
|
|
// 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 (0901)
|
|
|
|
user_pref("security.password_lifetime", 5); // [DEFAULT: 30]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable auto-filling username & password form fields
|
|
|
|
user_pref("signon.autofillForms", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable formless login capture for Password Manager [FF51+]
|
|
|
|
user_pref("signon.formlessCapture.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Limit (or disable) HTTP authentication credentials dialogs triggered by sub-resources [FF41+]
|
|
|
|
// 0 = don't allow sub-resources to open HTTP authentication credentials dialogs
|
|
|
|
// 1 = don't allow cross-origin sub-resources to open HTTP authentication credentials dialogs
|
|
|
|
// 2 = allow sub-resources to open HTTP authentication credentials dialogs (default)
|
|
|
|
user_pref("network.auth.subresource-http-auth-allow", 1);
|
|
|
|
// -------------------------------------
|
|
|
|
// Enforce no automatic authentication on Microsoft sites [FF91+] [WINDOWS 10+]
|
2022-10-05 15:05:11 +00:00
|
|
|
// user_pref("network.http.windows-sso.enabled", false); // [DEFAULT: false]
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// DISK AVOIDANCE
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Disable disk cache
|
|
|
|
user_pref("browser.cache.disk.enable", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable media cache from writing to disk in Private Browsing
|
|
|
|
user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); // [FF75+]
|
|
|
|
user_pref("media.memory_cache_max_size", 65536);
|
|
|
|
// -------------------------------------
|
2024-06-14 09:17:46 +00:00
|
|
|
// Disable storing extra session data
|
2021-09-01 15:51:13 +00:00
|
|
|
// 0=everywhere, 1=unencrypted sites, 2=nowhere
|
|
|
|
user_pref("browser.sessionstore.privacy_level", 2);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable automatic Firefox start and session restore after reboot [FF62+] [WINDOWS]
|
|
|
|
user_pref("toolkit.winRegisterApplicationRestart", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable favicons in shortcuts
|
2023-11-29 20:11:21 +00:00
|
|
|
user_pref("browser.shell.shortcutFavicons", false); [WINDOWS]
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// HTTPS (SSL/TLS / OCSP / CERTS / HPKP)
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Require safe negotiation
|
|
|
|
user_pref("security.ssl.require_safe_negotiation", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable TLS1.3 0-RTT (round-trip time) [FF51+]
|
|
|
|
user_pref("security.tls.enable_0rtt_data", false);
|
|
|
|
//
|
|
|
|
// OCSP (Online Certificate Status Protocol)
|
|
|
|
//
|
2021-10-06 11:07:23 +00:00
|
|
|
// Enforce OCSP fetching to confirm current validity of certificates
|
2021-09-01 15:51:13 +00:00
|
|
|
// 0=disabled, 1=enabled (default), 2=enabled for EV certificates only
|
2021-10-06 11:07:23 +00:00
|
|
|
user_pref("security.OCSP.enabled", 0); // [DEFAULT: 1]
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Set OCSP fetch failures (non-stapled) to hard-fail [SETUP-WEB]
|
|
|
|
user_pref("security.OCSP.require", false);
|
|
|
|
//
|
|
|
|
// CERTS / HPKP (HTTP Public Key Pinning)
|
|
|
|
//
|
2022-07-23 11:37:47 +00:00
|
|
|
// Enable strict PKP (Public Key Pinning)
|
|
|
|
// 0=disabled, 1=allow user MiTM (default; such as your antivirus), 2=strict
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("security.cert_pinning.enforcement_level", 2);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable CRLite [FF73+]
|
2022-03-10 10:21:15 +00:00
|
|
|
// 0 = disabled
|
|
|
|
// 1 = consult CRLite but only collect telemetry (default)
|
|
|
|
// 2 = consult CRLite and enforce both "Revoked" and "Not Revoked" results
|
2023-11-29 20:11:21 +00:00
|
|
|
// 3 = consult CRLite and enforce "Not Revoked" results, but defer to OCSP for "Revoked" (default)
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("security.remote_settings.intermediates.enabled", false);
|
|
|
|
user_pref("security.remote_settings.intermediates.bucket", "");
|
|
|
|
user_pref("security.remote_settings.intermediates.collection", "");
|
|
|
|
user_pref("security.remote_settings.intermediates.signer", "");
|
|
|
|
user_pref("security.remote_settings.crlite_filters.enabled", false);
|
|
|
|
user_pref("security.remote_settings.crlite_filters.bucket", "");
|
|
|
|
user_pref("security.remote_settings.crlite_filters.collection", "");
|
|
|
|
user_pref("security.remote_settings.crlite_filters.signer", "");
|
|
|
|
user_pref("security.pki.crlite_mode", 0);
|
|
|
|
//
|
|
|
|
// MIXED CONTENT
|
|
|
|
//
|
|
|
|
// Disable insecure passive content (such as images) on https pages [SETUP-WEB]
|
2022-11-21 10:59:34 +00:00
|
|
|
// user_pref("security.mixed_content.block_display_content", true); // Defense-in-depth
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
2023-11-29 20:11:21 +00:00
|
|
|
// Enable HTTPS-Only mode in all windows
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("dom.security.https_only_mode", true); // [FF76+]
|
|
|
|
// user_pref("dom.security.https_only_mode_pbm", true); // [FF80+]
|
|
|
|
// -------------------------------------
|
|
|
|
// Enable HTTPS-Only mode for local resources [FF77+]
|
|
|
|
// user_pref("dom.security.https_only_mode.upgrade_local", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable HTTP background requests [FF82+]
|
|
|
|
user_pref("dom.security.https_only_mode_send_http_background_request", false);
|
2023-04-29 09:02:50 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable ping to Mozilla for Man-in-the-Middle detection
|
|
|
|
user_pref("security.certerrors.mitm.priming.enabled", false);
|
|
|
|
user_pref("security.certerrors.mitm.priming.endpoint", "");
|
|
|
|
user_pref("security.pki.mitm_canary_issuer", "");
|
|
|
|
user_pref("security.pki.mitm_canary_issuer.enabled", false);
|
|
|
|
user_pref("security.pki.mitm_detected", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// UI (User Interface)
|
|
|
|
//
|
|
|
|
// Display warning on the padlock for "broken security"
|
|
|
|
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Display advanced information on Insecure Connection warning pages
|
|
|
|
user_pref("browser.xul.error_pages.expert_bad_cert", true);
|
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2023-09-16 12:32:05 +00:00
|
|
|
// REFERERS
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Control the amount of cross-origin information to send [FF52+]
|
|
|
|
// 0=send full URI (default), 1=scheme+host+port+path, 2=scheme+host+port
|
|
|
|
user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
|
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// CONTAINERS
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
2021-09-12 10:29:24 +00:00
|
|
|
// Enable Container Tabs and its UI setting [FF50+]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("privacy.userContext.enabled", true);
|
|
|
|
user_pref("privacy.userContext.ui.enabled", true);
|
|
|
|
// -------------------------------------
|
2022-02-13 20:12:27 +00:00
|
|
|
// Set behavior on "+ Tab" button to display container menu on left click [FF74+]
|
2021-09-01 15:51:13 +00:00
|
|
|
// user_pref("privacy.userContext.newTabContainerOnLeftClick.enabled", true);
|
2024-06-14 09:17:46 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Set external links to open in site-specific containers [FF123+]
|
|
|
|
// user_pref("browser.link.force_default_user_context_id_for_external_opens", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// PLUGINS / MEDIA / WEBRTC
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
2021-12-08 15:17:20 +00:00
|
|
|
// Force WebRTC inside the proxy [FF70+]
|
|
|
|
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Force a single network interface for ICE candidates generation [FF42+]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("media.peerconnection.ice.default_address_only", true);
|
2021-12-08 15:17:20 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Force exclusion of private IPs from ICE candidates [FF51+]
|
|
|
|
// user_pref("media.peerconnection.ice.no_host", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable GMP (Gecko Media Plugins)
|
2022-01-04 17:53:51 +00:00
|
|
|
user_pref("media.gmp-provider.enabled", false);
|
|
|
|
user_pref("media.gmp-manager.url", "");
|
2022-01-04 18:56:48 +00:00
|
|
|
user_pref("media.gmp-gmpopenh264.enabled", false);
|
2022-01-27 11:25:41 +00:00
|
|
|
user_pref("media.gmp-gmpopenh264.autoupdate", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// DOM (DOCUMENT OBJECT MODEL)
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Prevent scripts from moving and resizing open windows
|
|
|
|
user_pref("dom.disable_window_move_resize", true);
|
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// MISCELLANEOUS
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
2023-10-23 18:45:44 +00:00
|
|
|
// Remove temp files opened from non-PB windows with an external application
|
|
|
|
user_pref("browser.download.start_downloads_in_tmp_dir", true); // [FF102+]
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable sending additional analytics to web servers
|
|
|
|
user_pref("beacon.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Remove temp files opened with an external application
|
|
|
|
user_pref("browser.helperApps.deleteTempFileOnExit", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable UITour backend so there is no chance that a remote page can use it
|
|
|
|
user_pref("browser.uitour.enabled", false);
|
|
|
|
user_pref("browser.uitour.url", "");
|
|
|
|
// -------------------------------------
|
|
|
|
// Reset remote debugging to disabled
|
|
|
|
user_pref("devtools.debugger.remote-enabled", false); // [DEFAULT: false]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable websites overriding Firefox's keyboard shortcuts [FF58+]
|
|
|
|
// 0 (default) or 1=allow, 2=block
|
|
|
|
// user_pref("permissions.default.shortcuts", 2);
|
|
|
|
// -------------------------------------
|
|
|
|
// Remove special permissions for certain mozilla domains [FF35+]
|
|
|
|
user_pref("permissions.manager.defaultsUrl", "");
|
|
|
|
// -------------------------------------
|
|
|
|
// Remove webchannel whitelist
|
|
|
|
user_pref("webchannel.allowObject.urlWhitelist", "");
|
|
|
|
// -------------------------------------
|
|
|
|
// Use Punycode in Internationalized Domain Names to eliminate possible spoofing
|
|
|
|
user_pref("network.IDN_show_punycode", true);
|
|
|
|
// -------------------------------------
|
2022-11-21 10:59:34 +00:00
|
|
|
// Enforce PDFJS, disable PDFJS scripting
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("pdfjs.disabled", false); // [DEFAULT: false]
|
|
|
|
user_pref("pdfjs.enableScripting", false); // [FF86+]
|
|
|
|
// -------------------------------------
|
2023-08-20 17:31:40 +00:00
|
|
|
// Disable middle click on new tab button opening URLs or searches using clipboard [FF115+]
|
|
|
|
user_pref("browser.tabs.searchclipboardfor.middleclick", false); // [DEFAULT: false NON-LINUX]
|
|
|
|
// -------------------------------------
|
2024-06-14 09:17:46 +00:00
|
|
|
// Disable content analysis by DLP (Data Loss Prevention) agents
|
|
|
|
user_pref("browser.contentanalysis.default_allow", false); // [FF124+] [DEFAULT: false]
|
|
|
|
// -------------------------------------
|
2023-04-29 09:02:50 +00:00
|
|
|
// Disable the default checkedness for "Save card and address to Firefox" checkboxes
|
|
|
|
user_pref("dom.payments.defaults.saveAddress", false);
|
|
|
|
user_pref("dom.payments.defaults.saveCreditCard", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// DOWNLOADS
|
|
|
|
//
|
|
|
|
// Enable user interaction for security by always asking where to download
|
|
|
|
user_pref("browser.download.useDownloadDir", false);
|
|
|
|
// -------------------------------------
|
2021-11-25 11:22:06 +00:00
|
|
|
// Disable downloads panel opening on every download [FF96+]
|
|
|
|
user_pref("browser.download.alwaysOpenPanel", false);
|
|
|
|
// -------------------------------------
|
2021-09-01 15:51:13 +00:00
|
|
|
// Disable adding downloads to the system's "recent documents" list
|
|
|
|
user_pref("browser.download.manager.addToRecentDocs", false);
|
2022-05-12 08:52:32 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Enable user interaction for security by always asking how to handle new mimetypes [FF101+]
|
|
|
|
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// EXTENSIONS
|
|
|
|
//
|
2023-11-29 20:11:21 +00:00
|
|
|
// Limit allowed extension directories
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("extensions.enabledScopes", 5); // [HIDDEN PREF]
|
2023-11-29 20:11:21 +00:00
|
|
|
// user_pref("extensions.autoDisableScopes", 15); // [DEFAULT: 15]
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable bypassing 3rd party extension install prompts [FF82+]
|
|
|
|
user_pref("extensions.postDownloadThirdPartyPrompt", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable webextension restrictions on certain mozilla domains [FF60+]
|
|
|
|
// user_pref("extensions.webextensions.restrictedDomains", "");
|
2022-01-31 21:36:53 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable extensions suggestions
|
|
|
|
user_pref("extensions.webservice.discoverURL", "");
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2021-12-10 11:39:30 +00:00
|
|
|
// ETP (ENHANCED TRACKING PROTECTION)
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
2021-12-16 09:48:14 +00:00
|
|
|
// Enable ETP Strict Mode [FF86+]
|
2023-11-29 20:11:21 +00:00
|
|
|
user_pref("browser.contentblocking.category", "strict"); // [HIDDEN PREF]
|
2021-12-10 11:39:30 +00:00
|
|
|
// -------------------------------------
|
2022-01-24 12:20:45 +00:00
|
|
|
// Disable ETP web compat features [FF93+]
|
|
|
|
// user_pref("privacy.antitracking.enableWebcompat", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2021-11-22 22:21:49 +00:00
|
|
|
// SHUTDOWN & SANITIZING
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Enable Firefox to clear items on shutdown
|
|
|
|
user_pref("privacy.sanitize.sanitizeOnShutdown", true);
|
2022-08-18 10:34:39 +00:00
|
|
|
//
|
2024-06-14 09:17:46 +00:00
|
|
|
// SANITIZE ON SHUTDOWN: IGNORES "ALLOW" SITE EXCEPTIONS | v2 migration is FF128+
|
2022-08-18 10:34:39 +00:00
|
|
|
//
|
2024-06-14 09:17:46 +00:00
|
|
|
// Set/enforce what items to clear on shutdown
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("privacy.clearOnShutdown.cache", true);
|
2024-06-14 09:17:46 +00:00
|
|
|
user_pref("privacy.clearOnShutdown_v2.cache", true); // [FF128+] [DEFAULT: true]
|
2021-11-18 11:58:48 +00:00
|
|
|
user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true]
|
|
|
|
user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT: true]
|
|
|
|
user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT: true]
|
2024-06-14 09:17:46 +00:00
|
|
|
user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true); // [FF128+] [DEFAULT: true]
|
2022-08-18 10:34:39 +00:00
|
|
|
// user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false]
|
2024-06-14 09:17:46 +00:00
|
|
|
// user_pref("privacy.clearOnShutdown_v2.siteSettings", false); // [FF128+] [DEFAULT: false]
|
2022-08-18 10:34:39 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Set Session Restore to clear on shutdown [FF34+]
|
|
|
|
// user_pref("privacy.clearOnShutdown.openWindows", true);
|
|
|
|
//
|
2024-06-14 09:17:46 +00:00
|
|
|
// SANITIZE ON SHUTDOWN: RESPECTS "ALLOW" SITE EXCEPTIONS FF103+ | v2 migration is FF128+
|
2022-07-06 15:20:49 +00:00
|
|
|
//
|
2022-08-18 10:34:39 +00:00
|
|
|
// Set "Cookies" and "Site Data" to clear on shutdown
|
|
|
|
user_pref("privacy.clearOnShutdown.cookies", true); // Cookies
|
|
|
|
user_pref("privacy.clearOnShutdown.offlineApps", true); // Site Data
|
2024-06-14 09:17:46 +00:00
|
|
|
user_pref("privacy.clearOnShutdown.sessions", true); // Active Logins [DEFAULT: true]
|
|
|
|
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); // Cookies, Site Data, Active Logins [FF128+]
|
2022-08-18 10:34:39 +00:00
|
|
|
//
|
2024-06-14 09:17:46 +00:00
|
|
|
// SANITIZE SITE DATA: IGNORES "ALLOW" SITE EXCEPTIONS
|
2022-07-06 15:20:49 +00:00
|
|
|
//
|
2024-06-14 09:17:46 +00:00
|
|
|
// Set manual "Clear Data" items [FF128+]
|
|
|
|
user_pref("privacy.clearSiteData.cache", true);
|
|
|
|
user_pref("privacy.clearSiteData.cookiesAndStorage", false); // keep false until it respects "allow" site exceptions
|
|
|
|
user_pref("privacy.clearSiteData.historyFormDataAndDownloads", true);
|
|
|
|
// user_pref("privacy.clearSiteData.siteSettings", false);
|
|
|
|
//
|
|
|
|
// SANITIZE HISTORY: IGNORES "ALLOW" SITE EXCEPTIONS | clearHistory migration is FF128+
|
|
|
|
//
|
|
|
|
// Set manual "Clear History" items, also via Ctrl-Shift-Del
|
2021-11-18 11:58:48 +00:00
|
|
|
user_pref("privacy.cpd.cache", true); // [DEFAULT: true]
|
2024-06-14 09:17:46 +00:00
|
|
|
user_pref("privacy.clearHistory.cache", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("privacy.cpd.formdata", true); // Form & Search History
|
|
|
|
user_pref("privacy.cpd.history", true); // Browsing & Download History
|
2024-06-14 09:17:46 +00:00
|
|
|
// user_pref("privacy.cpd.downloads", true); // not used, see note above
|
|
|
|
user_pref("privacy.clearHistory.historyFormDataAndDownloads", true);
|
|
|
|
user_pref("privacy.cpd.cookies", false);
|
2021-11-18 11:58:48 +00:00
|
|
|
user_pref("privacy.cpd.sessions", true); // [DEFAULT: true]
|
2021-12-10 20:37:23 +00:00
|
|
|
user_pref("privacy.cpd.offlineApps", true); // [DEFAULT: false]
|
2024-06-14 09:17:46 +00:00
|
|
|
user_pref("privacy.clearHistory.cookiesAndStorage", false);
|
2022-08-18 10:34:39 +00:00
|
|
|
// user_pref("privacy.cpd.openWindows", false); // Session Restore
|
2022-07-23 11:37:47 +00:00
|
|
|
// user_pref("privacy.cpd.passwords", false);
|
|
|
|
// user_pref("privacy.cpd.siteSettings", false);
|
2024-06-14 09:17:46 +00:00
|
|
|
// user_pref("privacy.clearHistory.siteSettings", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
2024-06-14 09:17:46 +00:00
|
|
|
//
|
|
|
|
// SANITIZE MANUAL: TIMERANGE
|
|
|
|
//
|
|
|
|
// set "Time range to clear" for "Clear Data" and "Clear History"
|
2021-09-01 15:51:13 +00:00
|
|
|
// 0=everything, 1=last hour, 2=last two hours, 3=last four hours, 4=today
|
|
|
|
user_pref("privacy.sanitize.timeSpan", 0);
|
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2024-02-05 19:49:59 +00:00
|
|
|
// FPP (fingerprintingProtection)
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// Enable FPP in PB mode [FF114+]
|
|
|
|
// user_pref("privacy.fingerprintingProtection.pbmode", true); // [DEFAULT: true FF118+]
|
|
|
|
// -------------------------------------
|
|
|
|
// Set global FPP overrides [FF114+]
|
|
|
|
// user_pref("privacy.fingerprintingProtection.overrides", "");
|
2024-06-14 09:17:46 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable remote FPP overrides [FF127+]
|
|
|
|
// user_pref("privacy.fingerprintingProtection.remoteOverrides.enabled", false);
|
2024-02-05 19:49:59 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2023-10-23 18:45:44 +00:00
|
|
|
// RFP (resistFingerprinting)
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
2023-10-23 18:45:44 +00:00
|
|
|
// Enable RFP
|
2023-08-20 17:31:40 +00:00
|
|
|
user_pref("privacy.resistFingerprinting", true); // [FF41+]
|
|
|
|
// user_pref("privacy.resistFingerprinting.pbmode", true); // [FF114+]
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
2021-12-08 15:17:20 +00:00
|
|
|
// Set new window size rounding max values [FF55+]
|
2023-08-20 17:31:40 +00:00
|
|
|
// user_pref("privacy.window.maxInnerWidth", 1400);
|
2021-12-08 15:17:20 +00:00
|
|
|
// user_pref("privacy.window.maxInnerHeight", 900);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable mozAddonManager Web API [FF57+]
|
2023-10-23 18:45:44 +00:00
|
|
|
user_pref("privacy.resistFingerprinting.block_mozAddonManager", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Enable RFP letterboxing [FF67+]
|
|
|
|
user_pref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF]
|
|
|
|
// user_pref("privacy.resistFingerprinting.letterboxing.dimensions", ""); // [HIDDEN PREF]
|
|
|
|
// -------------------------------------
|
|
|
|
// Experimental RFP [FF91+]
|
|
|
|
// user_pref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid");
|
|
|
|
// -------------------------------------
|
2024-06-14 09:17:46 +00:00
|
|
|
// Enable RFP spoof english prompt [FF59+]
|
|
|
|
// 0=prompt, 1=disabled, 2=enabled (requires RFP)
|
|
|
|
user_pref("privacy.spoof_english", 2);
|
|
|
|
// -------------------------------------
|
2021-11-17 10:39:04 +00:00
|
|
|
// Disable using system colors
|
2022-08-18 10:34:39 +00:00
|
|
|
user_pref("browser.display.use_system_colors", false); // [DEFAULT: false NON-WINDOWS]
|
2021-09-26 09:14:53 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Enforce non-native widget theme
|
2021-10-28 18:23:33 +00:00
|
|
|
user_pref("widget.non-native-theme.enabled", true); // [DEFAULT: true]
|
2021-09-26 09:14:53 +00:00
|
|
|
// -------------------------------------
|
2021-10-06 11:07:23 +00:00
|
|
|
// Enforce links targeting new windows to open in a new tab instead
|
|
|
|
// 1=most recent window or tab, 2=new window, 3=new tab
|
|
|
|
user_pref("browser.link.open_newwindow", 3); // [DEFAULT: 3]
|
|
|
|
// -------------------------------------
|
|
|
|
// Set all open window methods to abide by "browser.link.open_newwindow"
|
2021-09-26 09:14:53 +00:00
|
|
|
user_pref("browser.link.open_newwindow.restriction", 0);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable WebGL (Web Graphics Library)
|
|
|
|
user_pref("webgl.disabled", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// OPTIONAL OPSEC
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Start Firefox in PB (Private Browsing) mode
|
|
|
|
// user_pref("browser.privatebrowsing.autostart", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable memory cache
|
|
|
|
// capacity: -1=determine dynamically (default), 0=none, n=memory capacity in kibibytes
|
|
|
|
// user_pref("browser.cache.memory.enable", false);
|
|
|
|
// user_pref("browser.cache.memory.capacity", 0);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable saving passwords
|
|
|
|
// user_pref("signon.rememberSignons", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable permissions manager from writing to disk [FF41+] [RESTART]
|
|
|
|
// user_pref("permissions.memory_only", true); // [HIDDEN PREF]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable intermediate certificate caching [FF41+] [RESTART]
|
2022-11-21 10:59:34 +00:00
|
|
|
// user_pref("security.nocertdb", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable favicons in history and bookmarks
|
|
|
|
user_pref("browser.chrome.site_icons", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Exclude "Undo Closed Tabs" in Session Restore
|
|
|
|
// user_pref("browser.sessionstore.max_tabs_undo", 0);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable resuming session from crash
|
|
|
|
// user_pref("browser.sessionstore.resume_from_crash", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable "open with" in download dialog [FF50+]
|
|
|
|
// user_pref("browser.download.forbid_open_with", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable location bar suggestion types
|
|
|
|
user_pref("browser.urlbar.suggest.history", false);
|
|
|
|
user_pref("browser.urlbar.suggest.bookmark", false);
|
|
|
|
user_pref("browser.urlbar.suggest.openpage", false);
|
|
|
|
user_pref("browser.urlbar.suggest.topsites", false); // [FF78+]
|
2022-01-27 11:25:41 +00:00
|
|
|
user_pref("browser.urlbar.autocomplete.enabled", false);
|
2023-08-20 17:31:40 +00:00
|
|
|
user_pref("browser.urlbar.suggest.weather", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable location bar dropdown
|
|
|
|
// user_pref("browser.urlbar.maxRichResults", 0);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable location bar autofill
|
|
|
|
user_pref("browser.urlbar.autoFill", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable browsing and download history
|
|
|
|
user_pref("places.history.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable Windows jumplist [WINDOWS]
|
|
|
|
// user_pref("browser.taskbar.lists.enabled", false);
|
|
|
|
// user_pref("browser.taskbar.lists.frequent.enabled", false);
|
|
|
|
// user_pref("browser.taskbar.lists.recent.enabled", false);
|
|
|
|
// user_pref("browser.taskbar.lists.tasks.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Discourage downloading to desktop
|
2023-09-16 12:32:05 +00:00
|
|
|
// 0=desktop, 1=downloads (default), 2=custom
|
2021-09-01 15:51:13 +00:00
|
|
|
// user_pref("browser.download.folderList", 2);
|
|
|
|
// -------------------------------------
|
2022-09-12 08:07:57 +00:00
|
|
|
// Disable Form Autofill
|
|
|
|
user_pref("extensions.formautofill.addresses.enabled", false); // [FF55+]
|
|
|
|
user_pref("extensions.formautofill.creditCards.enabled", false); // [FF56+]
|
|
|
|
// -------------------------------------
|
2023-02-14 10:50:48 +00:00
|
|
|
// Limit events that can cause a pop-up
|
|
|
|
// user_pref("dom.popup_allowed_events", "click dblclick mousedown pointerdown");
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable page thumbnail collection
|
|
|
|
// user_pref("browser.pagethumbnails.capturing_disabled", true); // [HIDDEN PREF]
|
|
|
|
// -------------------------------------
|
2023-04-17 10:31:35 +00:00
|
|
|
// Disable Windows native notifications and use app notications instead [FF111+] [WINDOWS]
|
|
|
|
// user_pref("alerts.useSystemBackend.windows.notificationserver.enabled", false);
|
|
|
|
// -------------------------------------
|
2023-09-16 12:32:05 +00:00
|
|
|
// Disable location bar using search
|
|
|
|
user_pref("keyword.enabled", false);
|
|
|
|
// -------------------------------------
|
2023-03-22 17:11:37 +00:00
|
|
|
// Force GPU sandboxing (Linux, default on Windows)
|
|
|
|
// user_pref("security.sandbox.gpu.level", 1); // [NOT READY YET]
|
|
|
|
// -------------------------------------
|
2021-09-01 15:51:13 +00:00
|
|
|
// Enable Site Isolation
|
|
|
|
user_pref("fission.autostart", true);
|
2022-06-23 09:39:00 +00:00
|
|
|
user_pref("gfx.webrender.all", true);
|
2024-07-17 08:49:51 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable Relay email feature
|
|
|
|
user_pref("signon.firefoxRelay.feature", disabled);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable Privacy-Preserving Attribution
|
|
|
|
user_pref("dom.private-attribution.submission.enabled", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// OPTIONAL HARDENING
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Disable MathML (Mathematical Markup Language) [FF51+]
|
|
|
|
user_pref("mathml.disabled", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable in-content SVG (Scalable Vector Graphics) [FF53+]
|
|
|
|
// user_pref("svg.disabled", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable graphite
|
2022-03-02 09:53:19 +00:00
|
|
|
user_pref("gfx.font_rendering.graphite.enabled", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable asm.js [FF22+]
|
|
|
|
user_pref("javascript.options.asmjs", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable Ion and baseline JIT to harden against JS exploits
|
|
|
|
user_pref("javascript.options.ion", false);
|
|
|
|
user_pref("javascript.options.baselinejit", false);
|
|
|
|
user_pref("javascript.options.jit_trustedprincipals", true); // [FF75+] [HIDDEN PREF]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable WebAssembly [FF52+]
|
2022-03-02 09:53:19 +00:00
|
|
|
user_pref("javascript.options.wasm", false);
|
2022-09-12 08:07:57 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable rendering of SVG OpenType fonts
|
|
|
|
user_pref("gfx.font_rendering.opentype_svg.enabled", false);
|
2023-09-16 12:32:05 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable widevine CDM (Content Decryption Module)
|
|
|
|
user_pref("media.gmp-widevinecdm.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable all DRM content (EME: Encryption Media Extension)
|
|
|
|
user_pref("media.eme.enabled", false);
|
|
|
|
user_pref("browser.eme.ui.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable IPv6 if using a VPN
|
|
|
|
// user_pref("network.dns.disableIPv6", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Control when to send a cross-origin referer
|
|
|
|
// * 0=always (default), 1=only if base domains match, 2=only if hosts match
|
|
|
|
// user_pref("network.http.referer.XOriginPolicy", 2);
|
2023-09-17 09:36:53 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Set DoH bootstrap address [FF89+]
|
2023-10-23 18:45:44 +00:00
|
|
|
// user_pref("network.trr.bootstrapAddr", "10.0.0.1"); // [HIDDEN PREF]
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// DON'T TOUCH
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
2022-01-31 21:50:47 +00:00
|
|
|
// Disable Firefox blocklist
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("extensions.blocklist.enabled", false); // [DEFAULT: true]
|
2022-01-31 21:36:53 +00:00
|
|
|
user_pref("extensions.blocklist.addonItemURL", "");
|
|
|
|
user_pref("extensions.blocklist.detailsURL", "");
|
|
|
|
user_pref("extensions.blocklist.itemURL", "");
|
|
|
|
user_pref("services.blocklist.addons.collection", "");
|
|
|
|
user_pref("services.blocklist.addons.signer", "");
|
|
|
|
user_pref("services.blocklist.plugins.collection", "");
|
|
|
|
user_pref("services.blocklist.plugins.signer", "");
|
|
|
|
user_pref("services.blocklist.gfx.collection", "");
|
|
|
|
user_pref("services.blocklist.gfx.signer", "");
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Enforce no referer spoofing
|
|
|
|
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]
|
|
|
|
// -------------------------------------
|
2021-12-10 11:39:30 +00:00
|
|
|
// Enforce no First Party Isolation [FF51+]
|
2022-11-11 10:42:28 +00:00
|
|
|
user_pref("privacy.firstparty.isolate", true); // [DEFAULT: false] [dFPI doesn't work yet]
|
2021-12-10 11:39:30 +00:00
|
|
|
// -------------------------------------
|
2023-11-29 20:11:21 +00:00
|
|
|
// Enforce SmartBlock shims (about:compat) [FF81+]
|
|
|
|
user_pref("extensions.webcompat.enable_shims", true); // [HIDDEN PREF] [DEFAULT: true]
|
2021-12-16 09:48:14 +00:00
|
|
|
// -------------------------------------
|
2022-12-28 10:15:59 +00:00
|
|
|
// Enforce no TLS 1.0/1.1 downgrades
|
2021-12-30 21:26:57 +00:00
|
|
|
user_pref("security.tls.version.enable-deprecated", false); // [DEFAULT: false]
|
|
|
|
// -------------------------------------
|
2022-01-07 19:38:49 +00:00
|
|
|
// Enforce disabling of Web Compatibility Reporter [FF56+]
|
|
|
|
user_pref("extensions.webcompat-reporter.enabled", false); // [DEFAULT: false]
|
|
|
|
// -------------------------------------
|
2023-08-20 17:31:40 +00:00
|
|
|
// Disable quarantined domains [FF115+]
|
|
|
|
user_pref("extensions.quarantinedDomains.enabled", false); // [DEFAULT: true]
|
|
|
|
// -------------------------------------
|
2023-10-23 18:45:44 +00:00
|
|
|
// prefsCleaner: previously active items removed from arkenfox 115-117
|
|
|
|
// user_pref("accessibility.force_disabled", "");
|
|
|
|
// user_pref("browser.urlbar.dnsResolveSingleWordsAfterSearch", "");
|
2023-09-16 12:32:05 +00:00
|
|
|
// user_pref("network.protocol-handler.external.ms-windows-store", "");
|
2023-10-23 18:45:44 +00:00
|
|
|
// user_pref("privacy.partition.always_partition_third_party_non_cookie_storage", "");
|
|
|
|
// user_pref("privacy.partition.always_partition_third_party_non_cookie_storage.exempt_sessionstorage", "");
|
|
|
|
// user_pref("privacy.partition.serviceWorkers", "");
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
// DON'T BOTHER
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// Disable APIs
|
|
|
|
user_pref("geo.enabled", false);
|
|
|
|
// user_pref("full-screen-api.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Set default permissions
|
|
|
|
// 0=always ask (default), 1=allow, 2=block
|
|
|
|
user_pref("permissions.default.geo", 2);
|
|
|
|
user_pref("permissions.default.camera", 2);
|
|
|
|
user_pref("permissions.default.microphone", 2);
|
|
|
|
user_pref("permissions.default.desktop-notification", 2);
|
|
|
|
user_pref("permissions.default.xr", 2); // Virtual Reality
|
|
|
|
// -------------------------------------
|
2023-04-29 09:02:50 +00:00
|
|
|
// Disable canvas capture stream
|
|
|
|
user_pref("canvas.capturestream.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable offscreen canvas
|
|
|
|
user_pref("gfx.offscreencanvas.enabled", false);
|
|
|
|
// -------------------------------------
|
2021-09-01 15:51:13 +00:00
|
|
|
// Disable non-modern cipher suites
|
2023-10-23 18:45:44 +00:00
|
|
|
// user_pref("security.ssl3.ecdhe_ecdsa_aes_128_sha", false);
|
|
|
|
// user_pref("security.ssl3.ecdhe_ecdsa_aes_256_sha", false);
|
2022-11-21 10:59:34 +00:00
|
|
|
// user_pref("security.ssl3.ecdhe_rsa_aes_128_sha", false);
|
|
|
|
// user_pref("security.ssl3.ecdhe_rsa_aes_256_sha", false);
|
|
|
|
// user_pref("security.ssl3.rsa_aes_128_gcm_sha256", false); // no PFS
|
|
|
|
// user_pref("security.ssl3.rsa_aes_256_gcm_sha384", false); // no PFS
|
|
|
|
// user_pref("security.ssl3.rsa_aes_128_sha", false); // no PFS
|
|
|
|
// user_pref("security.ssl3.rsa_aes_256_sha", false); // no PFS
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Control TLS versions
|
|
|
|
// user_pref("security.tls.version.min", 3); // [DEFAULT: 3]
|
|
|
|
// user_pref("security.tls.version.max", 4);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable SSL session IDs [FF36+]
|
2022-11-21 10:59:34 +00:00
|
|
|
// user_pref("security.ssl.disable_session_identifiers", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Onions
|
2021-12-16 09:48:14 +00:00
|
|
|
// user_pref("dom.securecontext.allowlist_onions", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
// user_pref("network.http.referer.hideOnionSource", true);
|
|
|
|
// -------------------------------------
|
|
|
|
// Referers
|
|
|
|
// user_pref("network.http.sendRefererHeader", 2);
|
|
|
|
// user_pref("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
|
2021-10-28 18:23:33 +00:00
|
|
|
// user_pref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2]
|
2021-09-01 15:51:13 +00:00
|
|
|
// user_pref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable HTTP Alternative Services [FF37+]
|
|
|
|
// user_pref("network.http.altsvc.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable website control over browser right-click context menu
|
|
|
|
// user_pref("dom.event.contextmenu.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable icon fonts (glyphs) and local fallback rendering
|
|
|
|
// user_pref("gfx.downloadable_fonts.enabled", false); // [FF41+]
|
|
|
|
// user_pref("gfx.downloadable_fonts.fallback_delay", -1);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable Clipboard API
|
|
|
|
// user_pref("dom.event.clipboardevents.enabled", false);
|
2021-10-28 18:23:33 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable System Add-on updates
|
|
|
|
user_pref("extensions.systemAddon.update.enabled", false); // [FF62+]
|
|
|
|
user_pref("extensions.systemAddon.update.url", ""); // [FF44+]
|
2021-12-10 11:39:30 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Enable the DNT (Do Not Track) HTTP header
|
2023-03-22 20:13:56 +00:00
|
|
|
user_pref("privacy.donottrackheader.enabled", false);
|
2021-12-10 11:39:30 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Customize ETP settings
|
2023-10-23 18:45:44 +00:00
|
|
|
user_pref("network.cookie.cookieBehavior", 5); // [DEFAULT: 5]
|
|
|
|
user_pref("privacy.fingerprintingProtection", true); // [FF114+] [ETP FF119+]
|
2024-02-05 19:49:59 +00:00
|
|
|
user_pref("privacy.partition.network_state.ocsp_cache", true); // [DEFAULT: true FF123+]
|
2023-11-29 20:11:21 +00:00
|
|
|
user_pref("privacy.query_stripping.enabled", true); // [FF101+]
|
2022-07-08 10:40:33 +00:00
|
|
|
user_pref("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");
|
2022-03-02 09:53:19 +00:00
|
|
|
user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true);
|
2022-05-12 08:52:32 +00:00
|
|
|
user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); // [FF100+]
|
2022-03-02 09:53:19 +00:00
|
|
|
user_pref("privacy.trackingprotection.enabled", true);
|
|
|
|
user_pref("privacy.trackingprotection.socialtracking.enabled", true);
|
|
|
|
user_pref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true]
|
|
|
|
user_pref("privacy.trackingprotection.fingerprinting.enabled", true); // [DEFAULT: true]
|
2021-12-10 11:39:30 +00:00
|
|
|
// -------------------------------------
|
2022-02-14 09:15:49 +00:00
|
|
|
// Allow embedded tweets and Reddit posts. Don't do it!
|
|
|
|
// user_pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com"); // [HIDDEN PREF]
|
|
|
|
// user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com"); // [HIDDEN PREF]
|
2022-02-13 10:19:06 +00:00
|
|
|
// -------------------------------------
|
2022-03-10 10:21:15 +00:00
|
|
|
// Disable service workers
|
2023-05-25 15:30:30 +00:00
|
|
|
// user_pref("dom.serviceWorkers.enabled", false);
|
2021-12-16 09:48:14 +00:00
|
|
|
// -------------------------------------
|
2023-09-17 09:36:53 +00:00
|
|
|
// Disable Web Notifications [FF22+]
|
|
|
|
// user_pref("dom.webnotifications.enabled", false);
|
2022-01-27 11:25:41 +00:00
|
|
|
// user_pref("notification.feature.enabled", false);
|
2021-12-16 09:48:14 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable Push Notifications [FF44+]
|
|
|
|
user_pref("dom.push.enabled", false);
|
2022-01-31 21:36:53 +00:00
|
|
|
user_pref("dom.push.connection.enabled", false);
|
|
|
|
user_pref("dom.push.serverURL", "");
|
2021-12-16 09:48:14 +00:00
|
|
|
user_pref("dom.push.userAgentID", "");
|
2023-03-22 17:11:37 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable WebRTC (Web Real-Time Communication)
|
|
|
|
user_pref("media.peerconnection.enabled", false);
|
|
|
|
// -------------------------------------
|
2024-06-14 09:17:46 +00:00
|
|
|
// Enable GPC (Global Privacy Control) in non-PB windows
|
|
|
|
// user_pref("privacy.globalprivacycontrol.enabled", true);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2021-12-10 11:39:30 +00:00
|
|
|
// DON'T BOTHER: FINGERPRINTING
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
2022-11-11 10:42:28 +00:00
|
|
|
// prefsCleaner: reset items useless for anti-fingerprinting
|
|
|
|
// user_pref("browser.zoom.siteSpecific", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
// user_pref("dom.enable_performance", false);
|
|
|
|
// user_pref("dom.enable_resource_timing", false);
|
|
|
|
// user_pref("dom.maxHardwareConcurrency", 2);
|
|
|
|
// user_pref("font.system.whitelist", ""); // [HIDDEN PREF]
|
|
|
|
// user_pref("general.appname.override", ""); // [HIDDEN PREF]
|
|
|
|
// user_pref("general.appversion.override", ""); // [HIDDEN PREF]
|
2021-12-10 13:38:40 +00:00
|
|
|
// user_pref("general.buildID.override", "20181001000000"); // [HIDDEN PREF]
|
2021-09-01 15:51:13 +00:00
|
|
|
// user_pref("general.oscpu.override", ""); // [HIDDEN PREF]
|
|
|
|
// user_pref("general.platform.override", ""); // [HIDDEN PREF]
|
2024-03-12 19:32:44 +00:00
|
|
|
// user_pref("general.useragent.override", "Mozilla/5.0 (Android 10; Mobile; rv:115.0) Gecko/115.0 Firefox/115.0"); // [HIDDEN PREF]
|
2022-11-11 10:42:28 +00:00
|
|
|
// user_pref("media.ondevicechange.enabled", false);
|
|
|
|
// user_pref("media.video_stats.enabled", false);
|
|
|
|
// user_pref("webgl.enable-debug-renderer-info", false);
|
2023-04-29 09:02:50 +00:00
|
|
|
user_pref("ui.use_standins_for_native_colors", true);
|
2024-03-12 19:10:06 +00:00
|
|
|
user_pref("browser.display.use_document_fonts", 0); // [DOES NOT WORK ON FENIX]
|
2022-11-11 10:42:28 +00:00
|
|
|
user_pref("device.sensors.enabled", false);
|
|
|
|
user_pref("dom.gamepad.enabled", false);
|
|
|
|
user_pref("dom.netinfo.enabled", false);
|
|
|
|
user_pref("dom.vibrator.enabled", false);
|
2023-03-22 17:11:37 +00:00
|
|
|
user_pref("dom.w3c_touch_events.enabled", 1); // [FENIX BUG]
|
2022-11-11 10:42:28 +00:00
|
|
|
user_pref("dom.webaudio.enabled", false);
|
|
|
|
user_pref("media.navigator.enabled", false);
|
|
|
|
user_pref("media.webspeech.synth.enabled", false);
|
2023-04-17 10:31:35 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable API for measuring text width and height.
|
|
|
|
user_pref("dom.textMetrics.actualBoundingBox.enabled", false);
|
|
|
|
user_pref("dom.textMetrics.baselines.enabled", false);
|
|
|
|
user_pref("dom.textMetrics.emHeight.enabled", false);
|
|
|
|
user_pref("dom.textMetrics.fontBoundingBox.enabled", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2022-11-11 10:42:28 +00:00
|
|
|
// NON-PROJECT RELATED
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
|
|
|
//
|
|
|
|
// WELCOME & WHAT'S NEW NOTICES
|
|
|
|
//
|
2023-11-29 20:11:21 +00:00
|
|
|
user_pref("browser.startup.homepage_override.mstone", "ignore"); // [HIDDEN PREF]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("startup.homepage_welcome_url", "");
|
|
|
|
user_pref("startup.homepage_welcome_url.additional", "");
|
|
|
|
user_pref("startup.homepage_override_url", ""); // What's New page after updates
|
|
|
|
//
|
|
|
|
// WARNINGS
|
|
|
|
//
|
2021-11-17 10:39:04 +00:00
|
|
|
user_pref("browser.tabs.warnOnClose", false); // [DEFAULT: false FF94+]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("browser.tabs.warnOnCloseOtherTabs", false);
|
|
|
|
user_pref("browser.tabs.warnOnOpen", false);
|
2021-11-23 14:14:44 +00:00
|
|
|
user_pref("browser.warnOnQuitShortcut", false); // [FF94+]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("full-screen-api.warning.delay", 0);
|
|
|
|
user_pref("full-screen-api.warning.timeout", 0);
|
|
|
|
user_pref("browser.warnOnQuit", false);
|
|
|
|
//
|
2022-01-12 15:15:54 +00:00
|
|
|
// UPDATES
|
|
|
|
//
|
|
|
|
// Disable auto-INSTALLING Firefox updates [NON-WINDOWS]
|
|
|
|
user_pref("app.update.auto", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable auto-CHECKING for extension and theme updates
|
2024-03-12 19:10:06 +00:00
|
|
|
user_pref("extensions.update.enabled", false);
|
|
|
|
user_pref("extensions.update.url", "");
|
|
|
|
user_pref("extensions.autoupdate.enabled", false);
|
|
|
|
user_pref("extensions.update.background.url", "");
|
2022-01-12 15:15:54 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable auto-INSTALLING extension and theme updates
|
2024-03-12 19:10:06 +00:00
|
|
|
user_pref("extensions.update.autoUpdateDefault", false);
|
2022-01-12 15:15:54 +00:00
|
|
|
// -------------------------------------
|
|
|
|
// Disable extension metadata
|
|
|
|
user_pref("extensions.getAddons.cache.enabled", false);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable search engine updates (e.g. OpenSearch)
|
|
|
|
user_pref("browser.search.update", false);
|
|
|
|
//
|
2021-09-01 15:51:13 +00:00
|
|
|
// CONTENT BEHAVIOR
|
|
|
|
//
|
|
|
|
user_pref("accessibility.typeaheadfind", false); // enable "Find As You Type"
|
|
|
|
user_pref("clipboard.autocopy", false); // disable autocopy default [LINUX]
|
|
|
|
user_pref("layout.spellcheckDefault", 0); // 0=none, 1-multi-line, 2=multi-line & single-line
|
|
|
|
//
|
2022-10-05 15:05:11 +00:00
|
|
|
// FIREFOX HOME CONTENT
|
2022-11-11 10:42:28 +00:00
|
|
|
//
|
2022-10-05 15:05:11 +00:00
|
|
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // Recommended by Pocket
|
|
|
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
|
2022-10-25 10:34:57 +00:00
|
|
|
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
|
|
|
|
user_pref("browser.newtabpage.activity-stream.showSearch", false);
|
|
|
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false);
|
|
|
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false);
|
|
|
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false);
|
2022-10-05 15:05:11 +00:00
|
|
|
//
|
2021-09-01 15:51:13 +00:00
|
|
|
// UX FEATURES
|
|
|
|
//
|
2021-12-10 15:31:31 +00:00
|
|
|
user_pref("extensions.pocket.enabled", false); // Pocket Account [FF46+]
|
2022-01-07 15:19:01 +00:00
|
|
|
user_pref("extensions.screenshots.disabled", true); // [FF55+]
|
|
|
|
user_pref("identity.fxaccounts.enabled", false); // Firefox Accounts & Sync [FF60+] [RESTART]
|
2021-09-01 15:51:13 +00:00
|
|
|
user_pref("reader.parse-on-load.enabled", false); // Reader View
|
2022-10-25 10:34:57 +00:00
|
|
|
user_pref("browser.tabs.firefox-view", false); // Firefox-view
|
2021-09-01 15:51:13 +00:00
|
|
|
//
|
|
|
|
// OTHER
|
|
|
|
//
|
|
|
|
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable CFR [FF67+]
|
|
|
|
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable CFR [FF67+]
|
2023-01-09 16:43:26 +00:00
|
|
|
user_pref("browser.urlbar.showSearchTerms.enabled", false);
|
2022-10-05 15:05:11 +00:00
|
|
|
user_pref("browser.sessionstore.interval", 30000); // minimum interval between session save operations
|
2022-03-02 09:53:19 +00:00
|
|
|
user_pref("network.manage-offline-status", false);
|
2021-09-01 15:51:13 +00:00
|
|
|
// user_pref("xpinstall.signatures.required", false); // enforced extension signing (Nightly/ESR)
|
|
|
|
//
|
2021-11-25 11:22:06 +00:00
|
|
|
// MORE
|
|
|
|
//
|
|
|
|
// user_pref("security.insecure_connection_icon.enabled", ""); // [DEFAULT: true FF70+]
|
|
|
|
// user_pref("security.mixed_content.block_active_content", ""); // [DEFAULT: true since at least FF60]
|
|
|
|
user_pref("security.ssl.enable_ocsp_stapling", false); // [DEFAULT: true FF26+]
|
|
|
|
// user_pref("webgl.disable-fail-if-major-performance-caveat", ""); // [DEFAULT: true FF86+]
|
|
|
|
user_pref("webgl.enable-webgl2", false);
|
|
|
|
// user_pref("webgl.min_capability_mode", "");
|
2022-01-27 11:25:41 +00:00
|
|
|
user_pref("device.camera.enabled", false);
|
|
|
|
user_pref("media.realtime_decoder.enabled", false);
|
2021-11-25 11:22:06 +00:00
|
|
|
//
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
2023-10-23 18:45:44 +00:00
|
|
|
// DEPRECATED / RENAMED
|
2021-09-01 15:51:13 +00:00
|
|
|
// >>>>>>>>>>>>>>>>>>>>>
|
2021-10-16 10:19:59 +00:00
|
|
|
//
|
2023-09-17 09:36:53 +00:00
|
|
|
// ESR115.x still uses all the following prefs
|
|
|
|
//
|
|
|
|
// FF116
|
|
|
|
//
|
|
|
|
// Set RFP's font visibility level [FF94+]
|
|
|
|
// user_pref("layout.css.font-visibility.resistFingerprinting", 1); // [DEFAULT: 1]
|
|
|
|
//
|
|
|
|
// FF117
|
|
|
|
//
|
|
|
|
// Disable Windows Microsoft Family Safety cert [FF50+] [WINDOWS]
|
|
|
|
user_pref("security.family_safety.mode", 0);
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable service worker Web Notifications [FF44+]
|
|
|
|
// user_pref("dom.webnotifications.serviceworker.enabled", false);
|
2023-10-23 18:45:44 +00:00
|
|
|
//
|
|
|
|
// FF118
|
|
|
|
//
|
|
|
|
// Limit font visibility (Windows, Mac, some Linux) [FF94+]
|
|
|
|
// user_pref("layout.css.font-visibility.private", 1);
|
|
|
|
// user_pref("layout.css.font-visibility.standard", 1);
|
|
|
|
// user_pref("layout.css.font-visibility.trackingprotection", 1);
|
|
|
|
// -------------------------------------
|
2023-11-29 20:11:21 +00:00
|
|
|
// Disable permissions delegation [FF73+]
|
2023-10-23 18:45:44 +00:00
|
|
|
// user_pref("permissions.delegation.enabled", false);
|
2023-11-29 20:11:21 +00:00
|
|
|
//
|
|
|
|
// FF119
|
|
|
|
//
|
|
|
|
// Use en-US locale regardless of the system or region locale
|
|
|
|
// user_pref("javascript.use_us_english_locale", true); // [HIDDEN PREF]
|
|
|
|
// -------------------------------------
|
|
|
|
// Disable skipping DoH when parental controls are enabled [FF70+]
|
|
|
|
user_pref("network.dns.skipTRR-when-parental-control-enabled", false);
|
2024-03-12 19:10:06 +00:00
|
|
|
//
|
2024-06-14 09:17:46 +00:00
|
|
|
// FF123
|
|
|
|
//
|
|
|
|
// Disable PingCentre telemetry (used in several System Add-ons) [FF57+]
|
|
|
|
user_pref("browser.ping-centre.telemetry", false);
|
|
|
|
//
|
|
|
|
// FF126
|
|
|
|
//
|
|
|
|
// Disable What's New toolbar icon [FF69+]
|
|
|
|
user_pref("browser.messaging-system.whatsNewPanel.enabled", false);
|
|
|
|
//
|
2024-03-12 19:10:06 +00:00
|
|
|
// Check the prefs are applied
|
|
|
|
user_pref("_config.is.applied", true);
|