Update 'user.js'

️ Disabled more sync prefs
️ Disabled warnings by entering full screen mode
️ Disabled missing prefs in already disabled pref
️ Disabled completly Virtual Reality feauture
ℹ️ Sorted some prefs
ℹ️ Synced desktop prefs (even missing ones)
This commit is contained in:
quindecim 2019-06-23 20:24:52 +03:00
parent cf686dafca
commit ae0d8b182f
1 changed files with 91 additions and 17 deletions

108
user.js
View File

@ -44,8 +44,7 @@ user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket",
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // [DESKTOP]
user_pref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false); // [DESKTOP]
// -------------------------------------
// Pref : Set first run page and HOME+NEWWINDOW page
user_pref("startup.homepage_welcome_url", ""); // [DESKTOP]
// Pref : Set Homepage
user_pref("browser.startup.homepage", "about:blank"); // [DESKTOP]
// -------------------------------------
// Pref : Disable Activity Stream Snippets
@ -116,7 +115,7 @@ user_pref("browser.startup.homepage_override.mstone", "ignore");
// Pref : Disable app from auto-update
user_pref("app.update.enabled", false);
user_pref("app.update.auto", false); // [DESKTOP]
user_pref("app.update.autodownload", ""); // [TEST] // [FENNEC]
user_pref("app.update.autodownload", "never"); // [TEST] // [FENNEC]
user_pref("app.update.channel", "");
user_pref("app.update.url", ""); // [DESKTOP]
user_pref("app.update.url.details", ""); // [DESKTOP]
@ -249,6 +248,21 @@ user_pref("services.sync.prefs.sync.browser.safebrowsing.downloads.enabled", fal
user_pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.safebrowsing.passwords.enabled", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.safebrowsing.phishing.enabled", false); // [DESKTOP]
user_pref("services.sync.engine.addresses.available", false); // [DESKTOP]
user_pref("services.sync.addons.trustedSourceHostnames", ""); // [DESKTOP]
user_pref("services.sync.engine.tabs.filteredUrls", ""); // [DESKTOP]
user_pref("services.sync.log.appender.console", ""); // [DESKTOP]
user_pref("services.sync.log.appender.dump", ""); // [DESKTOP]
user_pref("services.sync.log.appender.file.level", ""); // [DESKTOP]
user_pref("services.sync.log.logger", ""); // [DESKTOP]
user_pref("services.sync.log.logger.engine", ""); // [DESKTOP]
user_pref("services.sync.prefs.sync.media.eme.enabled", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.privacy.fuzzyfox.clockgrainus", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.privacy.fuzzyfox.enabled", false); // [DESKTOP]
user_pref("services.sync.engine.addresses.available", false); // [DESKTOP]
user_pref("services.sync.engine.addresses.available", false); // [DESKTOP]
user_pref("services.sync.engine.addresses.available", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.signon.rememberSignons", false); // [DESKTOP]
user_pref("services.sync.serverURL", ""); // [DESKTOP]
user_pref("services.sync.fxa.privacyURL", ""); // [DESKTOP]
user_pref("services.sync.fxa.termsURL", ""); // [DESKTOP]
@ -470,9 +484,21 @@ user_pref("social.directories", ""); // [DEPRECATED] // [DESKTOP]
user_pref("social.remote-install.enabled", false); // [DEPRECATED] // [DESKTOP]
user_pref("social.whitelist", ""); // [DEPRECATED] // [DESKTOP]
// -------------------------------------
// Pref : Disable Firefox warnings
// Pref : Disable Firefox internal page warnings
user_pref("network.warnOnAboutNetworking", false);
user_pref("general.warnOnAboutConfig", false);
// -------------------------------------
// Pref : Disable recent Highlights in the Library
user_pref("browser.library.activity-stream.enabled", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable warnings about close/open multiple tabs
user_pref("browser.tabs.warnOnClose", false); // [DESKTOP]
user_pref("browser.tabs.warnOnCloseOtherTabs", false); // [DESKTOP]
user_pref("browser.tabs.warnOnOpen", false); // [DESKTOP]
// -------------------------------------
// Pref : Disables warnings by entering full screen mode
user_pref("full-screen-api.warning.delay", 0);
user_pref("full-screen-api.warning.timeout", 0);
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : IJWY To Shut Up
@ -512,6 +538,9 @@ 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.use_legacy_keycode_and_charcode", "");
user_pref("startup.homepage_welcome_url", ""); // [DESKTOP]
user_pref("startup.homepage_welcome_url.additional", ""); // [DESKTOP]
user_pref("startup.homepage_override_url", ""); // [DESKTOP]
// -------------------------------------
// Pref : Devtools cleanup
user_pref("devtools.devices.url", "");
@ -595,6 +624,7 @@ user_pref("layout.accessiblecaret.hapticfeedback", false); // [DEFAULT: true]
user_pref("dom.registerProtocolHandler.insecure.enabled", false);
// -------------------------------------
// Pref : Disable Firefox Accounts and Sync
user_pref("identity.fxaccounts.enabled", false); // [DESKTOP]
user_pref("identity.fxaccounts.auth.uri", "");
user_pref("identity.fxaccounts.remote.oauth.uri", "");
user_pref("identity.fxaccounts.remote.profile.uri", "");
@ -605,6 +635,10 @@ user_pref("identity.fxaccounts.pairing.enabled", false); // [DESKTOP]
user_pref("identity.fxaccounts.remote.pairing.uri", ""); // [DESKTOP]
user_pref("identity.fxaccounts.toolbar.accessed", false); // [DESKTOP]
user_pref("identity.fxaccounts.toolbar.enabled", false); // [DESKTOP]
user_pref("identity.fxaccounts.migrateToDevEdition", false); // [DESKTOP]
user_pref("identity.fxaccounts.contextParam", ""); // [DESKTOP]
user_pref("identity.fxaccounts.commands.enabled", false); // [DESKTOP]
user_pref("identity.fxaccounts.autoconfig.uri", ""); // [DESKTOP]
// -------------------------------------
// Pref : Disable snippets
user_pref("browser.snippets.enabled", false); // [FENNEC]
@ -705,8 +739,8 @@ user_pref("devtools.chrome.enabled", false);
// https://bugzilla.mozilla.org/1173199
user_pref("mathml.disabled", true);
// -------------------------------------
// Pref : Disable middle mouse click paste
// This preference determines how to handle middle clicks in text fields.
// Pref : Disable middle mouse click paste leaking on Linux
// https://bugzilla.mozilla.org/1528289
// Useless on Android
user_pref("middlemouse.paste", false);
// -------------------------------------
@ -948,8 +982,8 @@ user_pref("javascript.options.asmjs", false);
// If false, causes the odd site issue and there is also a performance loss
// https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0817
// https://trac.torproject.org/projects/tor/ticket/26019
user_pref("javascript.options.ion", false);
// user_pref("javascript.options.baselinejit", false); // [FENNEC - BUG] If false show warning message when we try to download any addons from official page
user_pref("javascript.options.ion", false); // [DESKTOP - BUG] Navigation issues
// user_pref("javascript.options.baselinejit", false); // [BUG] Addons issues
user_pref("javascript.options.native_regexp", false);
// -------------------------------------
// Pref : Disable WebAssembly
@ -1145,9 +1179,9 @@ user_pref("browser.urlbar.timesBeforeHidingSuggestionsHint", 0); // [DESKTOP]
// Pref : Disable URL bar autocomplete and history/bookmarks suggestions dropdown
// [NOTE] This does not cause privacy/leaking issue
// user_pref("browser.urlbar.autocomplete.enabled", false); // [DESKTOP]
// user_pref("browser.urlbar.suggest.history", false); // [DESKTOP]
// user_pref("browser.urlbar.suggest.bookmark", false); // [DESKTOP]
// user_pref("browser.urlbar.suggest.openpage", false); // [DESKTOP]
user_pref("browser.urlbar.suggest.history", false); // [DESKTOP]
user_pref("browser.urlbar.suggest.bookmark", false); // [DESKTOP]
user_pref("browser.urlbar.suggest.openpage", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable browsing and download history
// user_pref("places.history.enabled", false); // [DESKTOP]
@ -1216,6 +1250,13 @@ user_pref("extensions.webextensions.tabhide.enabled", false); // [DEFAULT: true]
// Pref : WebSockets is a technology that makes it possible to open an interactive communication session between the user's browser and a server. (May leak IP when using proxy/VPN)
// https://bugzilla.mozilla.org/show_bug.cgi?id=1091016
user_pref("network.websocket.enabled", false); // [HIDDEN PREF] // [DEPRECATED] // [DESKTOP]
// -------------------------------------
// Pref : Block new requests asking to access your hardware components
// This will prevent any websites not listed in a specific list from requesting permission to access your components
user_pref("permissions.default.geo", 2); // [DESKTOP]
user_pref("permissions.default.camera", 2); // [DESKTOP]
user_pref("permissions.default.microphone", 2); // [DESKTOP]
user_pref("permissions.default.desktop-notification", 2); // [DESKTOP]
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Block Implicit Outbound
@ -1577,8 +1618,18 @@ user_pref("security.insecure_field_warning.contextual.enabled", true);
// Pref : Disable password manager
// [NOTE] This does not clear any passwords already saved
user_pref("signon.rememberSignons", false);
user_pref("signon.rememberSignons.visibilityToggle", false);
user_pref("signon.schemeUpgrades", false);
user_pref("signon.showAutoCompleteFooter", false);
user_pref("signon.autologin.proxy", false);
user_pref("signon.privateBrowsingCapture.enabled", false);
user_pref("signon.debug", false);
// -------------------------------------
// Pref : Disable Firefox import password from signons.sqlite file
// https://support.mozilla.org/en-US/questions/1020818
user_pref("signon.importedFromSqlite", false);
user_pref("signon.recipes.path", "");
// -------------------------------------
// Pref : Set how often Firefox should ask for the master password
// 0=the first time (default), 1=every time it's needed, 2=every n minutes
user_pref("security.ask_for_password", 2);
@ -1739,7 +1790,6 @@ user_pref("toolkit.winRegisterApplicationRestart", false); // [WINDOWS] // [DESK
// >>>>>>>>>>>>>>>>>>>>
// Pref : Disable geolocation
user_pref("geo.enabled", false);
user_pref("permissions.default.geo", 2); // [DESKTOP]
// user_pref("geo.wifi.xhr.timeout", 0);
// -------------------------------------
// Pref : Disable GeoIP lookup on your address to set default search engine region
@ -1776,7 +1826,7 @@ user_pref("geo.wifi.logging.enabled", false); // [HIDDEN PREF] // [DESKTOP]
// Section : Fonts
// >>>>>>>>>>>>>>>>>>>>>>
// Pref : Disable websites choosing fonts (0=block, 1=allow)
// If you disallow fonts, this drastically limits/reduces font enumeration (by JS) which is a high entropy fingerprinting vector.
// This can limit most (but not all) JS font enumeration which is a high entropy fingerprinting vector.
// [NOTE] Disabling fonts can uglify the web a fair bit.
// https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/
user_pref("browser.display.use_document_fonts", 0);
@ -1805,9 +1855,9 @@ user_pref("gfx.downloadable_fonts.woff2.enabled", false);
user_pref("layout.css.font-loading-api.enabled", false);
// -------------------------------------
// Pref : Disable special underline handling for a few fonts which you will probably never use
// Any of these fonts on your system can be enumerated for fingerprinting.
// http://kb.mozillazine.org/Font.blacklist.underline_offset
user_pref("font.blacklist.underline_offset", "");
// https://github.com/ghacksuserjs/ghacks-user.js/issues/744
// user_pref("font.blacklist.underline_offset", "");
// -------------------------------------
// Pref : Disable graphite which turned back on by default
// https://www.mozilla.org/security/advisories/mfsa2017-15/#CVE-2017-7778
@ -2330,11 +2380,29 @@ user_pref("dom.battery.enabled", false); // [DEFAULT: true]
// https://developer.mozilla.org/en-US/Firefox/Releases/36#Interfaces.2FAPIs.2FDOM
// https://developer.mozilla.org/en-US/docs/Web/API/WebVR_API
user_pref("dom.vr.enabled", false); // [DEFAULT: true]
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.invisible.enabled", false);
user_pref("dom.vr.openvr.action_input", false);
user_pref("dom.vr.openvr.enabled", false);
user_pref("dom.vr.osvr.enabled", false);
user_pref("dom.vr.poseprediction.enabled", false);
user_pref("dom.vr.puppet.enabled", false);
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.clientLibPath", "");
user_pref("gfx.vr.osvr.commonLibPath", "");
user_pref("gfx.vr.osvr.utilLibPath", "");
// -------------------------------------
// Pref : Disable hardware acceleration to reduce graphics fingerprinting
// [SETUP-PERF] 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
// [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
// https://wiki.mozilla.org/Platform/GFX/HardwareAcceleration
// user_pref("gfx.direct2d.disabled", true); // [DESKTOP] // [WINDOWS]
// 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
// -------------------------------------
// Pref : Disable Web Audio API
// https://bugzilla.mozilla.org/show_bug.cgi?id=1288359
@ -2434,5 +2502,11 @@ 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
user_pref("browser.urlbar.clickSelectsAll", true);
// -------------------------------------
// Pref : Enable double click selects a string segment in URL bar
user_pref("browser.urlbar.doubleClickSelectsAll", false); // [DESKTOP]
//
//
//