diff --git a/user.js b/user.js index 09d3800..cf1775f 100644 --- a/user.js +++ b/user.js @@ -79,6 +79,7 @@ user_pref("browser.newtabpage.activity-stream.prerender", 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] // ------------------------------------- // Pref : Disable new tab tile ads & preload // http://www.thewindowsclub.com/disable-remove-ad-tiles-from-firefox @@ -101,6 +102,130 @@ user_pref("browser.startup.homepage_override.mstone", "ignore"); // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // Section : Quiet Fox // >>>>>>>>>>>>>>>>>>>>> +// 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] +user_pref("app.update.channel", ""); // [TEST] +user_pref("app.update.url", ""); // [DESKTOP] +user_pref("app.update.url.details", ""); // [DESKTOP] +user_pref("app.update.url.manual", ""); // [DESKTOP] +user_pref("app.update.url.android", ""); // [FENNEC] +// user_pref("app.update.timerFirstInterval", 0); +// user_pref("app.update.timerMinimumDelay", 0); +// user_pref("app.update.url.android", "https://aus5.mozilla.org/update/4/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%MOZ_VERSION%/update.xml"); // [TEST] +user_pref("app.update.service.enabled", false); // [DESKTOP] +user_pref("app.update.silent", false); // [DESKTOP] +user_pref("app.update.staging.enabled", false); // [DESKTOP] +user_pref("app.update.log.file", false); // [DESKTOP] +// ------------------------------------- +// Pref : Disable sync +user_pref("sync.enabled", false); // [DEPRECATED] // [DESKTOP] +user_pref("services.sync.enabled", false); +// ------------------------------------- +// Pref : Disable other sync settings (by prevention) +user_pref("services.sync.maxResyncs", 0); // [DESKTOP] +user_pref("services.sync.telemetry.maxPayloadCount", 0); // [DESKTOP] +user_pref("services.sync.addons.ignoreUserEnabledChanges", true); // [DESKTOP] +user_pref("services.sync.engine.addons", false); // [DESKTOP] +user_pref("services.sync.engine.addresses", false); // [DESKTOP] +user_pref("services.sync.engine.bookmarks", false); // [DESKTOP] +user_pref("services.sync.engine.bookmarks.buffer", false); // [DESKTOP] +user_pref("services.sync.engine.creditcards", false); // [DESKTOP] +user_pref("services.sync.engine.creditcards.available", false); // [DESKTOP] +user_pref("services.sync.engine.history", false); // [DESKTOP] +user_pref("services.sync.engine.passwords", false); // [DESKTOP] +user_pref("services.sync.engine.prefs", false); // [DESKTOP] +user_pref("services.sync.engine.tabs", false); // [DESKTOP] +user_pref("services.sync.log.appender.file.logOnError", false); // [DESKTOP] +user_pref("services.sync.log.appender.file.logOnSuccess", false); // [DESKTOP] +user_pref("services.sync.log.cryptoDebug", false); // [DESKTOP] +user_pref("services.sync.sendVersionInfo", false); // [DESKTOP] +user_pref("services.sync.syncedTabs.showRemoteIcons", true); // [DESKTOP] +user_pref("services.sync.prefs.sync.accessibility.blockautorefresh", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.accessibility.browsewithcaret", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.accessibility.typeaheadfind", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.accessibility.typeaheadfind.linksonly", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.addons.ignoreUserEnabledChanges", true); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.contentblocking.enabled", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.ctrlTab.recentlyUsedOrder", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.download.useDownloadDir", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.formfill.enable", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.link.open_newwindow", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.newtabpage.enabled", 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.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.page", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.tabs.loadInBackground", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.tabs.warnOnClose", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.tabs.warnOnOpen", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.urlbar.autocomplete.enabled", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.urlbar.matchBuckets", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.urlbar.maxRichResults", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.urlbar.suggest.bookmark", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.urlbar.suggest.history", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.urlbar.suggest.history.onlyTyped", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.urlbar.suggest.openpage", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.urlbar.suggest.searches", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.dom.disable_open_during_load", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.dom.disable_window_flip", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.dom.disable_window_move_resize", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.dom.event.contextmenu.enabled", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.extensions.personas.current", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.extensions.update.enabled", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.intl.accept_languages", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.layout.spellcheckDefault", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.lightweightThemes.selectedThemeID", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.lightweightThemes.usedThemes", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.network.cookie.cookieBehavior", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.network.cookie.lifetimePolicy", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.network.cookie.thirdparty.sessionOnly", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.permissions.default.image", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.pref.advanced.images.disable_button.view_image", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.pref.advanced.javascript.disable_button.advanced", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.pref.downloads.disable_button.edit_actions", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.pref.privacy.disable_button.cookie_exceptions", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.clearOnShutdown.cache", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.clearOnShutdown.cookies", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.clearOnShutdown.downloads", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.clearOnShutdown.formdata", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.clearOnShutdown.history", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.donottrackheader.enabled", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.reduceTimerPrecision", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.resistFingerprinting", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.microseconds", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.trackingprotection.enabled", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.privacy.trackingprotection.pbmode.enabled", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.security.OCSP.enabled", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.security.OCSP.require", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.security.default_personal_cert", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.security.tls.version.max", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.security.tls.version.min", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.services.sync.syncedTabs.showRemoteIcons", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.spellchecker.dictionary", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.xpinstall.whitelist.required", false); // [DESKTOP] +user_pref("services.sync.declinedEngines", ""); // [DESKTOP] +user_pref("services.sync.jpake.serverURL", ""); // [DEPRECATED] // [DESKTOP] +user_pref("services.sync.migrated", false); // [DESKTOP] +user_pref("services.sync.prefs.sync.browser.safebrowsing.downloads.enabled", false); // [DESKTOP] +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.serverURL", ""); // [DESKTOP] +user_pref("services.sync.fxa.privacyURL", ""); // [DESKTOP] +user_pref("services.sync.fxa.termsURL", ""); // [DESKTOP] +user_pref("services.sync.lastversion", ""); // [DESKTOP] +user_pref("sync.serverURL", ""); // [DEPRECATED] // [DESKTOP] +user_pref("sync.jpake.serverURL", ""); // [DEPRECATED] // [DESKTOP] +// ------------------------------------- // Pref : Never check updates for search engines // https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections#w_auto-update-checking user_pref("browser.search.update", false); @@ -143,9 +268,13 @@ user_pref("toolkit.telemetry.updatePing.enabled", false); // [DESKTOP] user_pref("toolkit.telemetry.bhrPing.enabled", false); // [DESKTOP] user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); // [DESKTOP] user_pref("toolkit.telemetry.hybridContent.enabled", false); // [DESKTOP] +user_pref("toolkit.telemetry.previousBuildID", ""); // [DESKTOP] +user_pref("toolkit.telemetry.prompted", 2); // [DESKTOP] +user_pref("toolkit.telemetry.rejected", true); // [DESKTOP] // ------------------------------------- // Pref : Disable Telemetry Coverage // https://blog.mozilla.org/data/2018/08/20/effectively-measuring-search-in-firefox/ +user_pref("toolkit.coverage.enabled", false); // [DESKTOP] user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF] // [DESKTOP] user_pref("toolkit.coverage.opt-out", true); // [HIDDEN PREF] // [DESKTOP] user_pref("toolkit.coverage.endpoint.base", ""); // [DESKTOP] @@ -153,6 +282,7 @@ user_pref("toolkit.coverage.endpoint.base", ""); // [DESKTOP] // Pref : Disable collection/sending of the health report (healthreport.sqlite*) user_pref("datareporting.healthreport.uploadEnabled", false); // [DESKTOP] user_pref("datareporting.healthreport.service.enabled", false); // [DESKTOP] +user_pref("datareporting.healthreport.infoURL", ""); // [DESKTOP] user_pref("datareporting.policy.dataSubmissionEnabled", false); user_pref("datareporting.policy.currentPolicyVersion", 0); user_pref("datareporting.policy.currentPolicyAcceptedVersion", 0); @@ -188,6 +318,7 @@ user_pref("browser.discovery.enabled", false); // [DEFAULT: false] user_pref("breakpad.reportURL", ""); user_pref("browser.tabs.crashReporting.sendReport", false); // [DESKTOP] user_pref("browser.crashReports.unsubmittedCheck.enabled", false); // [DESKTOP] +user_pref("toolkit.crashreporter.infoURL", ""); // [DESKTOP] // ------------------------------------- // Pref : Disable automatic captive portal detection // https://en.wikipedia.org/wiki/Captive_portal @@ -218,6 +349,9 @@ user_pref("lightweightThemes.update.enabled",false); // [DESKTOP] user_pref("lightweightThemes.persisted.headerURL", false); user_pref("lightweightThemes.persistedThemeID", ""); // [FENNEC] user_pref("lightweightThemes.selectedThemeID", ""); // [FENNEC] +user_pref("lightweightThemes.getMoreURL", ""); // [DESKTOP] +user_pref("lightweightThemes.persisted.footerURL", false); // [DESKTOP] +user_pref("lightweightThemes.recommendedThemes", ""); // [DESKTOP] // ------------------------------------- // Pref : Disable Studies and SHIELD // [NOTE] This pref has no effect when Health Reports are disabled @@ -269,9 +403,37 @@ user_pref("browser.onboarding.notification.tour-ids-queue", ""); // [DESKTOP] // user_pref("browser.onboarding.notification.finished", true); // [DESKTOP] // [DEPRECATED] user_pref("browser.onboarding.tour.onboarding-tour-customize.completed", true); // [DESKTOP] // [DEPRECATED] user_pref("browser.onboarding.tour.onboarding-tour-performance.completed", true); // [DESKTOP] // [DEPRECATED] +user_pref("devtools.onboarding.telemetry.logged", false); // [DESKTOP] // ------------------------------------- // Pref : Disable check default browser on first run user_pref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", true); // [DESKTOP] +// ------------------------------------- +// Pref : Disable GCLI (Graphical Command Line Interface) +// https://wiki.mozilla.org/DevTools/Features/GCLI +user_pref("devtools.gcli.imgurUploadURL", ""); // [DESKTOP] +user_pref("devtools.gcli.jquerySrc", ""); // [DESKTOP] +user_pref("devtools.gcli.underscoreSrc", ""); // [DESKTOP] +user_pref("devtools.gcli.lodashSrc", ""); // [DESKTOP] +// ------------------------------------- +// Pref : Disable Firefox screenshot extension +// https://support.mozilla.org/en-US/kb/firefox-screenshots +user_pref("extensions.screenshots.disabled", true); // [DESKTOP] +user_pref("extensions.screenshots.upload-disabled", true); // [DESKTOP] +// ------------------------------------- +// Pref : Disable spellchecker functionality by default +// 0=none, 1-multi-line, 2=multi-line & single-line +// http://kb.mozillazine.org/Layout.spellcheckDefault +// https://support.mozilla.org/en-US/kb/how-do-i-use-firefox-spell-checker +user_pref("layout.spellcheckDefault", 0); // [DESKTOP] +// ------------------------------------- +// Pref : Disable "Savant" Shield study +// https://bugzilla.mozilla.org/1457226 +user_pref("shield.savant.enabled", false); // [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] // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // Section : IJWY To Shut Up @@ -300,27 +462,33 @@ user_pref("browser.newtabpage.activity-stream.asrouter.providers.onboarding", "" user_pref("browser.newtabpage.activity-stream.fxaccounts.endpoint", ""); // [DESKTOP] user_pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines", ""); // [DESKTOP] user_pref("browser.search.searchEnginesURL", ""); // [DESKTOP] -// ------------------------------------- -// 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] -user_pref("app.update.channel", ""); // [TEST] -user_pref("app.update.url", ""); // [DESKTOP] -user_pref("app.update.url.android", ""); // [FENNEC] -user_pref("app.update.url.details", ""); // [DESKTOP] -user_pref("app.update.url.manual", ""); // [DESKTOP] -// user_pref("app.update.timerFirstInterval", 0); -// user_pref("app.update.timerMinimumDelay", 0); -// user_pref("app.update.url.android", "https://aus5.mozilla.org/update/4/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%MOZ_VERSION%/update.xml"); // [TEST] -user_pref("app.update.service.enabled", false); // [DESKTOP] -user_pref("app.update.silent", false); // [DESKTOP] -user_pref("app.update.staging.enabled", false); // [DESKTOP] -// ------------------------------------- -// Pref : Test To Make FFox Silent +user_pref("extensions.getAddons.themes.browseURL", ""); // [DESKTOP] user_pref("security.content.signature.root_hash", ""); user_pref("urlclassifier.phishTable", ""); user_pref("urlclassifier.passwordAllowTable", ""); +user_pref("identity.mobilepromo.android", ""); // [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.telemetry.infoURL", ""); // [DESKTOP] +// ------------------------------------- +// Pref : Devtools cleanup +user_pref("devtools.devices.url", ""); +user_pref("devtools.devedition.promo.url", ""); // [DESKTOP] +user_pref("devtools.telemetry.supported_performance_marks", ""); // [DESKTOP] +user_pref("devtools.performance.recording.ui-base-url", ""); // [DESKTOP] +// ------------------------------------- +// Pref : Disable website protocol handlers +user_pref("gecko.handlerService.schemes.irc.0.name", ""); // [DESKTOP] +user_pref("gecko.handlerService.schemes.irc.0.uriTemplate", ""); // [DESKTOP] +user_pref("gecko.handlerService.schemes.ircs.0.name", ""); // [DESKTOP] +user_pref("gecko.handlerService.schemes.ircs.0.uriTemplate", ""); // [DESKTOP] +user_pref("gecko.handlerService.schemes.mailto.0.name", ""); // [DESKTOP] +user_pref("gecko.handlerService.schemes.mailto.0.uriTemplate", ""); // [DESKTOP] +user_pref("gecko.handlerService.schemes.mailto.1.name", ""); // [DESKTOP] +user_pref("gecko.handlerService.schemes.mailto.1.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 @@ -335,6 +503,15 @@ user_pref("browser.translation.engine", ""); // [DESKTOP] user_pref("browser.translation.detectLanguage", false); // [DESKTOP] user_pref("browser.translation.neverForLanguages", ""); // [DESKTOP] user_pref("browser.translation.ui.show", false); // [DESKTOP] +// ------------------------------------- +// Pref : Disable useragent updates and site specific overrides +user_pref("general.useragent.updates.enabled", false); // [FENNEC] +user_pref("general.useragent.site_specific_overrides", false); // [DESKTOP] +user_pref("general.useragent.updates.url", ""); // [FENNEC] +// ------------------------------------- +// Pref : Disable mailnews +user_pref("mailnews.messageid_browser.url", ""); // [DESKTOP] +user_pref("mailnews.mx_service_url", ""); // [DESKTOP] // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // Section : Miscellaneous @@ -361,9 +538,6 @@ user_pref("extensions.installDistroAddons", false); // [DEFAULT: false] // [FENN // Pref : Disable legacy extensions user_pref("extensions.legacy.enabled", false); // ------------------------------------- -// Pref : -user_pref("devtools.devices.url", ""); -// ------------------------------------- // Pref : Provide haptic feedback on longPress selection events user_pref("layout.accessiblecaret.hapticfeedback", false); // [DEFAULT: true] // ------------------------------------- @@ -376,9 +550,7 @@ 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 -// ------------------------------------- -// Pref : Disable sync -user_pref("services.sync.enabled", false); +user_pref("identity.fxaccounts.remote.root", ""); // [DESKTOP] // ------------------------------------- // Pref : Disable snippets user_pref("browser.snippets.enabled", false); // [FENNEC] @@ -444,11 +616,18 @@ user_pref("gfx.font_rendering.opentype_svg.enabled", false); user_pref("security.dialog_enable_delay", 700); // ------------------------------------- // Pref : Disable WebIDE to prevent remote debugging and ADB extension download +// https://developer.mozilla.org/docs/Tools/WebIDE +// https://trac.torproject.org/projects/tor/ticket/16222 user_pref("devtools.debugger.remote-enabled", false); user_pref("devtools.webide.enabled", false); // [DESKTOP] user_pref("devtools.webide.autoinstallADBExtension", false); // [DESKTOP] user_pref("devtools.webide.autoinstallADBHelper", false); // [DESKTOP] user_pref("devtools.webide.autoinstallFxdtAdapters", false); // [DESKTOP] +user_pref("devtools.remote.adb.extensionURL", ""); // [DESKTOP] +user_pref("devtools.remote.adb.extensionID", ""); // [DESKTOP] +user_pref("devtools.webide.adaptersAddonURL", ""); // [DESKTOP] // [DEPRECATED] +user_pref("devtools.webide.adbAddonURL", ""); // [DESKTOP] // [DEPRECATED] +user_pref("devtools.webide.templatesURL", ""); // [DESKTOP] // ------------------------------------- // Pref : Force local debugging // https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Debugging_Firefox_Desktop @@ -548,6 +727,15 @@ user_pref("security.data_uri.block_toplevel_data_uri_navigations", true); // [DE user_pref("network.protocol-handler.warn-external-default", true); user_pref("network.protocol-handler.external.javascript", false); user_pref("network.protocol-handler.external.data", false); +user_pref("network.protocol-handler.external.about", false); // [DESKTOP] +user_pref("network.protocol-handler.external.blob", false); // [DESKTOP] +user_pref("network.protocol-handler.external.chrome", false); // [DESKTOP] +user_pref("network.protocol-handler.external.file", false); // [DESKTOP] +user_pref("network.protocol-handler.external.ftp", false); // [DESKTOP] +user_pref("network.protocol-handler.external.http", false); // [DESKTOP] +user_pref("network.protocol-handler.external.https", false); // [DESKTOP] +user_pref("network.protocol-handler.external.moz-extension", false); // [DESKTOP] +user_pref("network.protocol-handler.external.ms-windows-store", false); // [DESKTOP] user_pref("network.protocol-handler.expose-all", false); user_pref("network.protocol-handler.expose.http", true); user_pref("network.protocol-handler.expose.https", true); @@ -578,6 +766,9 @@ user_pref("consoleservice.logcat", false); // [FENNEC] // https://github.com/pyllyukko/user.js/issues/143 user_pref("browser.pocket.enabled", false); // [DESKTOP] user_pref("extensions.pocket.enabled", false); // [DESKTOP] +user_pref("extensions.pocket.api", ""); // [DESKTOP] +user_pref("extensions.pocket.oAuthConsumerKey", ""); // [DESKTOP] +user_pref("extensions.pocket.site", ""); // [DESKTOP] // ------------------------------------- // Pref : Lock web content in file processes // https://bugzilla.mozilla.org/1343184 @@ -591,6 +782,12 @@ user_pref("browser.urlbar.filter.javascript", true); // [DESKTOP] // https://bugzilla.mozilla.org/1427726 user_pref("network.jar.open-unsafe-types", false); // [DESKTOP] // ------------------------------------- +// Pref : Disable remote JAR files being opened, regardless of content type +// https://bugzilla.mozilla.org/1173171 +// https://www.fxsitecompat.com/en-CA/docs/2015/jar-protocol-support-has-been-disabled-by-default/ +// https://bugzilla.mozilla.org/1427726 +user_pref("network.jar.block-remote-files", true); // [DEPRECATED] // [DESKTOP] +// ------------------------------------- // Pref : Disable Firefox's built-in PDF reader // This setting controls if the option "Display in Firefox" is available in the setting below and by effect controls whether PDFs are handled in-browser or externally ("Ask" or "Open With") // PROS: pdfjs is lightweight, open source, and as secure/vetted as any pdf reader out there (more than most) @@ -600,6 +797,8 @@ user_pref("network.jar.open-unsafe-types", false); // [DESKTOP] // CONS: You may prefer a different pdf reader for security reasons // CAVEAT: JS can still force a pdf to open in-browser by bundling its own code (rare) user_pref("pdfjs.disabled", true); // [DEFAULT: false] // [DESKTOP] +user_pref("pdfjs.enabledCache.state", false); // [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 @@ -612,6 +811,10 @@ user_pref("ui.use_standins_for_native_colors", true); // [DESKTOP] // ------------------------------------- // Pref : Close tab with double click action // user_pref("browser.tabs.closeTabByDblclick", true); // [DESKTOP] +// ------------------------------------- +// Pref : Remove special permissions for certain mozilla domains +// resource://app/defaults/permissions +user_pref("permissions.manager.defaultsUrl", ""); // [DESKTOP] // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // Section : Web Workers @@ -643,6 +846,7 @@ user_pref("dom.push.alwaysConnect", false); user_pref("dom.push.debug", false); user_pref("dom.push.connection.enabled", false); user_pref("dom.push.userAgentID", ""); +user_pref("dom.push.udp.wakeupEnabled", false); // [DESKTOP] // ------------------------------------- // Pref : Disable hiding mime types not associated with a plugin user_pref("browser.download.hide_plugins_without_extensions", false); // [DESKTOP] @@ -759,6 +963,7 @@ user_pref("webgl.disable-extensions", true); // [DEFAULT: false] user_pref("webgl.disable-wgl", true); // [DEFAULT: false] user_pref("webgl.disable-fail-if-major-performance-caveat", true); user_pref("webgl.can-lose-context-in-foreground", false); // [DEFAULT: true] +user_pref("webgl.force-enabled", false); // ------------------------------------- // Pref : Disable screensharing and audiocapture user_pref("media.getusermedia.screensharing.enabled", false); // [DESKTOP] @@ -827,16 +1032,21 @@ user_pref("browser.sessionhistory.max_entries", 20); // [DEFAULT: 50] // https://developer.mozilla.org/docs/Web/CSS/Privacy_and_the_:visited_selector user_pref("layout.css.visited_links_enabled", false); // ------------------------------------- -// Pref : Disable search bar LIVE suggestions -user_pref("browser.search.suggest.enabled", false); +// Pref : Disable search suggestions in the search bar +// http://kb.mozillazine.org/Browser.search.suggest.enabled +user_pref("browser.search.suggest.enabled", false); // [DESKTOP] // ------------------------------------- -// Pref : Disable search and form history +// Pref : Disable "Show search suggestions in location bar results" +user_pref("browser.urlbar.suggest.searches", false); // [DESKTOP] +// ------------------------------------- +// Pref : Disable information entered in web page forms and the search bar // [NOTE] You can clear formdata on exiting Firefox user_pref("browser.formfill.enable", false); // ------------------------------------- // Pref : Disable date/time picker // [WARNING] This can leak your locale if not en-US // https://trac.torproject.org/projects/tor/ticket/21787 +// https://bugzilla.mozilla.org/show_bug.cgi?id=1287503 // user_pref("dom.forms.datetime", false); // ------------------------------------- // Pref : Disable Windows jumplist @@ -860,6 +1070,21 @@ user_pref("browser.urlbar.speculativeConnect.enabled", false); // [DESKTOP] // Pref : Disable location bar suggesting "preloaded" top websites // https://bugzilla.mozilla.org/1211726 user_pref("browser.urlbar.usepreloadedtopurls.enabled", false); // [DESKTOP] +// ------------------------------------- +// Pref : Disable Firefox Tips / Search suggestions +user_pref("browser.urlbar.daysBeforeHidingSuggestionsPrompt", 0); // [DESKTOP] +user_pref("browser.urlbar.searchSuggestionsChoice", false); // [DESKTOP] +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] +// ------------------------------------- +// Pref : Disable browsing and download history +// user_pref("places.history.enabled", false); // [DESKTOP] // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // Section : Security @@ -918,6 +1143,13 @@ user_pref("privacy.item.sessions", true); // [DEFAULT: true] // [FENNEC] user_pref("privacy.item.geolocation", true); // [DEFAULT: true] // [FENNEC] user_pref("privacy.item.siteSettings", true); // [DEFAULT: true] // [FENNEC] user_pref("privacy.item.syncAccount", true); // [DEFAULT: true] // [FENNEC] +// ------------------------------------- +// Pref : Disable tab hiding API by default +user_pref("extensions.webextensions.tabhide.enabled", false); // [DEFAULT: true] // [DESKTOP] +// ------------------------------------- +// 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] // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // Section : Block Implicit Outbound @@ -1075,7 +1307,7 @@ user_pref("security.OCSP.require", true); // [NOTE] OCSP is vulnerable to replay attacks when nonce is not configured on the OCSP responder // [NOTE] OCSP adds latency (performance) // [NOTE] Short-lived certificates are not checked for revocation (security.pki.cert_short_lifetime_in_days, default:10) -user_pref("security.OCSP.enabled", 1); +user_pref("security.OCSP.enabled", 0); // ------------------------------------- // Pref : Enable OCSP Stapling support // Stapling have the site itself proof that his certificate is good through the CA so apparently nothing is leaked in this case. @@ -1309,6 +1541,10 @@ user_pref("signon.formlessCapture.enabled", false); // 2=allow sub-resources to open HTTP authentication credentials dialogs (default) // https://www.fxsitecompat.com/en-CA/docs/2015/http-auth-dialog-can-no-longer-be-triggered-by-cross-origin-resources/ user_pref("network.auth.subresource-http-auth-allow", 1); +// ------------------------------------- +// Pref : Prevent cross-origin images from triggering an HTTP-Authentication prompt +// https://bugzilla.mozilla.org/1357835 +user_pref("network.auth.subresource-img-cross-origin-http-auth-allow", false); // [DEPRECATED] // [DESKTOP] // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // Section : Window Meddling & Leaks / Popups @@ -1338,7 +1574,7 @@ user_pref("browser.link.open_newwindow.restriction", 0); // [DEFAULT: 0] // ------------------------------------- // Pref : Disable Fullscreen API (requires user interaction) to prevent screen-resolution leaks // [NOTE] You can still manually toggle the browser's fullscreen state, but this pref will disable embedded video fullscreen controls, e.g. youtube -// [TEST] https://developer.mozilla.org/samples/domref/fullscreen.html +// [TEST] https://ghacksuserjs.github.io/TorZillaPrint/TorZillaPrint.html#screen // user_pref("full-screen-api.enabled", false); // ------------------------------------- // Pref : Block popup windows @@ -1418,8 +1654,8 @@ user_pref("browser.shell.shortcutFavicons", false); // [DESKTOP] // Pref : Display "insecure" icon and "Not Secure" text on HTTP sites user_pref("security.insecure_connection_icon.enabled", true); // [DESKTOP] user_pref("security.insecure_connection_text.enabled", true); // [DESKTOP] -// user_pref("security.insecure_connection_icon.pbmode.enabled", true); // Private windows only // [DESKTOP] -// user_pref("security.insecure_connection_text.pbmode.enabled", true); // Private windows only // [DESKTOP] +user_pref("security.insecure_connection_icon.pbmode.enabled", true); // [DESKTOP] +user_pref("security.insecure_connection_text.pbmode.enabled", true); // [DESKTOP] // ------------------------------------- // Pref : Enable insecure password warnings (login forms in non-HTTPS pages) // https://blog.mozilla.org/tanvi/2016/01/28/no-more-passwords-over-http-please/ @@ -1434,8 +1670,9 @@ user_pref("toolkit.winRegisterApplicationRestart", false); // [WINDOWS] // [DESK // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // Section : Geolocation // >>>>>>>>>>>>>>>>>>>> -// Pref : Disable location +// 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 @@ -1473,7 +1710,9 @@ user_pref("geo.wifi.logging.enabled", false); // [HIDDEN PREF] // [DESKTOP] // >>>>>>>>>>>>>>>>>>>>>> // 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. +// [NOTE] You can do this with uBlock Origin // [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); // ------------------------------------- // Pref : Set more legible default fonts @@ -1486,8 +1725,10 @@ user_pref("browser.display.use_document_fonts", 0); // user_pref("font.name.monospace.x-western", "Lucida Console"); // [DEFAULT: Courier New] // ------------------------------------- // Pref : Disable icon fonts (glyphs) and local fallback rendering +// [NOTE] You can do this with uBlock Origin // https://bugzilla.mozilla.org/789788 // https://trac.torproject.org/projects/tor/ticket/8455 +// https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/ // user_pref("gfx.downloadable_fonts.enabled", false); // user_pref("gfx.downloadable_fonts.fallback_delay", 0); // ------------------------------------- @@ -1519,10 +1760,15 @@ user_pref("gfx.font_rendering.graphite.enabled", false); // Pref : Disable plugins user_pref("plugin.disable", true); // [DEFAULT: true] // [FENNEC] user_pref("dom.ipc.plugins.enabled", false); // [DEFAULT: false] // [FENNEC] +user_pref("plugins.crash.supportUrl", ""); // [DESKTOP] // ------------------------------------- // Pref : Set default plugin state (i.e. new plugins on discovery) to never activate // 0=disabled, 1=ask to activate, 2=active - you can override individual plugins user_pref("plugin.default.state", 0); +user_pref("plugin.defaultXpi.state", 0); +// ------------------------------------- +// Pref : Disable scanning for plugins +user_pref("plugin.scan.plid.all", false); // [WINDOWS] // [DESKTOP] // ------------------------------------- // Pref : Enable plugins click-to-play // https://wiki.mozilla.org/Firefox/Click_To_Play @@ -1538,19 +1784,26 @@ user_pref("media.gmp-manager.certs.2.issuerName", ""); user_pref("media.gmp-manager.certs.2.commonName", ""); user_pref("media.gmp-manager.url", ""); user_pref("media.gmp-manager.url.override", ""); +user_pref("media.gmp-manager.updateEnabled", false); // [DESKTOP] +user_pref("media.gmp.trial-create.enabled", false); // [WINDOWS] // [DESKTOP] // ------------------------------------- // Pref : Disable all DRM content (EME: Encryption Media Extension) // 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); // ------------------------------------- +// Pref : Disable Adobe Primetime +user_pref("media.gmp-eme-adobe.enabled", false); // [DESKTOP] +// ------------------------------------- // Pref : Disable the OpenH264 Video Codec by Cisco to "Never Activate". // This is the bundled codec used for video chat in WebRTC. user_pref("media.gmp-gmpopenh264.enabled", false); +user_pref("media.gmp-gmpopenh264.autoupdate", false); // [DESKTOP] // ------------------------------------- // Pref : Disable widevine CDM (Content Decryption Module) user_pref("media.gmp-widevinecdm.enabled", false); // [DESKTOP] user_pref("media.gmp-widevinecdm.visible", false); // [DESKTOP] user_pref("media.mediadrm-widevinecdm.visible", false); // [DEFAULT: true] // [FENNEC] +user_pref("media.gmp-widevinecdm.autoupdate", false); // [DESKTOP] // ------------------------------------- // Pref : Disable Flash plugin // 0=deactivated, 1=ask, 2=enabled @@ -1658,6 +1911,7 @@ user_pref("privacy.trackingprotection.lower_network_priority", false); // Pref : Disable passive Tracking Protection in all windows user_pref("privacy.trackingprotection.enabled", false); user_pref("privacy.trackingprotection.pbmode.enabled", false); +user_pref("privacy.trackingprotection.introURL", ""); // [DESKTOP] // ------------------------------------- // Pref : Disable PingCentre telemetry (used in several System Add-ons) // Currently blocked by 'datareporting.healthreport.uploadEnabled' @@ -1748,7 +2002,9 @@ user_pref("network.cookie.same-site.enabled", true); // [DEFAULT: true] // https://wiki.mozilla.org/Security/Reviews/Firefox4/IndexedDB_Security_Review // http://forums.mozillazine.org/viewtopic.php?p=13842047 // https://github.com/pyllyukko/user.js/issues/8 -// [NOTE] IndexedDB could be used for tracking purposes, but is required for some add-ons to work (notably uBlock), so is left enabled +// https://github.com/ghacksuserjs/ghacks-user.js/issues/80#issuecomment-294178018 +// https://superuser.com/questions/1250944/how-can-this-website-reidentify-me-even-after-deleting-all-of-my-browsers-histo +// [NOTE] IndexedDB could be used for tracking purposes, but is required for some add-ons to work (notably uBlock), and breaks almost every webpage so is left enabled // user_pref("dom.indexedDB.enabled", false); // [DEFAULT: true] // ------------------------------------- // Pref : Do not download URLs for the offline cache @@ -1802,9 +2058,9 @@ user_pref("privacy.sanitize.sanitizeOnShutdown", true); // [DESKTOP] // [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.downloads", false); // [DESKTOP] +user_pref("privacy.clearOnShutdown.downloads", true); // [DESKTOP] user_pref("privacy.clearOnShutdown.formdata", true); // [DESKTOP] -user_pref("privacy.clearOnShutdown.history", false); // [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] @@ -2058,5 +2314,12 @@ user_pref("general.autoScroll",true); // [DESKTOP] // ------------------------------------- // Pref : Displaying small density by default // user_pref("browser.uidensity", 1); // [DEFAULT: 0] // [DESKTOP] +// ------------------------------------- +// Pref : Disable buttons +user_pref("pref.general.disable_button.default_browser", true); // [DESKTOP] +user_pref("pref.privacy.disable_button.view_passwords", true); // [DESKTOP] +// ------------------------------------- +// Pref : Disable Reader mode by default +user_pref("reader.parse-on-load.enabled", false); // //