Update 'user.js'

 Synced with Desktop version (missing prefs)
ℹ️ Updated author link, added mirrors
ℹ️ Moved lots of preferences from FF52-FF63 and newest ones from FF69+ into deprecated section (keeping them active for ESR60.x)
ℹ️ Fixed typos
This commit is contained in:
quindecim 2019-08-24 15:06:23 -04:00
parent f91d21135e
commit 0f47ba43db
1 changed files with 234 additions and 104 deletions

338
user.js
View File

@ -2,10 +2,12 @@
/********************************************************************************** /**********************************************************************************
* user.js | Fennec F-Droid * * user.js | Fennec F-Droid *
* * * *
* https://git.lelux.fi/quindecim/fennec_user.js * * https://git.nixnet.xyz/quindecim/fennec_user.js *
*********************************************************************************/ *********************************************************************************/
// //
// Author : quindecim : https://git.lelux.fi/quindecim // Author : quindecim : https://git.nixnet.xyz/quindecim
// https://git.lelux.fi/quindecim | MIRROR
// https://git.lushka.al/quindecim | MIRROR
// //
// //
// Based on : gHacks : https://github.com/ghacksuserjs/ghacks-user.js // Based on : gHacks : https://github.com/ghacksuserjs/ghacks-user.js
@ -14,7 +16,7 @@
// OrangeManBad : https://git.nixnet.xyz/OrangeManBad/user.js // OrangeManBad : https://git.nixnet.xyz/OrangeManBad/user.js
// CHEF-KOCH : https://github.com/CHEF-KOCH/FFCK/tree/master/user.js // CHEF-KOCH : https://github.com/CHEF-KOCH/FFCK/tree/master/user.js
// //
// License : https://git.lelux.fi/quindecim/fennec_user.js/src/branch/master/LICENSE.txt // License : https://git.nixnet.xyz/quindecim/fennec_user.js/src/branch/master/LICENSE.txt
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Startup // Section : Startup
@ -32,10 +34,6 @@ user_pref("browser.newtab.url", "about:blank"); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable Activity Stream
// https://wiki.mozilla.org/Firefox/Activity_Stream
user_pref("browser.newtabpage.activity-stream.enabled", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable Activity Stream Top Stories, Pocket-based and/or sponsored content // Pref : Disable Activity Stream Top Stories, Pocket-based and/or sponsored content
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories.options", ""); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.feeds.section.topstories.options", ""); // [DESKTOP]
@ -71,19 +69,16 @@ user_pref("browser.newtabpage.activity-stream.feeds.prefs", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.feeds.sections", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.feeds.sections", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.feeds.systemtick", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.feeds.systemtick", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.feeds.theme", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable Activity Stream (others) // Pref : Disable Activity Stream (others)
user_pref("browser.newtabpage.activity-stream.messageCenterExperimentEnabled", false); user_pref("browser.newtabpage.activity-stream.messageCenterExperimentEnabled", false);
user_pref("browser.newtabpage.activity-stream.prerender", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.showSearch", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.showSearch", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.showTopSites", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", ""); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.discoverystream.config", ""); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.discoverystream.config", ""); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.discoverystream.endpoints", ""); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.discoverystream.endpoints", ""); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.discoverystream.rec.impressions", ""); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.discoverystream.rec.impressions", ""); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.discoverystream.spoc.impressions", ""); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.discoverystream.spoc.impressions", ""); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.discoverystream.endpointSpocsClear", "");
user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); // [DESKTOP]
@ -94,11 +89,8 @@ user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited"
// https://wiki.mozilla.org/Tiles/Technical_Documentation#Ping // https://wiki.mozilla.org/Tiles/Technical_Documentation#Ping
// https://gecko.readthedocs.org/en/latest/browser/browser/DirectoryLinksProvider.html#browser-newtabpage-directory-source // https://gecko.readthedocs.org/en/latest/browser/browser/DirectoryLinksProvider.html#browser-newtabpage-directory-source
// https://gecko.readthedocs.org/en/latest/browser/browser/DirectoryLinksProvider.html#browser-newtabpage-directory-ping // https://gecko.readthedocs.org/en/latest/browser/browser/DirectoryLinksProvider.html#browser-newtabpage-directory-ping
user_pref("browser.newtabpage.enhanced", false); // [DESKTOP]
user_pref("browser.newtab.preload", false); // [DESKTOP] user_pref("browser.newtab.preload", false); // [DESKTOP]
user_pref("browser.newtabpage.directory.ping", ""); // [DESKTOP] user_pref("browser.newtabpage.directory.ping", ""); // [DESKTOP]
user_pref("browser.newtabpage.directory.source", "data:text/plain,{}"); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.aboutHome.enabled", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.asrouter.messageProviders", ""); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.asrouter.messageProviders", ""); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Don't reveal build ID // Pref : Don't reveal build ID
@ -117,7 +109,6 @@ user_pref("app.update.url", ""); // [DESKTOP]
user_pref("app.update.url.details", ""); // [DESKTOP] user_pref("app.update.url.details", ""); // [DESKTOP]
user_pref("app.update.url.manual", ""); // [DESKTOP] user_pref("app.update.url.manual", ""); // [DESKTOP]
user_pref("app.update.url.android", ""); // [FENNEC] user_pref("app.update.url.android", ""); // [FENNEC]
user_pref("app.update.silent", false); // [DESKTOP]
user_pref("app.update.staging.enabled", false); // [DESKTOP] user_pref("app.update.staging.enabled", false); // [DESKTOP]
user_pref("app.update.log.file", false); // [DESKTOP] user_pref("app.update.log.file", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
@ -158,7 +149,6 @@ user_pref("services.sync.prefs.sync.browser.newtabpage.enabled", false); // [DES
user_pref("services.sync.prefs.sync.browser.newtabpage.pinned", false); // [DESKTOP] user_pref("services.sync.prefs.sync.browser.newtabpage.pinned", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.offline-apps.notify", false); // [DESKTOP] user_pref("services.sync.prefs.sync.browser.offline-apps.notify", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.search.update", false); // [DESKTOP] user_pref("services.sync.prefs.sync.browser.search.update", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.sessionstore.restore_on_demand", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.startup.homepage", false); // [DESKTOP] user_pref("services.sync.prefs.sync.browser.startup.homepage", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.startup.page", false); // [DESKTOP] user_pref("services.sync.prefs.sync.browser.startup.page", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.tabs.loadInBackground", false); // [DESKTOP] user_pref("services.sync.prefs.sync.browser.tabs.loadInBackground", false); // [DESKTOP]
@ -262,6 +252,11 @@ user_pref("sync.serverURL", ""); // [DEPRECATED] // [DESKTOP]
user_pref("sync.jpake.serverURL", ""); // [DEPRECATED] // [DESKTOP] user_pref("sync.jpake.serverURL", ""); // [DEPRECATED] // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.contentblocking.features.strict", false); // [DESKTOP] user_pref("services.sync.prefs.sync.browser.contentblocking.features.strict", false); // [DESKTOP]
user_pref("services.sync.prefs.dangerously_allow_arbitrary", false); // [DESKTOP] user_pref("services.sync.prefs.dangerously_allow_arbitrary", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.app.shield.optoutstudies.enabled", false);
user_pref("services.sync.prefs.sync.browser.discovery.enabled", false);
user_pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored", false);
user_pref("services.sync.prefs.sync.browser.search.widget.inNavBar", false);
user_pref("services.sync.prefs.sync.extensions.activeThemeID", false);
// ------------------------------------- // -------------------------------------
// Pref : Never check updates for search engines // Pref : Never check updates for search engines
// https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections#w_auto-update-checking // https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections#w_auto-update-checking
@ -278,11 +273,6 @@ user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
// Pref : Disable sending the URL of the website where a plugin crashed // Pref : Disable sending the URL of the website where a plugin crashed
user_pref("dom.ipc.plugins.reportCrashURL", false); user_pref("dom.ipc.plugins.reportCrashURL", false);
// ------------------------------------- // -------------------------------------
// Pref : Disable SSDP (Simple Service Discovery Protocol)
// https://en.wikipedia.org/wiki/Simple_Service_Discovery_Protocol
// https://bugzilla.mozilla.org/show_bug.cgi?id=1111967
user_pref("browser.casting.enabled", false); // [DEFAULT: true]
// -------------------------------------
// Pref : Disable Telemetry // Pref : Disable Telemetry
// https://wiki.mozilla.org/Platform/Features/Telemetry // https://wiki.mozilla.org/Platform/Features/Telemetry
// https://wiki.mozilla.org/Privacy/Reviews/Telemetry // https://wiki.mozilla.org/Privacy/Reviews/Telemetry
@ -309,11 +299,12 @@ user_pref("toolkit.telemetry.hybridContent.enabled", false); // [DESKTOP]
user_pref("toolkit.telemetry.previousBuildID", ""); // [DESKTOP] user_pref("toolkit.telemetry.previousBuildID", ""); // [DESKTOP]
user_pref("toolkit.telemetry.prompted", 2); // [DESKTOP] user_pref("toolkit.telemetry.prompted", 2); // [DESKTOP]
user_pref("toolkit.telemetry.rejected", true); // [DESKTOP] user_pref("toolkit.telemetry.rejected", true); // [DESKTOP]
user_pref("security.identitypopup.recordEventElemetry", false); // [DESKTOP] user_pref("security.identitypopup.recordEventTelemetry", false);
user_pref("security.certerrors.recordEventTelemetry", false); // [DESKTOP] user_pref("security.certerrors.recordEventTelemetry", false); // [DESKTOP]
user_pref("privacy.trackingprotection.origin_telemetry.enabled", false); user_pref("privacy.trackingprotection.origin_telemetry.enabled", false);
user_pref("telemetry.origin_telemetry_test_mode.enabled", false); user_pref("telemetry.origin_telemetry_test_mode.enabled", false);
user_pref("toolkit.telemetry.ecosystemtelemetry.enabled", false); // [DESKTOP] user_pref("toolkit.telemetry.ecosystemtelemetry.enabled", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable Telemetry Coverage // Pref : Disable Telemetry Coverage
// https://blog.mozilla.org/data/2018/08/20/effectively-measuring-search-in-firefox/ // https://blog.mozilla.org/data/2018/08/20/effectively-measuring-search-in-firefox/
@ -336,22 +327,6 @@ user_pref("datareporting.policy.firstRunURL", "");
user_pref("datareporting.policy.minimumPolicyVersion", 0); user_pref("datareporting.policy.minimumPolicyVersion", 0);
user_pref("datareporting.policy.minimumPolicyVersion.channel-beta", 0); user_pref("datareporting.policy.minimumPolicyVersion.channel-beta", 0);
// ------------------------------------- // -------------------------------------
// Pref : Disable In-Browser Feed Handling
// https://wiki.mozilla.org/Feed_Handling
// http://kb.mozillazine.org/Browser.contentHandlers.types.%2A.uri
user_pref("browser.contentHandlers.types.0.title", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.0.type", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.0.uri", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.1.title", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.1.type", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.1.uri", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.2.title", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.2.type", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.2.uri", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.3.title", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.3.type", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.3.uri", ""); // [FENNEC]
// -------------------------------------
// Pref : Disable personalized Extension Recommendations in about:addons and AMO // Pref : Disable personalized Extension Recommendations in about:addons and AMO
// [NOTE] This pref has no effect when Health Reports are disabled // [NOTE] This pref has no effect when Health Reports are disabled
// https://support.mozilla.org/kb/personalized-extension-recommendations // https://support.mozilla.org/kb/personalized-extension-recommendations
@ -395,18 +370,10 @@ user_pref("lightweightThemes.recommendedThemes", ""); // [DESKTOP]
// Pref : Disable Studies and SHIELD // Pref : Disable Studies and SHIELD
// [NOTE] This pref has no effect when Health Reports are disabled // [NOTE] This pref has no effect when Health Reports are disabled
user_pref("app.shield.optoutstudies.enabled", false); // [DESKTOP] user_pref("app.shield.optoutstudies.enabled", false); // [DESKTOP]
user_pref("extensions.shield-recipe-client.enabled", false); // [DESKTOP]
user_pref("extensions.shield-recipe-client.api_url", ""); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable backlogged Crash Reports // Pref : Disable backlogged Crash Reports
user_pref("browser.crashReports.unsubmittedCheck.autoSubmit", false); // [DESKTOP]
user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DESKTOP] user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable Heartbeat (Mozilla user rating telemetry)
// https://wiki.mozilla.org/Advocacy/heartbeat
// https://trac.torproject.org/projects/tor/ticket/19047
user_pref("browser.selfsupport.url", ""); // [DESKTOP]
// -------------------------------------
// Pref : Disable about:addons Recommendations pane (uses Google Analytics) // Pref : Disable about:addons Recommendations pane (uses Google Analytics)
user_pref("extensions.getAddons.showPane", false); // [HIDDEN PREF] // [DESKTOP] user_pref("extensions.getAddons.showPane", false); // [HIDDEN PREF] // [DESKTOP]
user_pref("extensions.webservice.discoverURL", ""); // [DESKTOP] user_pref("extensions.webservice.discoverURL", ""); // [DESKTOP]
@ -434,6 +401,10 @@ user_pref("browser.contentblocking.reportBreakage.enabled", false); // [DESKTOP]
user_pref("browser.contentblocking.reportBreakage.url", ""); // [DESKTOP] user_pref("browser.contentblocking.reportBreakage.url", ""); // [DESKTOP]
user_pref("browser.contentblocking.rejecttrackers.reportBreakage.enabled", false); // [DESKTOP] user_pref("browser.contentblocking.rejecttrackers.reportBreakage.enabled", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable send content blocking log to about:protections
// https://bugzilla.mozilla.org/show_bug.cgi?id=1549832
user_pref("browser.contentblocking.database.enabled", false);
// -------------------------------------
// Pref : Onboarding tour disable because of included telemetry // Pref : Onboarding tour disable because of included telemetry
// [NOTE] This setting is just in case it comeback // [NOTE] This setting is just in case it comeback
user_pref("browser.onboarding.notification.finished", true); // [DESKTOP] // [DEPRECATED] user_pref("browser.onboarding.notification.finished", true); // [DESKTOP] // [DEPRECATED]
@ -462,11 +433,6 @@ user_pref("extensions.screenshots.upload-disabled", true); // [DESKTOP]
// https://support.mozilla.org/en-US/kb/how-do-i-use-firefox-spell-checker // https://support.mozilla.org/en-US/kb/how-do-i-use-firefox-spell-checker
user_pref("layout.spellcheckDefault", 0); // [DESKTOP] user_pref("layout.spellcheckDefault", 0); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable social integration with FF
user_pref("social.directories", ""); // [DEPRECATED] // [DESKTOP]
user_pref("social.remote-install.enabled", false); // [DEPRECATED] // [DESKTOP]
user_pref("social.whitelist", ""); // [DEPRECATED] // [DESKTOP]
// -------------------------------------
// Pref : Disable Firefox internal page warnings // Pref : Disable Firefox internal page warnings
user_pref("network.warnOnAboutNetworking", false); user_pref("network.warnOnAboutNetworking", false);
user_pref("general.warnOnAboutConfig", false); user_pref("general.warnOnAboutConfig", false);
@ -479,9 +445,15 @@ user_pref("browser.tabs.warnOnClose", false); // [DESKTOP]
user_pref("browser.tabs.warnOnCloseOtherTabs", false); // [DESKTOP] user_pref("browser.tabs.warnOnCloseOtherTabs", false); // [DESKTOP]
user_pref("browser.tabs.warnOnOpen", false); // [DESKTOP] user_pref("browser.tabs.warnOnOpen", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disables warnings by entering full screen mode // Pref : Disable warnings by entering full screen mode
user_pref("full-screen-api.warning.delay", 0); user_pref("full-screen-api.warning.delay", 0);
user_pref("full-screen-api.warning.timeout", 0); user_pref("full-screen-api.warning.timeout", 0);
// -------------------------------------
// Pref : Disable WebVTT logging and test events
// https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API
// https://git.sny.no/gecko/commit/?id=5701a142f2a5e89b1b716e0edec0f18d5e513678
user_pref("media.webvtt.debug.logging", false);
user_pref("media.webvtt.testing.events", false);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : IJWY To Shut Up // Section : IJWY To Shut Up
@ -513,10 +485,7 @@ user_pref("extensions.getAddons.themes.browseURL", ""); // [DESKTOP]
user_pref("security.content.signature.root_hash", ""); user_pref("security.content.signature.root_hash", "");
user_pref("identity.mobilepromo.android", ""); // [DESKTOP] user_pref("identity.mobilepromo.android", ""); // [DESKTOP]
user_pref("identity.mobilepromo.ios", ""); // [DESKTOP] user_pref("identity.mobilepromo.ios", ""); // [DESKTOP]
user_pref("prio.publicKeyA", ""); // [DESKTOP]
user_pref("prio.publicKeyB", ""); // [DESKTOP]
user_pref("toolkit.datacollection.infoURL", ""); // [DESKTOP] user_pref("toolkit.datacollection.infoURL", ""); // [DESKTOP]
user_pref("toolkit.telemetry.infoURL", ""); // [DESKTOP]
user_pref("dom.keyboardevent.keypress.hack.dispatch_non_printable_keys", ""); user_pref("dom.keyboardevent.keypress.hack.dispatch_non_printable_keys", "");
user_pref("dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode", ""); user_pref("dom.keyboardevent.keypress.hack.use_legacy_keycode_and_charcode", "");
user_pref("startup.homepage_welcome_url", ""); // [DESKTOP] user_pref("startup.homepage_welcome_url", ""); // [DESKTOP]
@ -526,7 +495,6 @@ user_pref("startup.homepage_override_url", ""); // [DESKTOP]
// Pref : Devtools cleanup // Pref : Devtools cleanup
user_pref("devtools.devices.url", ""); user_pref("devtools.devices.url", "");
user_pref("devtools.devedition.promo.url", ""); // [DESKTOP] user_pref("devtools.devedition.promo.url", ""); // [DESKTOP]
user_pref("devtools.telemetry.supported_performance_marks", ""); // [DESKTOP]
user_pref("devtools.performance.recording.ui-base-url", ""); // [DESKTOP] user_pref("devtools.performance.recording.ui-base-url", ""); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable website protocol handlers // Pref : Disable website protocol handlers
@ -540,13 +508,6 @@ user_pref("gecko.handlerService.schemes.mailto.1.name", ""); // [DESKTOP]
user_pref("gecko.handlerService.schemes.mailto.1.uriTemplate", ""); // [DESKTOP] user_pref("gecko.handlerService.schemes.mailto.1.uriTemplate", ""); // [DESKTOP]
user_pref("gecko.handlerService.schemes.webcal.0.uriTemplate", ""); // [DESKTOP] user_pref("gecko.handlerService.schemes.webcal.0.uriTemplate", ""); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable FlyWeb (discovery of LAN/proximity IoT devices that expose a Web interface)
// https://wiki.mozilla.org/FlyWeb
// https://wiki.mozilla.org/FlyWeb/Security_scenarios
// https://docs.google.com/document/d/1eqLb6cGjDL9XooSYEEo7mE-zKQ-o-AuDTcEyNhfBMBM/edit
// http://www.ghacks.net/2016/07/26/firefox-flyweb
user_pref("dom.flyweb.enabled", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable browser translate integration // Pref : Disable browser translate integration
// https://www.ghacks.net/2018/09/09/mozilla-working-on-google-translate-integration-in-firefox/ // https://www.ghacks.net/2018/09/09/mozilla-working-on-google-translate-integration-in-firefox/
user_pref("browser.translation.engine", ""); // [DESKTOP] user_pref("browser.translation.engine", ""); // [DESKTOP]
@ -605,7 +566,6 @@ user_pref("identity.fxaccounts.auth.uri", "");
user_pref("identity.fxaccounts.remote.oauth.uri", ""); user_pref("identity.fxaccounts.remote.oauth.uri", "");
user_pref("identity.fxaccounts.remote.profile.uri", ""); user_pref("identity.fxaccounts.remote.profile.uri", "");
user_pref("identity.sync.tokenserver.uri", ""); user_pref("identity.sync.tokenserver.uri", "");
user_pref("identity.fxaccounts.remote.webchannel.uri", "https://0.0.0.0"); // [FENNEC - BUG] If left blank, it causes faded "Settings" on some devices
user_pref("identity.fxaccounts.remote.root", ""); // [DESKTOP] user_pref("identity.fxaccounts.remote.root", ""); // [DESKTOP]
user_pref("identity.fxaccounts.pairing.enabled", false); // [DESKTOP] user_pref("identity.fxaccounts.pairing.enabled", false); // [DESKTOP]
user_pref("identity.fxaccounts.remote.pairing.uri", ""); // [DESKTOP] user_pref("identity.fxaccounts.remote.pairing.uri", ""); // [DESKTOP]
@ -685,7 +645,6 @@ user_pref("security.dialog_enable_delay", 700);
user_pref("devtools.debugger.remote-enabled", false); user_pref("devtools.debugger.remote-enabled", false);
user_pref("devtools.webide.enabled", false); // [DESKTOP] user_pref("devtools.webide.enabled", false); // [DESKTOP]
user_pref("devtools.webide.autoinstallADBExtension", false); // [DESKTOP] user_pref("devtools.webide.autoinstallADBExtension", false); // [DESKTOP]
user_pref("devtools.webide.autoinstallFxdtAdapters", false); // [DESKTOP]
user_pref("devtools.remote.adb.extensionURL", ""); // [DESKTOP] user_pref("devtools.remote.adb.extensionURL", ""); // [DESKTOP]
user_pref("devtools.remote.adb.extensionID", ""); // [DESKTOP] user_pref("devtools.remote.adb.extensionID", ""); // [DESKTOP]
user_pref("devtools.webide.adaptersAddonURL", ""); // [DESKTOP] user_pref("devtools.webide.adaptersAddonURL", ""); // [DESKTOP]
@ -847,10 +806,6 @@ user_pref("pdfjs.disabled", true); // [DEFAULT: false] // [DESKTOP]
user_pref("pdfjs.enabledCache.state", false); // [DESKTOP] user_pref("pdfjs.enabledCache.state", false); // [DESKTOP]
user_pref("pdfjs.previousHandler.alwaysAskBeforeHandling", true); // [DESKTOP] user_pref("pdfjs.previousHandler.alwaysAskBeforeHandling", true); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable Scripting of Plugins by JavaScript
// http://forums.mozillazine.org/viewtopic.php?f=7&t=153889
user_pref("security.xpconnect.plugin.unrestricted", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable exposure of system colors to CSS or canvas // Pref : Disable exposure of system colors to CSS or canvas
// [NOTE] See second listed bug: may cause black on black for elements with undefined colors // [NOTE] See second listed bug: may cause black on black for elements with undefined colors
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=232227,1330876 // https://bugzilla.mozilla.org/buglist.cgi?bug_id=232227,1330876
@ -929,7 +884,7 @@ user_pref("dom.disable_beforeunload", true);
user_pref("dom.vibrator.enabled", false); user_pref("dom.vibrator.enabled", false);
// ------------------------------------- // -------------------------------------
// Pref : Disable clipboard commands (cut/copy) from "non-privileged" content // Pref : Disable clipboard commands (cut/copy) from "non-privileged" content
// This disables document.execCommand("cut"/"copy") to protect your clipboard // This disable document.execCommand("cut"/"copy") to protect your clipboard
// https://bugzilla.mozilla.org/1170911 // https://bugzilla.mozilla.org/1170911
// user_pref("dom.allow_cut_copy", false); // user_pref("dom.allow_cut_copy", false);
// ------------------------------------- // -------------------------------------
@ -982,11 +937,6 @@ user_pref("media.gmp-manager.buildID", "20190307010101"); // [DESKTOP]
user_pref("extensions.lastAppBuildID", "20190307010101"); user_pref("extensions.lastAppBuildID", "20190307010101");
user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20190307010101"); // [DESKTOP] user_pref("browser.sessionstore.upgradeBackup.latestBuildID", "20190307010101"); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable Archive API
// https://wiki.mozilla.org/WebAPI/ArchiveAPI
// https://bugzilla.mozilla.org/show_bug.cgi?id=1342361
user_pref("dom.archivereader.enabled", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable raw TCP socket support (mozTCPSocket) // Pref : Disable raw TCP socket support (mozTCPSocket)
// https://trac.torproject.org/projects/tor/ticket/18863 // https://trac.torproject.org/projects/tor/ticket/18863
// https://www.mozilla.org/en-US/security/advisories/mfsa2015-97/ // https://www.mozilla.org/en-US/security/advisories/mfsa2015-97/
@ -1024,6 +974,10 @@ user_pref("webgl.can-lose-context-in-foreground", false); // [DEFAULT: true]
user_pref("webgl.force-enabled", false); user_pref("webgl.force-enabled", false);
user_pref("webgl.vendor-string-override", " "); user_pref("webgl.vendor-string-override", " ");
user_pref("webgl.renderer-string-override", " "); user_pref("webgl.renderer-string-override", " ");
user_pref("webgl.all-angle-options", false);
user_pref("webgl.allow-immediate-queries", false);
user_pref("webgl.default-antialias", false);
user_pref("webgl.enable-surface-texture", false);
// ------------------------------------- // -------------------------------------
// Pref : Disable screensharing and audiocapture // Pref : Disable screensharing and audiocapture
user_pref("media.getusermedia.screensharing.enabled", false); // [DESKTOP] user_pref("media.getusermedia.screensharing.enabled", false); // [DESKTOP]
@ -1034,9 +988,6 @@ user_pref("media.getusermedia.audiocapture.enabled", false);
user_pref("device.camera.enabled", false); // [DEFAULT: true] // [FENNEC] user_pref("device.camera.enabled", false); // [DEFAULT: true] // [FENNEC]
user_pref("media.realtime_decoder.enabled", false); // [DEFAULT: true] // [FENNEC] user_pref("media.realtime_decoder.enabled", false); // [DEFAULT: true] // [FENNEC]
// ------------------------------------- // -------------------------------------
// Pref : Disable face detection
user_pref("camera.control.face_detection.enabled", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable canvas capture stream // Pref : Disable canvas capture stream
// https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/captureStream // https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/captureStream
user_pref("canvas.capturestream.enabled", false); user_pref("canvas.capturestream.enabled", false);
@ -1521,7 +1472,6 @@ user_pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false); // [DESKTOP]
user_pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false); // [DESKTOP] user_pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false); // [DESKTOP]
user_pref("security.ssl3.rsa_rc4_128_md5", false); // [DESKTOP] user_pref("security.ssl3.rsa_rc4_128_md5", false); // [DESKTOP]
user_pref("security.ssl3.rsa_rc4_128_sha", false); // [DESKTOP] user_pref("security.ssl3.rsa_rc4_128_sha", false); // [DESKTOP]
user_pref("security.tls.unrestricted_rc4_fallback", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Warn the user when server doesn't support RFC 5746 ("safe" renegotiation) // Pref : Warn the user when server doesn't support RFC 5746 ("safe" renegotiation)
// https://wiki.mozilla.org/Security:Renegotiation#security.ssl.treat_unsafe_negotiation_as_broken // https://wiki.mozilla.org/Security:Renegotiation#security.ssl.treat_unsafe_negotiation_as_broken
@ -1551,7 +1501,7 @@ user_pref("network.gio.supported-protocols", ""); // [HIDDEN PREF]
// Section : User Settings // Section : User Settings
// >>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>
// Pref : Set long press behaviour on "+ Tab" button to display container menu // Pref : Set long press behaviour on "+ Tab" button to display container menu
// 0=disables long press, 1=when clicked, the menu is shown // 0=disabled long press, 1=when clicked, the menu is shown
// 2=the menu is shown after X milliseconds // 2=the menu is shown after X milliseconds
// [NOTE] The menu does not contain a non-container tab option // [NOTE] The menu does not contain a non-container tab option
// https://bugzilla.mozilla.org/1328756 // https://bugzilla.mozilla.org/1328756
@ -1577,6 +1527,12 @@ user_pref("privacy.firstparty.isolate.restrict_opener_access", true);
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Passwords // Section : Passwords
// >>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>
// Pref : Disable about:logins (Firefox Lockwise)
// https://lockwise.firefox.com/
// https://support.mozilla.org/en-US/kb/firefox-lockwise-managing-account-data
user_pref("signon.management.page.enabled", false); // [DESKTOP]
user_pref("signon.management.page.faqURL", ""); // [DESKTOP]
user_pref("signon.management.page.feedbackURL", ""); // [DESKTOP]
// Pref : Disable autofilling saved passwords on HTTP pages and show warning // Pref : Disable autofilling saved passwords on HTTP pages and show warning
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=1217152,1319119 // https://bugzilla.mozilla.org/buglist.cgi?bug_id=1217152,1319119
user_pref("signon.autofillForms.http", false); user_pref("signon.autofillForms.http", false);
@ -1630,6 +1586,12 @@ user_pref("network.auth.subresource-http-auth-allow", 1);
// Pref : Prevent cross-origin images from triggering an HTTP-Authentication prompt // Pref : Prevent cross-origin images from triggering an HTTP-Authentication prompt
// https://bugzilla.mozilla.org/1357835 // https://bugzilla.mozilla.org/1357835
user_pref("network.auth.subresource-img-cross-origin-http-auth-allow", false); // [DEPRECATED] // [DESKTOP] user_pref("network.auth.subresource-img-cross-origin-http-auth-allow", false); // [DEPRECATED] // [DESKTOP]
// -------------------------------------
// Pref : Disable Firefox built-in password generator
// https://wiki.mozilla.org/Toolkit:Password_Manager/Password_Generation
// [NOTE] Best still create passwords with random characters and numbers in sequence by yourself
user_pref("signon.generation.available", false);
user_pref("signon.generation.enabled", false);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Window Meddling & Leaks / Popups // Section : Window Meddling & Leaks / Popups
@ -1870,9 +1832,6 @@ user_pref("media.gmp.trial-create.enabled", false); // [WINDOWS] // [DESKTOP]
// https://www.eff.org/deeplinks/2017/10/drms-dead-canary-how-we-just-lost-web-what-we-learned-it-and-what-we-need-do-next // https://www.eff.org/deeplinks/2017/10/drms-dead-canary-how-we-just-lost-web-what-we-learned-it-and-what-we-need-do-next
user_pref("media.eme.enabled", false); user_pref("media.eme.enabled", false);
// ------------------------------------- // -------------------------------------
// Pref : Disable Adobe Primetime
user_pref("media.gmp-eme-adobe.enabled", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable the OpenH264 Video Codec by Cisco to "Never Activate". // Pref : Disable the OpenH264 Video Codec by Cisco to "Never Activate".
// This is the bundled codec used for video chat in WebRTC. // This is the bundled codec used for video chat in WebRTC.
user_pref("media.gmp-gmpopenh264.enabled", false); user_pref("media.gmp-gmpopenh264.enabled", false);
@ -2051,6 +2010,14 @@ user_pref("privacy.trackingprotection.fingerprinting.enabled", false);
user_pref("urlclassifier.features.fingerprinting.blacklistTables", ""); user_pref("urlclassifier.features.fingerprinting.blacklistTables", "");
user_pref("urlclassifier.features.fingerprinting.whitelistTables", ""); user_pref("urlclassifier.features.fingerprinting.whitelistTables", "");
// ------------------------------------- // -------------------------------------
// Pref : Disable social trackingprotection
// [NOTE] uBlock is far superior and you can customize the lists as you wish
// https://m.wiki.mozilla.org/Security/Tracking_protection#Lists
// https://github.com/AdroitAdorKhan/EnergizedProtection
// https://github.com/theel0ja/firefox-recommendations/blob/master/README.md
user_pref("privacy.trackingprotection.socialtracking.annotate.enabled", false);
user_pref("privacy.trackingprotection.socialtracking.enabled", false);
// -------------------------------------
// Pref : Disable PingCentre telemetry (used in several System Add-ons) // Pref : Disable PingCentre telemetry (used in several System Add-ons)
// Currently blocked by 'datareporting.healthreport.uploadEnabled' // Currently blocked by 'datareporting.healthreport.uploadEnabled'
user_pref("browser.ping-centre.telemetry", false); // [DESKTOP] user_pref("browser.ping-centre.telemetry", false); // [DESKTOP]
@ -2220,7 +2187,7 @@ user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
// https://github.com/pyllyukko/user.js/issues/94 // https://github.com/pyllyukko/user.js/issues/94
// [NOTE] Spoofing referers breaks functionality on websites relying on authentic referer headers // [NOTE] Spoofing referers breaks functionality on websites relying on authentic referer headers
// [NOTE] Spoofing referers breaks visualisation of 3rd-party sites on the Lightbeam addon // [NOTE] Spoofing referers breaks visualisation of 3rd-party sites on the Lightbeam addon
// [NOTE] Spoofing referers disables CSRF protection on some login pages not implementing origin-header/cookie+token based CSRF protection // [NOTE] Spoofing referers disable CSRF protection on some login pages not implementing origin-header/cookie+token based CSRF protection
user_pref("network.http.referer.spoofSource", true); // [DEFAULT: false] user_pref("network.http.referer.spoofSource", true); // [DEFAULT: false]
// ------------------------------------- // -------------------------------------
// Pref : Set the default Referrer Policy // Pref : Set the default Referrer Policy
@ -2309,6 +2276,8 @@ user_pref("dom.gamepad.enabled", false); // [DEFAULT: true]
user_pref("dom.gamepad.extensions.enabled", false); // [DEFAULT: true] user_pref("dom.gamepad.extensions.enabled", false); // [DEFAULT: true]
user_pref("dom.gamepad.haptic_feedback.enabled", false); // [DEFAULT: false] user_pref("dom.gamepad.haptic_feedback.enabled", false); // [DEFAULT: false]
user_pref("dom.gamepad.test.enabled", false); // [DEFAULT: true] user_pref("dom.gamepad.test.enabled", false); // [DEFAULT: true]
user_pref("dom.gamepad.extensions.lightindicator", false); // [DEFAULT: false]
user_pref("dom.gamepad.extensions.multitouch", false); // [DEFAULT: false]
// ------------------------------------- // -------------------------------------
// Pref : Disable giving away network info // Pref : Disable giving away network info
// e.g. bluetooth, cellular, ethernet, wifi, wimax, other, mixed, unknown, none // e.g. bluetooth, cellular, ethernet, wifi, wimax, other, mixed, unknown, none
@ -2363,7 +2332,6 @@ user_pref("dom.battery.enabled", false); // [DEFAULT: true]
// https://developer.mozilla.org/en-US/docs/Web/API/WebVR_API // https://developer.mozilla.org/en-US/docs/Web/API/WebVR_API
user_pref("dom.vr.enabled", false); // [DEFAULT: true] user_pref("dom.vr.enabled", false); // [DEFAULT: true]
user_pref("dom.vr.autoactivate.enabled", false); user_pref("dom.vr.autoactivate.enabled", false);
user_pref("dom.vr.external.enabled", false);
user_pref("dom.vr.oculus.enabled", false); user_pref("dom.vr.oculus.enabled", false);
user_pref("dom.vr.oculus.invisible.enabled", false); user_pref("dom.vr.oculus.invisible.enabled", false);
user_pref("dom.vr.openvr.action_input", false); user_pref("dom.vr.openvr.action_input", false);
@ -2372,8 +2340,6 @@ user_pref("dom.vr.osvr.enabled", false);
user_pref("dom.vr.poseprediction.enabled", false); user_pref("dom.vr.poseprediction.enabled", false);
user_pref("dom.vr.puppet.enabled", false); user_pref("dom.vr.puppet.enabled", false);
user_pref("dom.vr.require-gesture", true); user_pref("dom.vr.require-gesture", true);
user_pref("dom.vr.service.enabled", false);
user_pref("dom.vr.test.enabled", false);
user_pref("gfx.vr.osvr.clientKitLibPath", ""); user_pref("gfx.vr.osvr.clientKitLibPath", "");
user_pref("gfx.vr.osvr.clientLibPath", ""); user_pref("gfx.vr.osvr.clientLibPath", "");
user_pref("gfx.vr.osvr.commonLibPath", ""); user_pref("gfx.vr.osvr.commonLibPath", "");
@ -2385,7 +2351,7 @@ user_pref("dom.vr.process.enabled", false);
// https://wiki.mozilla.org/Platform/GFX/HardwareAcceleration // https://wiki.mozilla.org/Platform/GFX/HardwareAcceleration
// user_pref("gfx.direct2d.disabled", true); // [DESKTOP] // [WINDOWS] // user_pref("gfx.direct2d.disabled", true); // [DESKTOP] // [WINDOWS]
// user_pref("layers.acceleration.disabled", true); // [DEFAULT: false] // user_pref("layers.acceleration.disabled", true); // [DEFAULT: false]
// user_pref("layers.acceleration.force-enabled", false); // [FENNEC - BUG] if false force close at start, it seems a must on Android // user_pref("layers.acceleration.force-enabled", false); // [FENNEC - BUG] Force close during startup
// ------------------------------------- // -------------------------------------
// Pref : Disable Web Audio API // Pref : Disable Web Audio API
// https://bugzilla.mozilla.org/show_bug.cgi?id=1288359 // https://bugzilla.mozilla.org/show_bug.cgi?id=1288359
@ -2406,10 +2372,6 @@ user_pref("browser.startup.blankWindow", false); // [DESKTOP]
// https://developer.mozilla.org/en-US/docs/Web/API/Connection/onchange // https://developer.mozilla.org/en-US/docs/Web/API/Connection/onchange
// https://www.torproject.org/projects/torbrowser/design/#fingerprinting-defenses // https://www.torproject.org/projects/torbrowser/design/#fingerprinting-defenses
user_pref("dom.network.enabled", false); // [DESKTOP] user_pref("dom.network.enabled", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable telephony API
// https://wiki.mozilla.org/WebAPI/Security/WebTelephony
user_pref("dom.telephony.enabled", false);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : UI (User Interface) // Section : UI (User Interface)
@ -2429,9 +2391,6 @@ user_pref("dom.telephony.enabled", false);
// Pref : Disable browser animation // Pref : Disable browser animation
// https://bugzilla.mozilla.org/show_bug.cgi?id=1352069 // https://bugzilla.mozilla.org/show_bug.cgi?id=1352069
// user_pref("toolkit.cosmeticAnimations.enabled", false); // [DESKTOP] // user_pref("toolkit.cosmeticAnimations.enabled", false); // [DESKTOP]
// -------------------------------------
// Pref : Displaying small density by default
// user_pref("browser.uidensity", 1); // [DEFAULT: 0] // [DESKTOP]
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Personal // Section : Personal
@ -2475,9 +2434,6 @@ user_pref("browser.ctrlTab.recentlyUsedOrder", false); // [DESKTOP]
// Pref : Display long lines in view-source page // Pref : Display long lines in view-source page
user_pref("view_source.wrap_long_lines", true); user_pref("view_source.wrap_long_lines", true);
// ------------------------------------- // -------------------------------------
// Pref : Enable dark mode in all about:* pages
user_pref("browser.in-content.dark-mode", true);
// -------------------------------------
// Pref : Enable one-click select all URL bar // Pref : Enable one-click select all URL bar
user_pref("browser.urlbar.clickSelectsAll", true); user_pref("browser.urlbar.clickSelectsAll", true);
// ------------------------------------- // -------------------------------------
@ -2489,26 +2445,147 @@ user_pref("browser.urlbar.doubleClickSelectsAll", false); // [DESKTOP]
// ESR60.x still uses all the following prefs // ESR60.x still uses all the following prefs
// >>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>
// ------------------------------------- // -------------------------------------
// FF52+
// -------------------------------------
// Pref : Disable telephony API
// https://wiki.mozilla.org/WebAPI/Security/WebTelephony
user_pref("dom.telephony.enabled", false);
// -------------------------------------
// Pref : Disable Adobe Primetime
user_pref("media.gmp-eme-adobe.enabled", false);
user_pref("media.gmp-eme-adobe.visible", false);
// -------------------------------------
// FF53+
// -------------------------------------
// Pref : Disable RC4
// https://bugzilla.mozilla.org/show_bug.cgi?id=1130670
// https://hg.mozilla.org/mozilla-central/rev/1f7832017dbb
user_pref("security.tls.unrestricted_rc4_fallback", false);
// -------------------------------------
// FF54+
// -------------------------------------
// Pref : Disable Archive API
// https://bugzilla.mozilla.org/show_bug.cgi?id=1342361
// https://hg.mozilla.org/mozilla-central/rev/fe12200aa33a
user_pref("dom.archivereader.enabled", false);
// -------------------------------------
// FF55+
// -------------------------------------
// Pref : Disable Heartbeat (Mozilla user rating telemetry)
// https://bugzilla.mozilla.org/show_bug.cgi?id=1361578
// https://hg.mozilla.org/mozilla-central/rev/5a8f2dcbeac0
user_pref("browser.selfsupport.enabled", false);
user_pref("browser.selfsupport.url", "");
// -------------------------------------
// FF57+
// -------------------------------------
// Pref : Disable SSDP (Simple Service Discovery Protocol)
// https://bugzilla.mozilla.org/show_bug.cgi?id=1393582
// https://hg.mozilla.org/mozilla-central/rev/bf7793529f82
user_pref("browser.casting.enabled", false);
// -------------------------------------
// Pref : Disable WebIDE to prevent remote debugging and ADB extension download
// https://bugzilla.mozilla.org/show_bug.cgi?id=1393497
// https://hg.mozilla.org/mozilla-central/rev/9815926c3bc1
user_pref("devtools.webide.autoinstallFxdtAdapters", false);
// -------------------------------------
// Pref : Disable social integration with FF
// https://bugzilla.mozilla.org/show_bug.cgi?id=1406193
// https://hg.mozilla.org/mozilla-central/rev/125a67a1750f
user_pref("social.directories", "");
user_pref("social.remote-install.enabled", false);
user_pref("social.whitelist", "");
// -------------------------------------
// FF58+
// -------------------------------------
// Pref : Disable backlogged Crash Reports
// https://bugzilla.mozilla.org/show_bug.cgi?id=1424373
// https://hg.mozilla.org/releases/mozilla-esr52/rev/292a2d5bcb1f4a07e875b0b60a925f31992e898f
// https://hg.mozilla.org/releases/mozilla-esr52/rev/19ea736e7e3d20555ee6633b9d7803c1225979e1
user_pref("browser.crashReports.unsubmittedCheck.autoSubmit", false);
// -------------------------------------
// FF59+
// -------------------------------------
// Pref : Devtools cleanup
// https://bugzilla.mozilla.org/show_bug.cgi?id=1416703
// https://hg.mozilla.org/mozilla-central/rev/cf62d0c0ce5a
user_pref("devtools.telemetry.supported_performance_marks", "");
// -------------------------------------
// Pref : Disable face detection
// https://bugzilla.mozilla.org/show_bug.cgi?id=1416703
// https://hg.mozilla.org/integration/mozilla-inbound/rev/27b171e4cd2d1d51e95df1bfb6fc567500b6284d
user_pref("camera.control.face_detection.enabled", false);
// -------------------------------------
// Pref : Disable FlyWeb (discovery of LAN/proximity IoT devices that expose a Web interface)
// https://bugzilla.mozilla.org/show_bug.cgi?id=1374574
// https://hg.mozilla.org/mozilla-central/rev/07ca590ac669
// https://hg.mozilla.org/mozilla-central/rev/ff75ef015293
// https://hg.mozilla.org/mozilla-central/rev/5a8a3d887e19
user_pref("dom.flyweb.enabled", false);
// -------------------------------------
// Pref : Disable Scripting of Plugins by JavaScript
// https://bugzilla.mozilla.org/show_bug.cgi?id=1416703
// https://hg.mozilla.org/mozilla-central/rev/eb9c29a3067d
user_pref("security.xpconnect.plugin.unrestricted", false);
// -------------------------------------
// FF60+
// -------------------------------------
// Pref : Disable Activity Stream
// https://bugzilla.mozilla.org/show_bug.cgi?id=1433324
// https://hg.mozilla.org/mozilla-central/rev/f3069763fab6
// https://hg.mozilla.org/mozilla-central/rev/088e727e5cf7
user_pref("browser.newtabpage.activity-stream.enabled", false);
// -------------------------------------
// Pref : Disable new tab tile ads & preload
// https://bugzilla.mozilla.org/show_bug.cgi?id=1433324
// https://bugzilla.mozilla.org/show_bug.cgi?id=1433133
// https://bugzilla.mozilla.org/show_bug.cgi?id=1370930
// https://hg.mozilla.org/mozilla-central/rev/ad6392e366d4
user_pref("browser.newtabpage.activity-stream.aboutHome.enabled", false);
user_pref("browser.newtabpage.directory.source", "data:text/plain,{}");
user_pref("browser.newtabpage.enhanced", false);
// -------------------------------------
// Pref : Disable Studies and SHIELD
// https://bugzilla.mozilla.org/show_bug.cgi?id=1436113
// https://hg.mozilla.org/mozilla-central/rev/94f5c92fc711
user_pref("extensions.shield-recipe-client.enabled", false);
user_pref("extensions.shield-recipe-client.api_url", "");
// -------------------------------------
// Pref : Disable Firefox Accounts and Sync
// https://bugzilla.mozilla.org/show_bug.cgi?id=1427674
// https://hg.mozilla.org/mozilla-central/rev/b014201f939f
user_pref("identity.fxaccounts.remote.webchannel.uri", "https://0.0.0.0"); // [FENNEC - BUG] If left blank, it causes faded "Settings" on some devices
// -------------------------------------
// FF61+ // FF61+
// ------------------------------------- // -------------------------------------
// Pref : Disable Experiments // Pref : Disable Experiments
// https://wiki.mozilla.org/Telemetry/Experiments // https://bugzilla.mozilla.org/show_bug.cgi?id=1450801
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=1420908,1450801 // https://hg.mozilla.org/mozilla-central/rev/b81ac6c5c207
// https://hg.mozilla.org/mozilla-central/rev/9e68f15bcb09
// https://bugzilla.mozilla.org/show_bug.cgi?id=1420908
// https://hg.mozilla.org/mozilla-central/rev/98389f291fe6
// https://hg.mozilla.org/mozilla-central/rev/8a77da7f1488
user_pref("experiments.enabled", false); user_pref("experiments.enabled", false);
user_pref("experiments.manifest.uri", ""); user_pref("experiments.manifest.uri", "");
user_pref("experiments.supported", false); user_pref("experiments.supported", false);
user_pref("experiments.activeExperiment", false); user_pref("experiments.activeExperiment", false);
// ------------------------------------- // -------------------------------------
// Pref : Disable remote JAR files being opened, regardless of content type // Pref : Disable remote JAR files being opened, regardless of content type
// https://bugzilla.mozilla.org/1173171 // https://bugzilla.mozilla.org/show_bug.cgi?id=1427726
// https://www.fxsitecompat.com/en-CA/docs/2015/jar-protocol-support-has-been-disabled-by-default/ // https://hg.mozilla.org/integration/autoland/rev/a9185d7a30d8
// https://bugzilla.mozilla.org/1427726
user_pref("network.jar.block-remote-files", true); user_pref("network.jar.block-remote-files", true);
// ------------------------------------- // -------------------------------------
// Pref : Disable JAR from opening Unsafe File Types // Pref : Disable JAR from opening Unsafe File Types
// https://bugzilla.mozilla.org/1427726 // https://bugzilla.mozilla.org/show_bug.cgi?id=1427726
// https://hg.mozilla.org/integration/autoland/rev/064ca3f3d42b
user_pref("network.jar.open-unsafe-types", false); user_pref("network.jar.open-unsafe-types", false);
// ------------------------------------- // -------------------------------------
// Pref : Disable Activity Stream (others)
user_pref("browser.newtabpage.activity-stream.showTopSites", false);
// -------------------------------------
// Pref : Block unwanted connections
user_pref("toolkit.telemetry.infoURL", "");
// -------------------------------------
// FF62+ // FF62+
// ------------------------------------- // -------------------------------------
// Pref : Disable Java plugin // Pref : Disable Java plugin
@ -2521,6 +2598,7 @@ user_pref("plugin.state.java", 0);
// Pref : DisableGeoIP-based search results // Pref : DisableGeoIP-based search results
// [NOTE] May not be hidden if Firefox has changed your settings due to your locale // [NOTE] May not be hidden if Firefox has changed your settings due to your locale
// https://bugzilla.mozilla.org/1462015 // https://bugzilla.mozilla.org/1462015
// https://hg.mozilla.org/mozilla-central/rev/0866ebeda09d
user_pref("browser.search.countryCode", "US"); // [HIDDEN PREF] user_pref("browser.search.countryCode", "US"); // [HIDDEN PREF]
// ------------------------------------- // -------------------------------------
// Pref : Disable app from auto-update // Pref : Disable app from auto-update
@ -2549,6 +2627,29 @@ user_pref("media.autoplay.enabled", false);
// https://bugzilla.mozilla.org/1473595 // https://bugzilla.mozilla.org/1473595
user_pref("browser.ctrlTab.previews", true); user_pref("browser.ctrlTab.previews", true);
// ------------------------------------- // -------------------------------------
// Pref : Disable In-Browser Feed Handling
// https://bugzilla.mozilla.org/show_bug.cgi?id=1477670
// https://hg.mozilla.org/mozilla-central/rev/5b714ea69f17
// https://hg.mozilla.org/mozilla-central/rev/04ce1d287d58
// https://hg.mozilla.org/mozilla-central/rev/3abafc9e0915
// https://hg.mozilla.org/mozilla-central/rev/452156f0fc6d
user_pref("browser.contentHandlers.types.0.title", "");
user_pref("browser.contentHandlers.types.0.type", "");
user_pref("browser.contentHandlers.types.0.uri", "");
user_pref("browser.contentHandlers.types.1.title", "");
user_pref("browser.contentHandlers.types.1.type", "");
user_pref("browser.contentHandlers.types.1.uri", "");
user_pref("browser.contentHandlers.types.2.title", "");
user_pref("browser.contentHandlers.types.2.type", "");
user_pref("browser.contentHandlers.types.2.uri", "");
user_pref("browser.contentHandlers.types.3.title", "");
user_pref("browser.contentHandlers.types.3.type", "");
user_pref("browser.contentHandlers.types.3.uri", "");
// -------------------------------------
// Pref : Disable Activity Stream (others)
user_pref("browser.newtabpage.activity-stream.feeds.theme", false);
user_pref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", "");
// -------------------------------------
// FF64+ // FF64+
// ------------------------------------- // -------------------------------------
// Pref : Disable Onboarding // Pref : Disable Onboarding
@ -2625,4 +2726,33 @@ user_pref("lightweightThemes.update.enabled", false);
user_pref("security.csp.experimentalEnabled", true); user_pref("security.csp.experimentalEnabled", true);
// ------------------------------------- // -------------------------------------
// FF69+ // FF69+
// -------------------------------------
// Pref : Disable app from auto-update
// https://bugzilla.mozilla.org/show_bug.cgi?id=1515484
// https://hg.mozilla.org/mozilla-central/rev/62e0ef6e50dd
user_pref("app.update.silent", false);
// -------------------------------------
// Pref : Disable prerendering newtab
// https://bugzilla.mozilla.org/show_bug.cgi?id=1555448
// https://hg.mozilla.org/mozilla-central/rev/e2f99cd199eb
user_pref("browser.newtabpage.activity-stream.prerender", false);
// -------------------------------------
// Pref : Disable virtual reality devices APIs
// https://bugzilla.mozilla.org/show_bug.cgi?id=1558358
// https://hg.mozilla.org/mozilla-central/rev/d97d53e8c4f9
user_pref("dom.vr.external.enabled", false);
user_pref("dom.vr.service.enabled", false);
user_pref("dom.vr.test.enabled", false);
// -------------------------------------
// Pref : Disable Telemetry
// https://bugzilla.mozilla.org/show_bug.cgi?id=1548646
// https://hg.mozilla.org/mozilla-central/rev/4f4de4742c98
user_pref("security.identitypopup.recordEventElemetry", false);
// -------------------------------------
// Pref : Disable other sync settings (by prevention)
// https://bugzilla.mozilla.org/show_bug.cgi?id=1560154
// https://hg.mozilla.org/mozilla-central/rev/68aacb4ba7f9
user_pref("services.sync.prefs.sync.browser.sessionstore.restore_on_demand", false);
// -------------------------------------
// FF70+
// ------------------------------------- // -------------------------------------