Update 'user.js'

This commit is contained in:
Narsil 2021-05-27 07:57:24 +00:00
parent 7a9d062527
commit 1c71ff099f
1 changed files with 54 additions and 1 deletions

55
user.js
View File

@ -58,6 +58,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.asrouterfeed", 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
// Runs code received from a server (aka Remote Code Execution) and sends information back to a metrics server
@ -126,6 +131,8 @@ user_pref("intl.accept_languages", "en-US, en");
// [SETUP-WEB] May break some input methods e.g xim/ibus for CJK languages
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=867501,1629630
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
@ -151,6 +158,7 @@ user_pref("app.update.staging.enabled", false);
// -------------------------------------
// Disable add-on and certificate blocklists (OneCRL) from Mozilla
user_pref("extensions.blocklist.enabled", false);
user_pref("extensions.blocklist.detailsURL", "");
user_pref("extensions.blocklist.url", "");
user_pref("services.blocklist.addons.collection", "");
user_pref("services.blocklist.plugins.collection", "");
@ -197,6 +205,8 @@ 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+]
user_pref("toolkit.crashreporter.infoURL", "");
user_pref("security.protectionspopup.recordEventTelemetry", false);
// -------------------------------------
// 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.
@ -208,6 +218,7 @@ user_pref("network.traffic_analyzer.enabled", false);
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", "");
user_pref("toolkit.coverage.enabled", false);
// -------------------------------------
// Disable Health Reports
// [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to send technical... data
@ -228,6 +239,8 @@ user_pref("app.shield.optoutstudies.enabled", false);
// Privacy & Security>Firefox Data Collection & Use>Allow Firefox to make personalized extension recommendations
// https://support.mozilla.org/kb/personalized-extension-recommendations
user_pref("browser.discovery.enabled", false);
user_pref("browser.discovery.containers.enabled", false);
user_pref("browser.discovery.sites", "");
// -------------------------------------
// Disable Crash Reports
user_pref("breakpad.reportURL", "");
@ -247,6 +260,10 @@ user_pref("network.captive-portal-service.enabled", false); // [FF52+]
// Disable Network Connectivity checks [FF65+]
// https://bugzilla.mozilla.org/1460537
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
user_pref("browser.contentblocking.reportBreakage.url", "");
@ -267,6 +284,7 @@ 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);
// -------------------------------------
// Disable lockwise app callout to the ETP card
// https://bugzilla.mozilla.org/show_bug.cgi?id=1612091
@ -280,6 +298,8 @@ user_pref("browser.contentblocking.report.mobile-ios.url", "");
// Disable send content blocking log to about:protections
// https://bugzilla.mozilla.org/show_bug.cgi?id=1549832
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
user_pref("browser.contentblocking.cfr-milestone.enabled", false);
@ -321,6 +341,24 @@ 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);
// -------------------------------------
// 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
// https://bugzilla.mozilla.org/show_bug.cgi?id=1426482
@ -421,6 +459,7 @@ user_pref("browser.safebrowsing.features.trackingProtection.update", false);
user_pref("app.normandy.enabled", false);
user_pref("app.normandy.api_url", "");
user_pref("app.normandy.shieldLearnMoreUrl", "");
user_pref("app.normandy.user_id", "");
// -------------------------------------
// Disable System Add-on updates
user_pref("extensions.systemAddon.update.enabled", false); // [FF62+]
@ -544,8 +583,9 @@ user_pref("network.gio.supported-protocols", ""); // [HIDDEN PREF]
// -------------------------------------
// Disable DNS-over-HTTPS (DoH)
// 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.confirmationNS", "");
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// LOCATION BAR / SEARCH BAR / SUGGESTIONS / HISTORY / FORMS
@ -934,6 +974,7 @@ user_pref("browser.xul.error_pages.expert_bad_cert", true);
// 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_text.enabled", true); // [FF60+]
user_pref("security.insecure_connection_text.pbmode.enabled", true);
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// FONTS
@ -1319,6 +1360,11 @@ user_pref("devtools.chrome.enabled", false);
// https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/16222
user_pref("devtools.debugger.remote-enabled", false); // [DEFAULT: 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]
// [TEST] https://arkenfox.github.io/TZP/tzp.html#misc
@ -1610,6 +1656,7 @@ user_pref("privacy.resistFingerprinting", true);
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=1384330,1406795,1415644,1453988
user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); // [HIDDEN PREF]
user_pref("extensions.webextensions.restrictedDomains", "");
user_pref("extensions.webextensions.identity.redirectDomain", "");
// -------------------------------------
// Enable RFP letterboxing [FF67+]
// Dynamically resizes the inner window by applying margins in stepped ranges
@ -1802,6 +1849,12 @@ user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features",
// [SETTING] General>Browsing>Recommend features as you browse
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.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);
// -------------------------------------
// Test user.js in about:config
user_pref("_config.applied", true);