forked from d3cim/mobile_user.js
Update 'user.js'
✅ Synced with Desktop version ✅ Synced all the buildIDs with Tor's ones ✅ Added a pref (commented by default) to "Enable start in Private Browsing mode" ⛔️ Disabled SSDP (Simple Service Discovery Protocol) ⛔️ Disabled all the in-browser feeds handling ⛔️ Disabled tickle time under wifi network (no more packets transmitted trought 4886 port over Wi-Fi) ⛔️ Disabled two more VR prefs | FF73 ⛔️ Disabled browser animations ℹ️ Reduced history leaks via enumeration (PER TAB: back/forward) from 20 to 3 ℹ️ Set to keep cookies until you close FF ℹ️ Added some links and descriptions ℹ️ Moved some preferences from FF72+ into deprecated section (keeping them active for ESR68.x)
This commit is contained in:
parent
0ed7b35cda
commit
b63b80b830
106
user.js
106
user.js
|
@ -6,8 +6,8 @@
|
|||
*********************************************************************************/
|
||||
//
|
||||
// Author : quindecim : https://git.nixnet.xyz/quindecim
|
||||
// https://git.lelux.fi/quindecim | MIRROR
|
||||
// https://git.lushka.al/quindecim | MIRROR
|
||||
// https://git.lelux.fi/quindecim | MIRROR
|
||||
//
|
||||
//
|
||||
// Based on : gHacks : https://github.com/ghacksuserjs/ghacks-user.js
|
||||
|
@ -21,9 +21,17 @@
|
|||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : Startup
|
||||
// >>>>>>>>>>>>>>>>>>>>>
|
||||
// Pref : Enable start in Private Browsing mode
|
||||
// user_pref("browser.privatebrowsing.autostart", true);
|
||||
// -------------------------------------
|
||||
// Pref : Disable default browser check
|
||||
user_pref("browser.shell.checkDefaultBrowser", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Set START page
|
||||
// (0=blank, 1=home, 2=last visited page, 3=resume previous session)
|
||||
// [NOTE] Session Restore is not used in PB mode and is cleared with history
|
||||
user_pref("browser.startup.page", 0); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Set NEWTAB page
|
||||
// true=Activity Stream, false=blank page
|
||||
user_pref("browser.newtabpage.enabled", false); // [DESKTOP]
|
||||
|
@ -71,6 +79,7 @@ user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
|
|||
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.topsites", false); // [DESKTOP]
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.asrouterfeed", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Activity Stream (others)
|
||||
user_pref("browser.newtabpage.activity-stream.messageCenterExperimentEnabled", false);
|
||||
|
@ -299,6 +308,7 @@ user_pref("security.protectionspopup.recordEventTelemetry", false); // [DESKTOP]
|
|||
user_pref("toolkit.telemetry.geckoview.streaming", false);
|
||||
user_pref("toolkit.telemetry.isGeckoViewMode", false);
|
||||
user_pref("toolkit.telemetry.testing.overrideProductsCheck", false);
|
||||
user_pref("security.app_menu.recordEventTelemetry", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Telemetry Coverage
|
||||
// https://blog.mozilla.org/data/2018/08/20/effectively-measuring-search-in-firefox/
|
||||
|
@ -376,7 +386,6 @@ user_pref("extensions.webservice.discoverURL", ""); // [DESKTOP]
|
|||
// -------------------------------------
|
||||
// Pref : Disable recommendations in about:addons Extensions and Themes panes
|
||||
// https://www.ghacks.net/2019/05/15/enable-new-firefox-recommended-extensions-suggestions-in-firefox-68-nightly/
|
||||
user_pref("extensions.htmlaboutaddons.discover.enabled", false); // [DESKTOP]
|
||||
user_pref("extensions.htmlaboutaddons.inline-options.enabled", false);
|
||||
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
||||
user_pref("extensions.getAddons.discovery.api_url", ""); // [DESKTOP]
|
||||
|
@ -384,7 +393,6 @@ user_pref("extensions.recommendations.privacyPolicyUrl", "");
|
|||
user_pref("extensions.recommendations.themeRecommendationUrl", "");
|
||||
// -------------------------------------
|
||||
// Pref : Disable extension's report option in about:addons
|
||||
user_pref("extensions.htmlaboutaddons.enabled", false);
|
||||
user_pref("extensions.abuseReport.enabled", false);
|
||||
user_pref("extensions.abuseReport.url", "");
|
||||
user_pref("extensions.abuseReport.amoDetailsURL", "");
|
||||
|
@ -451,7 +459,7 @@ user_pref("layout.spellcheckDefault", 0); // [DESKTOP]
|
|||
// -------------------------------------
|
||||
// Pref : Enable Firefox internal pages and disable the related warnings
|
||||
user_pref("general.aboutConfig.enable", true);
|
||||
user_pref("general.warnOnAboutConfig", false); // [XUL]
|
||||
user_pref("general.warnOnAboutConfig", false); // [XUL/XHTML]
|
||||
user_pref("browser.aboutConfig.showWarning", false); // [DESKTOP] // [HTML]
|
||||
// -------------------------------------
|
||||
// Pref : Disable recent Highlights in the Library
|
||||
|
@ -476,6 +484,31 @@ user_pref("media.webvtt.testing.events", false);
|
|||
// Pref : Disable Firefox Developer Tools
|
||||
// https://developer.mozilla.org/en-US/docs/Tools
|
||||
user_pref("devtools.enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref : Disable SSDP (Simple Service Discovery Protocol)
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1111967
|
||||
user_pref("browser.casting.enabled", false); // [FENNEC]
|
||||
// -------------------------------------
|
||||
// Pref : Disable in-browser feed handling
|
||||
// This preferences determines which web sites are listed in the “Subscription Options” dialog.
|
||||
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 tickle time under wifi network
|
||||
// It transmit UDP busy-work to the LAN when anticipating low latency network reads and on wifi to mitigate 802.11 Power Save Polling delays
|
||||
// If you're on wifi and an IPv4 DHCP network we will send 0 length UDP packets at port 4886 of your gateway at the default rate of 60hz for 400ms from the start of the transaction in an attempt to improve RTT during the critical early phases
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=888268
|
||||
user_pref("network.tickle-wifi.enabled", false);
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : IJWY To Shut Up
|
||||
|
@ -518,6 +551,7 @@ user_pref("startup.homepage_welcome_url.additional", ""); // [DESKTOP]
|
|||
user_pref("startup.homepage_override_url", ""); // [DESKTOP]
|
||||
user_pref("browser.search.param.yahoo-fr", ""); // [DESKTOP]
|
||||
user_pref("privacy.restrict3rdpartystorage.partitionedHosts", "");
|
||||
user_pref("browser.xr.warning.infoURL", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Devtools cleanup
|
||||
user_pref("devtools.devices.url", "");
|
||||
|
@ -581,11 +615,10 @@ user_pref("extensions.update.url", "https://versioncheck-bg.addons.mozilla.org/u
|
|||
user_pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=en-US¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%"); // [URL SANITIZED]
|
||||
// -------------------------------------
|
||||
// Pref : Decrease system information leakage to Mozilla addons update servers
|
||||
user_pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/en-US/firefox/collections/4757633/mob/?page=1&collection_sort=-popularity"); // [URL SANITIZED] // [FENNEC]
|
||||
user_pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/en-US/android/collections/4757633/mob/?page=1&collection_sort=-popularity"); // [URL SANITIZED] // [FENNEC]
|
||||
user_pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/api/v3/addons/search/?guid=%IDS%&lang=en-US"); // [URL SANITIZED]
|
||||
user_pref("extensions.getAddons.link.url", "https://addons.mozilla.org/en-US/firefox/"); // [URL SANITIZED]
|
||||
user_pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/en-US/android/search?q=%TERMS%&platform=%OS%&appver=%VERSION%"); // [URL SANITIZED]
|
||||
user_pref("extensions.getAddons.compatOverides.url", "https://services.addons.mozilla.org/api/v3/addons/compat-override/?guid=%IDS%&lang=en-US"); // [URL SANITIZED]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Web Compatibility Reporter
|
||||
// Web Compatibility Reporter adds a "Report Site Issue" button to send data to Mozilla
|
||||
|
@ -610,6 +643,7 @@ user_pref("identity.fxaccounts.auth.uri", "");
|
|||
user_pref("identity.fxaccounts.remote.oauth.uri", "");
|
||||
user_pref("identity.fxaccounts.remote.profile.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.pairing.enabled", false); // [DESKTOP]
|
||||
user_pref("identity.fxaccounts.remote.pairing.uri", ""); // [DESKTOP]
|
||||
|
@ -977,7 +1011,7 @@ user_pref("dom.targetBlankNoOpener.enabled", true); // [DEFAULT: false]
|
|||
// https://bugzilla.mozilla.org/show_bug.cgi?id=583181
|
||||
user_pref("browser.startup.homepage_override.buildID", "20100101");
|
||||
// user_pref("extensions.lastAppBuildId", ""); // [FENNEC - BUG] Value that is constantly rewritten
|
||||
user_pref("media.gmp-manager.buildID", "20200402050101");
|
||||
user_pref("media.gmp-manager.buildID", "20200402060101");
|
||||
user_pref("browser.sessionstore.upgradeBackup.latestBuildID", ""); // [DESKTOP]
|
||||
user_pref("general.buildID.override", "20100101");
|
||||
// -------------------------------------
|
||||
|
@ -1076,7 +1110,7 @@ user_pref("browser.urlbar.trimURLs", false);
|
|||
// Pref : Limit history leaks via enumeration (PER TAB: back/forward)
|
||||
// This is a PER TAB session history. You still have a full history stored under all history
|
||||
// Minimum=1=currentpage, 2 is the recommended minimum as some pages use it as a means of referral (e.g. hotlinking), 4 or 6 or 10 may be more practical
|
||||
user_pref("browser.sessionhistory.max_entries", 20); // [DEFAULT: 50]
|
||||
user_pref("browser.sessionhistory.max_entries", 3); // [DEFAULT: 50]
|
||||
// -------------------------------------
|
||||
// Pref : Disable coloring of visited links - CSS history leak
|
||||
// [NOTE] This has NEVER been fully "resolved": in Mozilla/docs it is stated it's only in 'certain circumstances'
|
||||
|
@ -1216,11 +1250,7 @@ user_pref("security.certerrors.mitm.auto_enable_enterprise_roots", false); // [D
|
|||
// https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevices
|
||||
user_pref("media.devices.insecure.enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref : Disable FF Remote Agent
|
||||
// https://dxr.mozilla.org/mozilla-central/source/remote/README
|
||||
// https://dxr.mozilla.org/mozilla-central/source/remote/doc/Prefs.md
|
||||
user_pref("remote.enabled", false); // [DESKTOP]
|
||||
user_pref("remote.force-local", true); // [DESKTOP]
|
||||
// Pref : Disable verbosity of the internal logger
|
||||
user_pref("remote.log.level", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable security bypass buttons
|
||||
|
@ -1596,7 +1626,6 @@ user_pref("signon.management.page.hideMobileFooter", true); // [DESKTOP]
|
|||
user_pref("signon.management.page.mobileAndroidURL", ""); // [DESKTOP]
|
||||
user_pref("signon.management.page.mobileAppleURL", ""); // [DESKTOP]
|
||||
user_pref("signon.management.page.showPasswordSyncNotification", false); // [DESKTOP]
|
||||
user_pref("signon.storeSignons", true); // [DESKTOP] (// Disable login manager storage. https://hg.mozilla.org/integration/autoland/rev/300057f0ec79)
|
||||
// -------------------------------------
|
||||
// Pref : Disable autofilling saved passwords on HTTP pages and show warning
|
||||
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=1217152,1319119
|
||||
|
@ -2117,9 +2146,8 @@ user_pref("extensions.formautofill.heuristics.enabled", false); // [DESKTOP]
|
|||
// >>>>>>>>>>>>>>>>>>>>
|
||||
// Pref : Delete cookies and site data on close
|
||||
// 0=keep until they expire (default),1=Prompt for each cookie, 2=keep until you close Firefox, 3=Accept for N days
|
||||
// [NOTE] Use "Cookie AutoDelete" extension to manage your cookies
|
||||
// https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/
|
||||
// user_pref("network.cookie.lifetimePolicy", 2);
|
||||
user_pref("network.cookie.lifetimePolicy", 2);
|
||||
// -------------------------------------
|
||||
// Pref : Sets the number of days that the lifetime of cookies should be limited to
|
||||
// [NOTE] Only use if network.cookie.lifetimePolicy is set to 3
|
||||
|
@ -2184,13 +2212,13 @@ user_pref("privacy.sanitize.sanitizeOnShutdown", true); // [DESKTOP]
|
|||
// [NOTE] Clearing open windows on Firefox exit causes 2 windows to open when Firefox starts https://bugzilla.mozilla.org/show_bug.cgi?id=1334945
|
||||
// [NOTE] If 'history' is true, downloads will also be cleared regardless of the value
|
||||
user_pref("privacy.clearOnShutdown.cache", true); // [DESKTOP]
|
||||
user_pref("privacy.clearOnShutdown.cookies", false); // [DESKTOP]
|
||||
user_pref("privacy.clearOnShutdown.cookies", true); // [DESKTOP]
|
||||
user_pref("privacy.clearOnShutdown.downloads", true); // [DESKTOP]
|
||||
user_pref("privacy.clearOnShutdown.formdata", true); // [DESKTOP]
|
||||
user_pref("privacy.clearOnShutdown.history", true); // [DESKTOP]
|
||||
user_pref("privacy.clearOnShutdown.offlineApps", true); // [DESKTOP]
|
||||
user_pref("privacy.clearOnShutdown.sessions", true); // [DESKTOP]
|
||||
user_pref("privacy.clearOnShutdown.siteSettings", false); // [DESKTOP]
|
||||
user_pref("privacy.clearOnShutdown.siteSettings", true); // [DESKTOP]
|
||||
// user_pref("privacy.clearOnShutdown.openWindows", true); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Reset default 'Time range to clear' for 'Clear Recent History'
|
||||
|
@ -2384,6 +2412,12 @@ user_pref("gfx.vr.osvr.commonLibPath", "");
|
|||
user_pref("gfx.vr.osvr.utilLibPath", "");
|
||||
user_pref("dom.vr.process.enabled", false);
|
||||
user_pref("dom.vr.webxr.enabled", false);
|
||||
user_pref("dom.vr.always_support_ar", false);
|
||||
user_pref("dom.vr.always_support_vr", false);
|
||||
// -------------------------------------
|
||||
// Pref : Block by default permission for Virtual Reality
|
||||
// 0=always ask (default), 1=allow, 2=block
|
||||
user_pref("permissions.default.xr", 2); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable hardware acceleration to reduce graphics fingerprinting
|
||||
// [WARNING] Affects text rendering (fonts will look different), impacts video performance, and parts of Quantum that utilize the GPU will also be affected as they are rolled out
|
||||
|
@ -2416,17 +2450,17 @@ user_pref("dom.network.enabled", false); // [DESKTOP]
|
|||
// Section : UI (User Interface)
|
||||
// >>>>>>>>>>>>>>>>>>>>>
|
||||
// Pref : Disable third-party cookie UI
|
||||
user_pref("browser.contentblocking.rejecttrackers.ui.enabled", false);
|
||||
user_pref("browser.contentblocking.rejecttrackers.ui.enabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable tracking protection UI list editing under preferences
|
||||
// user_pref("browser.contentblocking.trackingprotection.ui.enabled", false); // [DESKTOP]
|
||||
user_pref("browser.contentblocking.trackingprotection.ui.enabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable auto hide download button
|
||||
// user_pref("browser.download.autohideButton", false); // [DESKTOP]
|
||||
user_pref("browser.download.autohideButton", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable browser animation
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1352069
|
||||
// user_pref("toolkit.cosmeticAnimations.enabled", false); // [DESKTOP]
|
||||
user_pref("toolkit.cosmeticAnimations.enabled", false);
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : Personal
|
||||
|
@ -2650,4 +2684,32 @@ user_pref("toolkit.telemetry.hybridContent.enabled", false);
|
|||
// user_pref("dom.indexedDB.enabled", false);
|
||||
// -------------------------------------
|
||||
// FF73+
|
||||
// -------------------------------------
|
||||
// Pref : Decrease system information leakage to Mozilla addons update servers
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1572140
|
||||
// https://hg.mozilla.org/mozilla-central/rev/6537d7cbffe8
|
||||
user_pref("extensions.getAddons.compatOverides.url", "");
|
||||
// -------------------------------------
|
||||
// Pref : Remove remote discovery pane from about:addons
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1337627
|
||||
// https://hg.mozilla.org/mozilla-central/rev/e542391fb8c5
|
||||
user_pref("extensions.htmlaboutaddons.discover.enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref : Remove extensions.htmlaboutaddons.enabled pref
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1564525
|
||||
// https://hg.mozilla.org/mozilla-central/rev/7bcf4117a172
|
||||
user_pref("extensions.htmlaboutaddons.enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref : Disable ship remote agent in Firefox Nightly
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1544393
|
||||
// https://hg.mozilla.org/mozilla-central/rev/5a69d75cf9b1
|
||||
user_pref("remote.enabled", false);
|
||||
user_pref("remote.force-local", true);
|
||||
// -------------------------------------
|
||||
// Pref : Disable login manager storage
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1602631
|
||||
// https://hg.mozilla.org/mozilla-central/rev/860cbb7db3c8
|
||||
user_pref("signon.storeSignons", false);
|
||||
// -------------------------------------
|
||||
// FF74+
|
||||
// -------------------------------------
|
Loading…
Reference in New Issue