Update 'user.js'

This commit is contained in:
Narsil 2021-05-27 08:16:50 +00:00
parent 000451a0a1
commit b5613f93e1
1 changed files with 55 additions and 1 deletions

56
user.js
View File

@ -57,6 +57,11 @@ user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
user_pref("browser.newtabpage.activity-stream.feeds.asrouterfeed", false); user_pref("browser.newtabpage.activity-stream.feeds.asrouterfeed", false);
user_pref("browser.newtabpage.activity-stream.feeds.favicon", false); user_pref("browser.newtabpage.activity-stream.feeds.favicon", false);
user_pref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
user_pref("browser.newtabpage.activity-stream.discoverystream.endpoints", "");
user_pref("browser.newtabpage.activity-stream.telemetry.structuredIngestion.endpoint", "");
user_pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned", "");
user_pref("browser.newtabpage.activity-stream.fxaccounts.endpoint", "");
// ------------------------------------- // -------------------------------------
// Disable Activity Stream Snippets // Disable Activity Stream Snippets
// Runs code received from a server (aka Remote Code Execution) and sends information back to a metrics server // Runs code received from a server (aka Remote Code Execution) and sends information back to a metrics server
@ -125,6 +130,8 @@ user_pref("intl.accept_languages", "en-US, en");
// [SETUP-WEB] May break some input methods e.g xim/ibus for CJK languages // [SETUP-WEB] May break some input methods e.g xim/ibus for CJK languages
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=867501,1629630 ***/ // https://bugzilla.mozilla.org/buglist.cgi?bug_id=867501,1629630 ***/
user_pref("javascript.use_us_english_locale", true); // [HIDDEN PREF] user_pref("javascript.use_us_english_locale", true); // [HIDDEN PREF]
user_pref("intl.locale.requested", "en-US");
user_pref("privacy.spoof_english", 2);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// QUIET FOX // QUIET FOX
@ -140,6 +147,7 @@ user_pref("app.update.staging.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable add-on and certificate blocklists (OneCRL) from Mozilla // Disable add-on and certificate blocklists (OneCRL) from Mozilla
user_pref("extensions.blocklist.enabled", false); user_pref("extensions.blocklist.enabled", false);
user_pref("extensions.blocklist.detailsURL", "");
user_pref("extensions.blocklist.url", ""); user_pref("extensions.blocklist.url", "");
user_pref("services.blocklist.addons.collection", ""); user_pref("services.blocklist.addons.collection", "");
user_pref("services.blocklist.plugins.collection", ""); user_pref("services.blocklist.plugins.collection", "");
@ -153,6 +161,7 @@ user_pref("services.settings.security.onecrl.signer", "");
// Disable auto-INSTALLING extension and theme updates // Disable auto-INSTALLING extension and theme updates
// [SETTING] about:addons>Extensions>[cog-wheel-icon]>Update Add-ons Automatically (toggle) ***/ // [SETTING] about:addons>Extensions>[cog-wheel-icon]>Update Add-ons Automatically (toggle) ***/
user_pref("extensions.update.autoUpdateDefault", false); user_pref("extensions.update.autoUpdateDefault", false);
user_pref("extensions.update.background.url", "");
// ------------------------------------- // -------------------------------------
// Disable extension metadata // Disable extension metadata
// used when installing/updating an extension, and in daily background update checks: // used when installing/updating an extension, and in daily background update checks:
@ -185,6 +194,8 @@ user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); // [FF55+]
user_pref("toolkit.telemetry.updatePing.enabled", false); // [FF56+] user_pref("toolkit.telemetry.updatePing.enabled", false); // [FF56+]
user_pref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter user_pref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+] user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+]
user_pref("toolkit.crashreporter.infoURL", "");
user_pref("security.protectionspopup.recordEventTelemetry", false);
// ------------------------------------- // -------------------------------------
// Disable collect Telemetry on tracking resources traffic. // Disable collect Telemetry on tracking resources traffic.
// An experiment that analyses HTTP traffic and will run at most until Firefox 73, looking for the prevalence of tracking resources going through HTTP. // An experiment that analyses HTTP traffic and will run at most until Firefox 73, looking for the prevalence of tracking resources going through HTTP.
@ -196,6 +207,7 @@ user_pref("network.traffic_analyzer.enabled", false);
user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF] user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF]
user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF] user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
user_pref("toolkit.coverage.endpoint.base", ""); user_pref("toolkit.coverage.endpoint.base", "");
user_pref("toolkit.coverage.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable Health Reports // Disable Health Reports
// [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to send technical... data ***/ // [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to send technical... data ***/
@ -216,6 +228,8 @@ user_pref("app.shield.optoutstudies.enabled", false);
// Privacy & Security>Firefox Data Collection & Use>Allow Firefox to make personalized extension recommendations // Privacy & Security>Firefox Data Collection & Use>Allow Firefox to make personalized extension recommendations
// https://support.mozilla.org/kb/personalized-extension-recommendations ***/ // https://support.mozilla.org/kb/personalized-extension-recommendations ***/
user_pref("browser.discovery.enabled", false); user_pref("browser.discovery.enabled", false);
user_pref("browser.discovery.containers.enabled", false);
user_pref("browser.discovery.sites", "");
// ------------------------------------- // -------------------------------------
// Disable Crash Reports ***/ // Disable Crash Reports ***/
user_pref("breakpad.reportURL", ""); user_pref("breakpad.reportURL", "");
@ -235,6 +249,10 @@ user_pref("network.captive-portal-service.enabled", false); // [FF52+]
// Disable Network Connectivity checks [FF65+] // Disable Network Connectivity checks [FF65+]
// https://bugzilla.mozilla.org/1460537 ***/ // https://bugzilla.mozilla.org/1460537 ***/
user_pref("network.connectivity-service.enabled", false); user_pref("network.connectivity-service.enabled", false);
user_pref("network.connectivity-service.IPv6.url", "http://0.0.0.0");
user_pref("network.connectivity-service.IPv4.url", "http://0.0.0.0");
user_pref("network.connectivity-service.DNSv6.domain", "");
user_pref("network.connectivity-service.DNSv4.domain", "");
// ------------------------------------- // -------------------------------------
// Disable contentblocking reports // Disable contentblocking reports
user_pref("browser.contentblocking.reportBreakage.url", ""); user_pref("browser.contentblocking.reportBreakage.url", "");
@ -255,6 +273,7 @@ user_pref("browser.contentblocking.report.tracker.url", "");
user_pref("browser.contentblocking.report.endpoint_url", ""); user_pref("browser.contentblocking.report.endpoint_url", "");
user_pref("browser.contentblocking.report.monitor.home_page_url", ""); user_pref("browser.contentblocking.report.monitor.home_page_url", "");
user_pref("browser.contentblocking.report.monitor.preferences_url", ""); user_pref("browser.contentblocking.report.monitor.preferences_url", "");
user_pref("browser.contentblocking.report.vpn.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable lockwise app callout to the ETP card // Disable lockwise app callout to the ETP card
// https://bugzilla.mozilla.org/show_bug.cgi?id=1612091 // https://bugzilla.mozilla.org/show_bug.cgi?id=1612091
@ -268,6 +287,8 @@ user_pref("browser.contentblocking.report.mobile-ios.url", "");
// Disable send content blocking log to about:protections // Disable send content blocking log to about:protections
// https://bugzilla.mozilla.org/show_bug.cgi?id=1549832 // https://bugzilla.mozilla.org/show_bug.cgi?id=1549832
user_pref("browser.contentblocking.database.enabled", false); user_pref("browser.contentblocking.database.enabled", false);
user_pref("browser.contentblocking.cryptomining.preferences.ui.enabled", false);
user_pref("browser.contentblocking.fingerprinting.preferences.ui.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable celebrating milestone toast when certain numbers of trackers are blocked // Disable celebrating milestone toast when certain numbers of trackers are blocked
user_pref("browser.contentblocking.cfr-milestone.enabled", false); user_pref("browser.contentblocking.cfr-milestone.enabled", false);
@ -300,6 +321,24 @@ user_pref("security.pki.crlite_mode", 0);
// Block unwanted connections // Block unwanted connections
user_pref("app.feedback.baseURL", ""); user_pref("app.feedback.baseURL", "");
user_pref("app.support.baseURL", ""); user_pref("app.support.baseURL", "");
user_pref("app.update.service.enabled", false);
// -------------------------------------
// 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 report browser errors to Mozilla // Disable report browser errors to Mozilla
// https://bugzilla.mozilla.org/show_bug.cgi?id=1426482 // https://bugzilla.mozilla.org/show_bug.cgi?id=1426482
@ -383,6 +422,7 @@ user_pref("browser.safebrowsing.provider.mozilla.updateURL", "");
user_pref("app.normandy.enabled", false); user_pref("app.normandy.enabled", false);
user_pref("app.normandy.api_url", ""); user_pref("app.normandy.api_url", "");
user_pref("app.normandy.shieldLearnMoreUrl", ""); user_pref("app.normandy.shieldLearnMoreUrl", "");
user_pref("app.normandy.user_id", "");
// ------------------------------------- // -------------------------------------
// Disable System Add-on updates ***/ // Disable System Add-on updates ***/
user_pref("extensions.systemAddon.update.enabled", false); // [FF62+] user_pref("extensions.systemAddon.update.enabled", false); // [FF62+]
@ -506,8 +546,9 @@ user_pref("network.gio.supported-protocols", ""); // [HIDDEN PREF]
// ------------------------------------- // -------------------------------------
// Disable DNS-over-HTTPS (DoH) // Disable DNS-over-HTTPS (DoH)
// See for details: https://support.mozilla.org/en-US/kb/firefox-dns-over-https // See for details: https://support.mozilla.org/en-US/kb/firefox-dns-over-https
user_pref("network.trr.mode", 0); user_pref("network.trr.mode", 5);
user_pref("network.trr.uri", ""); user_pref("network.trr.uri", "");
user_pref("network.trr.confirmationNS", "");
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// LOCATION BAR / SEARCH BAR / SUGGESTIONS / HISTORY / FORMS // LOCATION BAR / SEARCH BAR / SUGGESTIONS / HISTORY / FORMS
@ -896,6 +937,7 @@ user_pref("browser.xul.error_pages.expert_bad_cert", true);
// Display "insecure" icon and "Not Secure" text on HTTP sites ***/ // Display "insecure" icon and "Not Secure" text on HTTP sites ***/
// user_pref("security.insecure_connection_icon.enabled", true); // [FF59+] [DEFAULT: true] // user_pref("security.insecure_connection_icon.enabled", true); // [FF59+] [DEFAULT: true]
user_pref("security.insecure_connection_text.enabled", true); // [FF60+] user_pref("security.insecure_connection_text.enabled", true); // [FF60+]
user_pref("security.insecure_connection_text.pbmode.enabled", true);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// FONTS ***/ // FONTS ***/
@ -1281,6 +1323,11 @@ user_pref("devtools.chrome.enabled", false);
// https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/16222 ***/ // https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/16222 ***/
user_pref("devtools.debugger.remote-enabled", false); // [DEFAULT: false] user_pref("devtools.debugger.remote-enabled", false); // [DEFAULT: false]
user_pref("devtools.webide.autoinstallADBHelper", false); user_pref("devtools.webide.autoinstallADBHelper", false);
user_pref("devtools.performance.recording.ui-base-url", "http://localhost:55555");
user_pref("devtools.devices.url", "");
user_pref("devtools.remote.adb.extensionURL", ""); // [FF64+]
user_pref("devtools.remote.adb.extensionID", "");
user_pref("devtools.selfxss.count", 0);
// ------------------------------------- // -------------------------------------
// Disable MathML (Mathematical Markup Language) [FF51+] [SETUP-HARDEN] // Disable MathML (Mathematical Markup Language) [FF51+] [SETUP-HARDEN]
// [TEST] https://arkenfox.github.io/TZP/tzp.html#misc // [TEST] https://arkenfox.github.io/TZP/tzp.html#misc
@ -1573,6 +1620,7 @@ user_pref("privacy.resistFingerprinting", true);
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=1384330,1406795,1415644,1453988 ***/ // https://bugzilla.mozilla.org/buglist.cgi?bug_id=1384330,1406795,1415644,1453988 ***/
user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); // [HIDDEN PREF] user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); // [HIDDEN PREF]
user_pref("extensions.webextensions.restrictedDomains", ""); user_pref("extensions.webextensions.restrictedDomains", "");
user_pref("extensions.webextensions.identity.redirectDomain", "");
// ------------------------------------- // -------------------------------------
// Enable RFP letterboxing [FF67+] // Enable RFP letterboxing [FF67+]
// Dynamically resizes the inner window by applying margins in stepped ranges // Dynamically resizes the inner window by applying margins in stepped ranges
@ -1765,6 +1813,12 @@ user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features",
// [SETTING] General>Browsing>Recommend features as you browse // [SETTING] General>Browsing>Recommend features as you browse
user_pref("network.manage-offline-status", false); // see bugzilla 620472 user_pref("network.manage-offline-status", false); // see bugzilla 620472
// user_pref("xpinstall.signatures.required", false); // enforced extension signing (Nightly/ESR) // user_pref("xpinstall.signatures.required", false); // enforced extension signing (Nightly/ESR)
user_pref("xpinstall.signatures.devInfoURL", "");
user_pref("webextensions.storage.sync.serverURL", "");
user_pref("lightweightThemes.getMoreURL", "");
user_pref("remote.enabled", false);
user_pref("javascript.options.shared_memory", false);
user_pref("default-browser-agent.enabled", false);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// DEPRECATED / REMOVED / LEGACY / RENAMED // DEPRECATED / REMOVED / LEGACY / RENAMED