forked from d3cim/mozilla.cfg
Update mozilla.cfg
✅ Added missing prefs (for prevention) in already disabled prefs ✅ Added some deprecated prefs (for prevention) ✅ Added some descriptions ⛔️ Locked more sync prefs (for prevention) ⛔️ Locked more telemetry/coverage/healthreport/onboarding prefs (for prevention) ⛔️ Locked GCLI (Graphical Command Line Interface) ⛔️ Locked Firefox screenshot extension ⛔️ Defaulted spellchecker functionality ⛔️ Locked "Savant" Shield study (for prevention) ⛔️ Locked social integration with FF (for prevention) ⛔️ Locked useragent updates and site specific overrides ⛔️ Locked mailnews ⛔️ Locked website protocol handlers (irc,mailto,webcal) ⛔️ Locked more unwanted connections ⛔️ Locked more URL protocol handlers ⛔️ Locked remote JAR files being opened ⛔️ Removed special permissions for certain mozilla domains ⛔️ Locked Firefox Tips / Search suggestions ⛔️ Locked OCSP (again..) ⛔️ Locked Adbobe Primetime ⛔️ Defaulted Reader mode (less RAM consumption..just a bit) [useless?] ℹ️ Set SSL version min 1.2 ℹ️ Cleanup devtools ℹ️ Now Display "insecure" icon and "Not Secure" text on HTTP sites also in private browsing mode ℹ️ Now clear on shutdown also history and downloads
This commit is contained in:
parent
78e04e01b1
commit
ba2958d0ce
|
@ -48,7 +48,6 @@ lockPref("browser.newtabpage.activity-stream.showSponsored", false); // [DESKTOP
|
|||
lockPref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Set HOME+NEWWINDOW page
|
||||
// about:home=Activity Stream (default, see 0105), custom URL, about:blank
|
||||
lockPref("browser.startup.homepage", "about:blank"); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Activity Stream Snippets
|
||||
|
@ -85,6 +84,7 @@ lockPref("browser.newtabpage.activity-stream.prerender", false); // [DESKTOP]
|
|||
lockPref("browser.newtabpage.activity-stream.showSearch", false); // [DESKTOP]
|
||||
lockPref("browser.newtabpage.activity-stream.showTopSites", false); // [DESKTOP]
|
||||
lockPref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", ""); // [DESKTOP]
|
||||
lockPref("browser.newtabpage.activity-stream.discoverystream.config", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable new tab tile ads & preload
|
||||
// http://www.thewindowsclub.com/disable-remove-ad-tiles-from-firefox
|
||||
|
@ -107,6 +107,130 @@ lockPref("browser.startup.homepage_override.mstone", "ignore");
|
|||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : Quiet Fox
|
||||
// >>>>>>>>>>>>>>>>>>>>>
|
||||
// Pref : Disable app from auto-update
|
||||
// lockPref("app.update.enabled", false);
|
||||
// lockPref("app.update.auto", false); // [DESKTOP]
|
||||
// lockPref("app.update.autodownload", ""); // [TEST]
|
||||
// lockPref("app.update.channel", ""); // [TEST]
|
||||
// lockPref("app.update.url", ""); // [DESKTOP]
|
||||
// lockPref("app.update.url.details", ""); // [DESKTOP]
|
||||
// lockPref("app.update.url.manual", ""); // [DESKTOP]
|
||||
// lockPref("app.update.url.android", ""); // [FENNEC]
|
||||
// lockPref("app.update.timerFirstInterval", 0);
|
||||
// lockPref("app.update.timerMinimumDelay", 0);
|
||||
// lockPref("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]
|
||||
// lockPref("app.update.service.enabled", false); // [DESKTOP]
|
||||
// lockPref("app.update.silent", false); // [DESKTOP]
|
||||
// lockPref("app.update.staging.enabled", false); // [DESKTOP]
|
||||
lockPref("app.update.log.file", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable sync
|
||||
lockPref("sync.enabled", false); // [DEPRECATED] // [DESKTOP]
|
||||
lockPref("services.sync.enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref : Disable other sync settings (by prevention)
|
||||
lockPref("services.sync.maxResyncs", 0); // [DESKTOP]
|
||||
lockPref("services.sync.telemetry.maxPayloadCount", 0); // [DESKTOP]
|
||||
lockPref("services.sync.addons.ignoreUserEnabledChanges", true); // [DESKTOP]
|
||||
lockPref("services.sync.engine.addons", false); // [DESKTOP]
|
||||
lockPref("services.sync.engine.addresses", false); // [DESKTOP]
|
||||
lockPref("services.sync.engine.bookmarks", false); // [DESKTOP]
|
||||
lockPref("services.sync.engine.bookmarks.buffer", false); // [DESKTOP]
|
||||
lockPref("services.sync.engine.creditcards", false); // [DESKTOP]
|
||||
lockPref("services.sync.engine.creditcards.available", false); // [DESKTOP]
|
||||
lockPref("services.sync.engine.history", false); // [DESKTOP]
|
||||
lockPref("services.sync.engine.passwords", false); // [DESKTOP]
|
||||
lockPref("services.sync.engine.prefs", false); // [DESKTOP]
|
||||
lockPref("services.sync.engine.tabs", false); // [DESKTOP]
|
||||
lockPref("services.sync.log.appender.file.logOnError", false); // [DESKTOP]
|
||||
lockPref("services.sync.log.appender.file.logOnSuccess", false); // [DESKTOP]
|
||||
lockPref("services.sync.log.cryptoDebug", false); // [DESKTOP]
|
||||
lockPref("services.sync.sendVersionInfo", false); // [DESKTOP]
|
||||
lockPref("services.sync.syncedTabs.showRemoteIcons", true); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.accessibility.blockautorefresh", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.accessibility.browsewithcaret", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.accessibility.typeaheadfind", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.accessibility.typeaheadfind.linksonly", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.addons.ignoreUserEnabledChanges", true); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.contentblocking.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.ctrlTab.recentlyUsedOrder", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.download.useDownloadDir", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.formfill.enable", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.link.open_newwindow", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.newtabpage.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.newtabpage.pinned", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.offline-apps.notify", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.search.update", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.sessionstore.restore_on_demand", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.startup.homepage", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.startup.page", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.tabs.loadInBackground", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.tabs.warnOnClose", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.tabs.warnOnOpen", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.urlbar.autocomplete.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.urlbar.matchBuckets", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.urlbar.maxRichResults", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.urlbar.suggest.bookmark", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.urlbar.suggest.history", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.urlbar.suggest.history.onlyTyped", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.urlbar.suggest.openpage", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.urlbar.suggest.searches", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.dom.disable_open_during_load", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.dom.disable_window_flip", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.dom.disable_window_move_resize", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.dom.event.contextmenu.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.extensions.personas.current", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.extensions.update.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.intl.accept_languages", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.layout.spellcheckDefault", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.lightweightThemes.selectedThemeID", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.lightweightThemes.usedThemes", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.network.cookie.cookieBehavior", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.network.cookie.lifetimePolicy", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.network.cookie.thirdparty.sessionOnly", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.permissions.default.image", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.pref.advanced.images.disable_button.view_image", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.pref.advanced.javascript.disable_button.advanced", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.pref.downloads.disable_button.edit_actions", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.pref.privacy.disable_button.cookie_exceptions", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.clearOnShutdown.cache", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.clearOnShutdown.cookies", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.clearOnShutdown.downloads", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.clearOnShutdown.formdata", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.clearOnShutdown.history", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.donottrackheader.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.reduceTimerPrecision", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.resistFingerprinting", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.microseconds", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.trackingprotection.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.privacy.trackingprotection.pbmode.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.security.OCSP.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.security.OCSP.require", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.security.default_personal_cert", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.security.tls.version.max", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.security.tls.version.min", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.services.sync.syncedTabs.showRemoteIcons", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.spellchecker.dictionary", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.xpinstall.whitelist.required", false); // [DESKTOP]
|
||||
lockPref("services.sync.declinedEngines", ""); // [DESKTOP]
|
||||
lockPref("services.sync.jpake.serverURL", ""); // [DEPRECATED] // [DESKTOP]
|
||||
lockPref("services.sync.migrated", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.safebrowsing.downloads.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.safebrowsing.passwords.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.prefs.sync.browser.safebrowsing.phishing.enabled", false); // [DESKTOP]
|
||||
lockPref("services.sync.serverURL", ""); // [DESKTOP]
|
||||
lockPref("services.sync.fxa.privacyURL", ""); // [DESKTOP]
|
||||
lockPref("services.sync.fxa.termsURL", ""); // [DESKTOP]
|
||||
lockPref("services.sync.lastversion", ""); // [DESKTOP]
|
||||
lockPref("sync.serverURL", ""); // [DEPRECATED] // [DESKTOP]
|
||||
lockPref("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
|
||||
lockPref("browser.search.update", false);
|
||||
|
@ -149,9 +273,13 @@ lockPref("toolkit.telemetry.updatePing.enabled", false); // [DESKTOP]
|
|||
lockPref("toolkit.telemetry.bhrPing.enabled", false); // [DESKTOP]
|
||||
lockPref("toolkit.telemetry.firstShutdownPing.enabled", false); // [DESKTOP]
|
||||
lockPref("toolkit.telemetry.hybridContent.enabled", false); // [DESKTOP]
|
||||
lockPref("toolkit.telemetry.previousBuildID", ""); // [DESKTOP]
|
||||
lockPref("toolkit.telemetry.prompted", 2); // [DESKTOP]
|
||||
lockPref("toolkit.telemetry.rejected", true); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Telemetry Coverage
|
||||
// https://blog.mozilla.org/data/2018/08/20/effectively-measuring-search-in-firefox/
|
||||
lockPref("toolkit.coverage.enabled", false); // [DESKTOP]
|
||||
lockPref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF] // [DESKTOP]
|
||||
lockPref("toolkit.coverage.opt-out", true); // [HIDDEN PREF] // [DESKTOP]
|
||||
lockPref("toolkit.coverage.endpoint.base", ""); // [DESKTOP]
|
||||
|
@ -159,6 +287,7 @@ lockPref("toolkit.coverage.endpoint.base", ""); // [DESKTOP]
|
|||
// Pref : Disable collection/sending of the health report (healthreport.sqlite*)
|
||||
lockPref("datareporting.healthreport.uploadEnabled", false); // [DESKTOP]
|
||||
lockPref("datareporting.healthreport.service.enabled", false); // [DESKTOP]
|
||||
lockPref("datareporting.healthreport.infoURL", ""); // [DESKTOP]
|
||||
lockPref("datareporting.policy.dataSubmissionEnabled", false);
|
||||
lockPref("datareporting.policy.currentPolicyVersion", 0);
|
||||
lockPref("datareporting.policy.currentPolicyAcceptedVersion", 0);
|
||||
|
@ -194,6 +323,7 @@ lockPref("browser.discovery.enabled", false); // [DEFAULT: false]
|
|||
lockPref("breakpad.reportURL", "");
|
||||
lockPref("browser.tabs.crashReporting.sendReport", false); // [DESKTOP]
|
||||
lockPref("browser.crashReports.unsubmittedCheck.enabled", false); // [DESKTOP]
|
||||
lockPref("toolkit.crashreporter.infoURL", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable automatic captive portal detection
|
||||
// https://en.wikipedia.org/wiki/Captive_portal
|
||||
|
@ -224,6 +354,9 @@ lockPref("lightweightThemes.update.enabled",false); // [DESKTOP]
|
|||
lockPref("lightweightThemes.persisted.headerURL", false);
|
||||
lockPref("lightweightThemes.persistedThemeID", ""); // [FENNEC]
|
||||
lockPref("lightweightThemes.selectedThemeID", ""); // [FENNEC]
|
||||
lockPref("lightweightThemes.getMoreURL", ""); // [DESKTOP]
|
||||
lockPref("lightweightThemes.persisted.footerURL", false); // [DESKTOP]
|
||||
lockPref("lightweightThemes.recommendedThemes", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Studies and SHIELD
|
||||
// [NOTE] This pref has no effect when Health Reports are disabled
|
||||
|
@ -245,6 +378,7 @@ lockPref("extensions.webservice.discoverURL", ""); // [DESKTOP]
|
|||
// Pref : Disable Firefox Hello metrics collection
|
||||
// https://groups.google.com/d/topic/mozilla.dev.platform/nyVkCx-_sFw/discussion
|
||||
lockPref("loop.logDomains",false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Browser Error Reporter
|
||||
// https://support.mozilla.org/en-US/kb/firefox-nightly-error-collection
|
||||
// https://firefox-source-docs.mozilla.org/browser/browser/BrowserErrorReporter.html
|
||||
|
@ -259,6 +393,7 @@ lockPref("browser.contentblocking.reportBreakage.url", ""); // [DESKTOP]
|
|||
lockPref("browser.contentblocking.rejecttrackers.reportBreakage.enabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Onboarding
|
||||
// [NOTE] This setting is just in case it comeback
|
||||
// Onboarding is an interactive tour/setup for new installs/profiles and features. Every time
|
||||
// about:home or about:newtab is opened, the onboarding overlay is injected into that page
|
||||
// [NOTE] Onboarding uses Google Analytics, and leaks resource://URIs
|
||||
|
@ -273,9 +408,37 @@ lockPref("browser.onboarding.notification.tour-ids-queue", ""); // [DESKTOP] //
|
|||
lockPref("browser.onboarding.notification.finished", true); // [DESKTOP] // [DEPRECATED]
|
||||
lockPref("browser.onboarding.tour.onboarding-tour-customize.completed", true); // [DESKTOP] // [DEPRECATED]
|
||||
lockPref("browser.onboarding.tour.onboarding-tour-performance.completed", true); // [DESKTOP] // [DEPRECATED]
|
||||
lockPref("devtools.onboarding.telemetry.logged", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable check default browser on first run
|
||||
lockPref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", true); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable GCLI (Graphical Command Line Interface)
|
||||
// https://wiki.mozilla.org/DevTools/Features/GCLI
|
||||
lockPref("devtools.gcli.imgurUploadURL", ""); // [DESKTOP]
|
||||
lockPref("devtools.gcli.jquerySrc", ""); // [DESKTOP]
|
||||
lockPref("devtools.gcli.underscoreSrc", ""); // [DESKTOP]
|
||||
lockPref("devtools.gcli.lodashSrc", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Firefox screenshot extension
|
||||
// https://support.mozilla.org/en-US/kb/firefox-screenshots
|
||||
lockPref("extensions.screenshots.disabled", true); // [DESKTOP]
|
||||
lockPref("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
|
||||
defaultPref("layout.spellcheckDefault", 0); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable "Savant" Shield study
|
||||
// https://bugzilla.mozilla.org/1457226
|
||||
lockPref("shield.savant.enabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable social integration with FF
|
||||
lockPref("social.directories", ""); // [DEPRECATED] // [DESKTOP]
|
||||
lockPref("social.remote-install.enabled", false); // [DEPRECATED] // [DESKTOP]
|
||||
lockPref("social.whitelist", ""); // [DEPRECATED] // [DESKTOP]
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : IJWY To Shut Up
|
||||
|
@ -304,27 +467,33 @@ lockPref("browser.newtabpage.activity-stream.asrouter.providers.onboarding", "")
|
|||
lockPref("browser.newtabpage.activity-stream.fxaccounts.endpoint", ""); // [DESKTOP]
|
||||
lockPref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines", ""); // [DESKTOP]
|
||||
lockPref("browser.search.searchEnginesURL", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable app from auto-update
|
||||
// lockPref("app.update.enabled", false);
|
||||
// lockPref("app.update.auto", false); // [DESKTOP]
|
||||
// lockPref("app.update.autodownload", ""); // [TEST]
|
||||
// lockPref("app.update.channel", ""); // [TEST]
|
||||
// lockPref("app.update.url", ""); // [DESKTOP]
|
||||
// lockPref("app.update.url.details", ""); // [DESKTOP]
|
||||
// lockPref("app.update.url.manual", ""); // [DESKTOP]
|
||||
// lockPref("app.update.url.android", ""); // [FENNEC]
|
||||
// lockPref("app.update.timerFirstInterval", 0);
|
||||
// lockPref("app.update.timerMinimumDelay", 0);
|
||||
// lockPref("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]
|
||||
// lockPref("app.update.service.enabled", false); // [DESKTOP]
|
||||
// lockPref("app.update.silent", false); // [DESKTOP]
|
||||
// lockPref("app.update.staging.enabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Test To Make FFox Silent
|
||||
lockPref("extensions.getAddons.themes.browseURL", ""); // [DESKTOP]
|
||||
lockPref("security.content.signature.root_hash", "");
|
||||
lockPref("urlclassifier.phishTable", "");
|
||||
lockPref("urlclassifier.passwordAllowTable", "");
|
||||
lockPref("identity.mobilepromo.android", ""); // [DESKTOP]
|
||||
lockPref("identity.mobilepromo.ios", ""); // [DESKTOP]
|
||||
lockPref("prio.publicKeyA", ""); // [DESKTOP]
|
||||
lockPref("prio.publicKeyB", ""); // [DESKTOP]
|
||||
lockPref("toolkit.datacollection.infoURL", ""); // [DESKTOP]
|
||||
lockPref("toolkit.telemetry.infoURL", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Devtools cleanup
|
||||
lockPref("devtools.devices.url", "");
|
||||
lockPref("devtools.devedition.promo.url", ""); // [DESKTOP]
|
||||
lockPref("devtools.telemetry.supported_performance_marks", ""); // [DESKTOP]
|
||||
lockPref("devtools.performance.recording.ui-base-url", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable website protocol handlers
|
||||
lockPref("gecko.handlerService.schemes.irc.0.name", ""); // [DESKTOP]
|
||||
lockPref("gecko.handlerService.schemes.irc.0.uriTemplate", ""); // [DESKTOP]
|
||||
lockPref("gecko.handlerService.schemes.ircs.0.name", ""); // [DESKTOP]
|
||||
lockPref("gecko.handlerService.schemes.ircs.0.uriTemplate", ""); // [DESKTOP]
|
||||
lockPref("gecko.handlerService.schemes.mailto.0.name", ""); // [DESKTOP]
|
||||
lockPref("gecko.handlerService.schemes.mailto.0.uriTemplate", ""); // [DESKTOP]
|
||||
lockPref("gecko.handlerService.schemes.mailto.1.name", ""); // [DESKTOP]
|
||||
lockPref("gecko.handlerService.schemes.mailto.1.uriTemplate", ""); // [DESKTOP]
|
||||
lockPref("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
|
||||
|
@ -339,6 +508,15 @@ lockPref("browser.translation.engine", ""); // [DESKTOP]
|
|||
lockPref("browser.translation.detectLanguage", false); // [DESKTOP]
|
||||
lockPref("browser.translation.neverForLanguages", ""); // [DESKTOP]
|
||||
lockPref("browser.translation.ui.show", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable useragent updates and site specific overrides
|
||||
lockPref("general.useragent.updates.enabled", false); // [FENNEC]
|
||||
lockPref("general.useragent.site_specific_overrides", false); // [DESKTOP]
|
||||
lockPref("general.useragent.updates.url", ""); // [FENNEC]
|
||||
// -------------------------------------
|
||||
// Pref : Disable mailnews
|
||||
lockPref("mailnews.messageid_browser.url", ""); // [DESKTOP]
|
||||
lockPref("mailnews.mx_service_url", ""); // [DESKTOP]
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : Miscellaneous
|
||||
|
@ -365,9 +543,6 @@ lockPref("extensions.installDistroAddons", false); // [DEFAULT: false] // [FENNE
|
|||
// Pref : Disable legacy extensions
|
||||
lockPref("extensions.legacy.enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref :
|
||||
lockPref("devtools.devices.url", "");
|
||||
// -------------------------------------
|
||||
// Pref : Provide haptic feedback on longPress selection events
|
||||
lockPref("layout.accessiblecaret.hapticfeedback", false); // [DEFAULT: true]
|
||||
// -------------------------------------
|
||||
|
@ -380,10 +555,7 @@ lockPref("identity.fxaccounts.remote.oauth.uri", "");
|
|||
lockPref("identity.fxaccounts.remote.profile.uri", "");
|
||||
lockPref("identity.sync.tokenserver.uri", "");
|
||||
lockPref("identity.fxaccounts.remote.webchannel.uri", "");
|
||||
// lockPref("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
|
||||
lockPref("services.sync.enabled", false);
|
||||
lockPref("identity.fxaccounts.remote.root", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable snippets
|
||||
lockPref("browser.snippets.enabled", false); // [FENNEC]
|
||||
|
@ -449,11 +621,18 @@ lockPref("gfx.font_rendering.opentype_svg.enabled", false);
|
|||
lockPref("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
|
||||
defaultPref("devtools.debugger.remote-enabled", false);
|
||||
lockPref("devtools.webide.enabled", false); // [DESKTOP]
|
||||
lockPref("devtools.webide.autoinstallADBExtension", false); // [DESKTOP]
|
||||
lockPref("devtools.webide.autoinstallADBHelper", false); // [DESKTOP]
|
||||
lockPref("devtools.webide.autoinstallFxdtAdapters", false); // [DESKTOP]
|
||||
lockPref("devtools.remote.adb.extensionURL", ""); // [DESKTOP]
|
||||
lockPref("devtools.remote.adb.extensionID", ""); // [DESKTOP]
|
||||
lockPref("devtools.webide.adaptersAddonURL", ""); // [DESKTOP] // [DEPRECATED]
|
||||
lockPref("devtools.webide.adbAddonURL", ""); // [DESKTOP] // [DEPRECATED]
|
||||
lockPref("devtools.webide.templatesURL", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Force local debugging
|
||||
// https://developer.mozilla.org/en-US/docs/Tools/Remote_Debugging/Debugging_Firefox_Desktop
|
||||
|
@ -508,7 +687,7 @@ lockPref("browser.download.folderList", 2);
|
|||
// -------------------------------------
|
||||
// Pref : Enforce user interaction for security by always asking the user where to download
|
||||
// [FENNEC] Fix for images not downloading
|
||||
lockPref("browser.download.useDownloadDir", true);
|
||||
defaultPref("browser.download.useDownloadDir", true);
|
||||
// -------------------------------------
|
||||
// Pref : Disable adding downloads to the system's "recent documents" list
|
||||
lockPref("browser.download.manager.addToRecentDocs", false);
|
||||
|
@ -553,6 +732,15 @@ lockPref("security.data_uri.block_toplevel_data_uri_navigations", true); // [DEF
|
|||
lockPref("network.protocol-handler.warn-external-default", true);
|
||||
lockPref("network.protocol-handler.external.javascript", false);
|
||||
lockPref("network.protocol-handler.external.data", false);
|
||||
lockPref("network.protocol-handler.external.about", false); // [DESKTOP]
|
||||
lockPref("network.protocol-handler.external.blob", false); // [DESKTOP]
|
||||
lockPref("network.protocol-handler.external.chrome", false); // [DESKTOP]
|
||||
lockPref("network.protocol-handler.external.file", false); // [DESKTOP]
|
||||
lockPref("network.protocol-handler.external.ftp", false); // [DESKTOP]
|
||||
lockPref("network.protocol-handler.external.http", false); // [DESKTOP]
|
||||
lockPref("network.protocol-handler.external.https", false); // [DESKTOP]
|
||||
lockPref("network.protocol-handler.external.moz-extension", false); // [DESKTOP]
|
||||
lockPref("network.protocol-handler.external.ms-windows-store", false); // [DESKTOP]
|
||||
lockPref("network.protocol-handler.expose-all", false);
|
||||
lockPref("network.protocol-handler.expose.http", true);
|
||||
lockPref("network.protocol-handler.expose.https", true);
|
||||
|
@ -583,6 +771,9 @@ lockPref("consoleservice.logcat", false); // [FENNEC]
|
|||
// https://github.com/pyllyukko/user.js/issues/143
|
||||
lockPref("browser.pocket.enabled", false); // [DESKTOP]
|
||||
lockPref("extensions.pocket.enabled", false); // [DESKTOP]
|
||||
lockPref("extensions.pocket.api", ""); // [DESKTOP]
|
||||
lockPref("extensions.pocket.oAuthConsumerKey", ""); // [DESKTOP]
|
||||
lockPref("extensions.pocket.site", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Lock web content in file processes
|
||||
// https://bugzilla.mozilla.org/1343184
|
||||
|
@ -596,6 +787,12 @@ lockPref("browser.urlbar.filter.javascript", true); // [DESKTOP]
|
|||
// https://bugzilla.mozilla.org/1427726
|
||||
lockPref("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
|
||||
lockPref("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)
|
||||
|
@ -605,6 +802,8 @@ lockPref("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)
|
||||
defaultPref("pdfjs.disabled", true); // [DEFAULT: false] // [DESKTOP]
|
||||
lockPref("pdfjs.enabledCache.state", false); // [DESKTOP]
|
||||
lockPref("pdfjs.previousHandler.alwaysAskBeforeHandling", true); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Scripting of Plugins by JavaScript
|
||||
// http://forums.mozillazine.org/viewtopic.php?f=7&t=153889
|
||||
|
@ -617,6 +816,10 @@ lockPref("ui.use_standins_for_native_colors", true); // [DESKTOP]
|
|||
// -------------------------------------
|
||||
// Pref : Close tab with double click action
|
||||
lockPref("browser.tabs.closeTabByDblclick", true); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Remove special permissions for certain mozilla domains
|
||||
// resource://app/defaults/permissions
|
||||
lockPref("permissions.manager.defaultsUrl", ""); // [DESKTOP]
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : Web Workers
|
||||
|
@ -648,6 +851,7 @@ lockPref("dom.push.alwaysConnect", false);
|
|||
lockPref("dom.push.debug", false);
|
||||
lockPref("dom.push.connection.enabled", false);
|
||||
lockPref("dom.push.userAgentID", "");
|
||||
lockPref("dom.push.udp.wakeupEnabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable hiding mime types not associated with a plugin
|
||||
lockPref("browser.download.hide_plugins_without_extensions", false); // [DESKTOP]
|
||||
|
@ -756,7 +960,7 @@ lockPref("media.peerconnection.video.enabled", false);
|
|||
// -------------------------------------
|
||||
// Pref : Disable WebGL I/II
|
||||
// [WARNING] WebGL introduce high fingerprinting... (webgl is direct hardware js)
|
||||
defaultPref("webgl.disabled", true);
|
||||
lockPref("webgl.disabled", true);
|
||||
lockPref("webgl.enable-webgl2", false);
|
||||
lockPref("webgl.min_capability_mode", true);
|
||||
lockPref("pdfjs.enableWebGL", false);
|
||||
|
@ -764,6 +968,7 @@ lockPref("webgl.disable-extensions", true); // [DEFAULT: false]
|
|||
lockPref("webgl.disable-wgl", true); // [DEFAULT: false]
|
||||
lockPref("webgl.disable-fail-if-major-performance-caveat", true);
|
||||
lockPref("webgl.can-lose-context-in-foreground", false); // [DEFAULT: true]
|
||||
lockPref("webgl.force-enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref : Disable screensharing and audiocapture
|
||||
lockPref("media.getusermedia.screensharing.enabled", false); // [DESKTOP]
|
||||
|
@ -832,16 +1037,21 @@ lockPref("browser.sessionhistory.max_entries", 20); // [DEFAULT: 50]
|
|||
// https://developer.mozilla.org/docs/Web/CSS/Privacy_and_the_:visited_selector
|
||||
lockPref("layout.css.visited_links_enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref : Disable search bar LIVE suggestions
|
||||
lockPref("browser.search.suggest.enabled", false);
|
||||
// Pref : Disable search suggestions in the search bar
|
||||
// http://kb.mozillazine.org/Browser.search.suggest.enabled
|
||||
defaultPref("browser.search.suggest.enabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable search and form history
|
||||
// Pref : Disable "Show search suggestions in location bar results"
|
||||
defaultPref("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
|
||||
defaultPref("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
|
||||
// lockPref("dom.forms.datetime", false);
|
||||
// -------------------------------------
|
||||
// Pref : Disable Windows jumplist
|
||||
|
@ -865,6 +1075,21 @@ lockPref("browser.urlbar.speculativeConnect.enabled", false); // [DESKTOP]
|
|||
// Pref : Disable location bar suggesting "preloaded" top websites
|
||||
// https://bugzilla.mozilla.org/1211726
|
||||
lockPref("browser.urlbar.usepreloadedtopurls.enabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Firefox Tips / Search suggestions
|
||||
lockPref("browser.urlbar.daysBeforeHidingSuggestionsPrompt", 0); // [DESKTOP]
|
||||
lockPref("browser.urlbar.searchSuggestionsChoice", false); // [DESKTOP]
|
||||
lockPref("browser.urlbar.timesBeforeHidingSuggestionsHint", 0); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable URL bar autocomplete and history/bookmarks suggestions dropdown
|
||||
// [NOTE] This does not cause privacy/leaking issue
|
||||
// lockPref("browser.urlbar.autocomplete.enabled", false); // [DESKTOP]
|
||||
// lockPref("browser.urlbar.suggest.history", false); // [DESKTOP]
|
||||
// lockPref("browser.urlbar.suggest.bookmark", false); // [DESKTOP]
|
||||
// lockPref("browser.urlbar.suggest.openpage", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable browsing and download history
|
||||
// lockPref("places.history.enabled", false); // [DESKTOP]
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : Security
|
||||
|
@ -923,6 +1148,13 @@ lockPref("privacy.item.sessions", true); // [DEFAULT: true] // [FENNEC]
|
|||
lockPref("privacy.item.geolocation", true); // [DEFAULT: true] // [FENNEC]
|
||||
lockPref("privacy.item.siteSettings", true); // [DEFAULT: true] // [FENNEC]
|
||||
lockPref("privacy.item.syncAccount", true); // [DEFAULT: true] // [FENNEC]
|
||||
// -------------------------------------
|
||||
// Pref : Disable tab hiding API by default
|
||||
defaultPref("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
|
||||
lockPref("network.websocket.enabled", false); // [HIDDEN PREF] // [DEPRECATED] // [DESKTOP]
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : Block Implicit Outbound
|
||||
|
@ -1080,7 +1312,7 @@ lockPref("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)
|
||||
lockPref("security.OCSP.enabled", 1);
|
||||
lockPref("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.
|
||||
|
@ -1314,6 +1546,10 @@ lockPref("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/
|
||||
lockPref("network.auth.subresource-http-auth-allow", 1);
|
||||
// -------------------------------------
|
||||
// Pref : Prevent cross-origin images from triggering an HTTP-Authentication prompt
|
||||
// https://bugzilla.mozilla.org/1357835
|
||||
lockPref("network.auth.subresource-img-cross-origin-http-auth-allow", false); // [DEPRECATED] // [DESKTOP]
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : Window Meddling & Leaks / Popups
|
||||
|
@ -1343,7 +1579,7 @@ defaultPref("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
|
||||
// lockPref("full-screen-api.enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref : Block popup windows
|
||||
|
@ -1423,8 +1659,8 @@ lockPref("browser.shell.shortcutFavicons", false); // [DESKTOP]
|
|||
// Pref : Display "insecure" icon and "Not Secure" text on HTTP sites
|
||||
lockPref("security.insecure_connection_icon.enabled", true); // [DESKTOP]
|
||||
lockPref("security.insecure_connection_text.enabled", true); // [DESKTOP]
|
||||
// lockPref("security.insecure_connection_icon.pbmode.enabled", true); // Private windows only // [DESKTOP]
|
||||
// lockPref("security.insecure_connection_text.pbmode.enabled", true); // Private windows only // [DESKTOP]
|
||||
lockPref("security.insecure_connection_icon.pbmode.enabled", true); // [DESKTOP]
|
||||
lockPref("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/
|
||||
|
@ -1439,8 +1675,9 @@ lockPref("toolkit.winRegisterApplicationRestart", false); // [WINDOWS] // [DESKT
|
|||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : Geolocation
|
||||
// >>>>>>>>>>>>>>>>>>>>
|
||||
// Pref : Disable location
|
||||
// Pref : Disable geolocation
|
||||
lockPref("geo.enabled", false);
|
||||
lockPref("permissions.default.geo", 2); // [DESKTOP]
|
||||
// lockPref("geo.wifi.xhr.timeout", 0);
|
||||
// -------------------------------------
|
||||
// Pref : Disable GeoIP lookup on your address to set default search engine region
|
||||
|
@ -1528,10 +1765,15 @@ lockPref("gfx.font_rendering.graphite.enabled", false);
|
|||
// Pref : Disable plugins
|
||||
lockPref("plugin.disable", true); // [DEFAULT: true] // [FENNEC]
|
||||
lockPref("dom.ipc.plugins.enabled", false); // [DEFAULT: false] // [FENNEC]
|
||||
lockPref("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
|
||||
lockPref("plugin.default.state", 0);
|
||||
lockPref("plugin.defaultXpi.state", 0);
|
||||
// -------------------------------------
|
||||
// Pref : Disable scanning for plugins
|
||||
lockPref("plugin.scan.plid.all", false); // [WINDOWS] // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Enable plugins click-to-play
|
||||
// https://wiki.mozilla.org/Firefox/Click_To_Play
|
||||
|
@ -1547,19 +1789,26 @@ lockPref("media.gmp-manager.certs.2.issuerName", "");
|
|||
lockPref("media.gmp-manager.certs.2.commonName", "");
|
||||
lockPref("media.gmp-manager.url", "");
|
||||
lockPref("media.gmp-manager.url.override", "");
|
||||
lockPref("media.gmp-manager.updateEnabled", false); // [DESKTOP]
|
||||
lockPref("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
|
||||
lockPref("media.eme.enabled", false);
|
||||
defaultPref("media.eme.enabled", false);
|
||||
// -------------------------------------
|
||||
// Pref : Disable Adobe Primetime
|
||||
lockPref("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.
|
||||
lockPref("media.gmp-gmpopenh264.enabled", false);
|
||||
lockPref("media.gmp-gmpopenh264.autoupdate", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable widevine CDM (Content Decryption Module)
|
||||
lockPref("media.gmp-widevinecdm.enabled", false); // [DESKTOP]
|
||||
lockPref("media.gmp-widevinecdm.visible", false); // [DESKTOP]
|
||||
lockPref("media.mediadrm-widevinecdm.visible", false); // [DEFAULT: true] // [FENNEC]
|
||||
lockPref("media.gmp-widevinecdm.autoupdate", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Flash plugin
|
||||
// 0=deactivated, 1=ask, 2=enabled
|
||||
|
@ -1667,6 +1916,7 @@ lockPref("privacy.trackingprotection.lower_network_priority", false);
|
|||
// Pref : Disable passive Tracking Protection in all windows
|
||||
lockPref("privacy.trackingprotection.enabled", false);
|
||||
lockPref("privacy.trackingprotection.pbmode.enabled", false);
|
||||
lockPref("privacy.trackingprotection.introURL", ""); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable PingCentre telemetry (used in several System Add-ons)
|
||||
// Currently blocked by 'datareporting.healthreport.uploadEnabled'
|
||||
|
@ -1757,7 +2007,9 @@ lockPref("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
|
||||
// lockPref("dom.indexedDB.enabled", false); // [DEFAULT: true]
|
||||
// -------------------------------------
|
||||
// Pref : Do not download URLs for the offline cache
|
||||
|
@ -1811,9 +2063,9 @@ defaultPref("privacy.sanitize.sanitizeOnShutdown", true); // [DESKTOP]
|
|||
// [NOTE] If 'history' is true, downloads will also be cleared regardless of the value
|
||||
defaultPref("privacy.clearOnShutdown.cache", true); // [DESKTOP]
|
||||
defaultPref("privacy.clearOnShutdown.cookies", false); // [DESKTOP]
|
||||
defaultPref("privacy.clearOnShutdown.downloads", false); // [DESKTOP]
|
||||
defaultPref("privacy.clearOnShutdown.downloads", true); // [DESKTOP]
|
||||
defaultPref("privacy.clearOnShutdown.formdata", true); // [DESKTOP]
|
||||
defaultPref("privacy.clearOnShutdown.history", false); // [DESKTOP]
|
||||
defaultPref("privacy.clearOnShutdown.history", true); // [DESKTOP]
|
||||
defaultPref("privacy.clearOnShutdown.offlineApps", true); // [DESKTOP]
|
||||
defaultPref("privacy.clearOnShutdown.sessions", true); // [DESKTOP]
|
||||
defaultPref("privacy.clearOnShutdown.siteSettings", false); // [DESKTOP]
|
||||
|
@ -1955,7 +2207,7 @@ lockPref("media.video_stats.enabled", false); // [DEFAULT: true]
|
|||
// [FENNEC - BUG] If disabled, unables you to copy or paste any text.
|
||||
// https://developer.mozilla.org/docs/Web/API/Touch_events
|
||||
// https://trac.torproject.org/projects/tor/ticket/10286
|
||||
lockPref("dom.w3c_touch_events.enabled", 0); // [DEFAULT: 2]
|
||||
defaultPref("dom.w3c_touch_events.enabled", 0); // [DEFAULT: 2]
|
||||
// -------------------------------------
|
||||
// Pref : Disable MediaDevices change detection
|
||||
// https://developer.mozilla.org/docs/Web/Events/devicechange
|
||||
|
@ -2011,6 +2263,7 @@ lockPref("dom.network.enabled", false); // [DESKTOP]
|
|||
// Pref : Disable telephony API
|
||||
// https://wiki.mozilla.org/WebAPI/Security/WebTelephony
|
||||
lockPref("dom.telephony.enabled", false);
|
||||
//
|
||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
||||
// Section : UI (User Interface)
|
||||
// >>>>>>>>>>>>>>>>>>>>>
|
||||
|
@ -2023,9 +2276,6 @@ lockPref("browser.contentblocking.trackingprotection.control-center.ui.enabled",
|
|||
// Pref : Disable tracking protection UI list editing under preferences
|
||||
lockPref("browser.contentblocking.trackingprotection.ui.enabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable tracking protection UI list editing under preferences
|
||||
// user_pref("browser.contentblocking.trackingprotection.ui.enabled", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable auto hide download button
|
||||
defaultPref("browser.download.autohideButton", false); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
|
@ -2069,5 +2319,12 @@ defaultPref("general.autoScroll",true); // [DESKTOP]
|
|||
// -------------------------------------
|
||||
// Pref : Displaying small density by default
|
||||
defaultPref("browser.uidensity", 1); // [DEFAULT: 0] // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable buttons
|
||||
lockPref("pref.general.disable_button.default_browser", true); // [DESKTOP]
|
||||
lockPref("pref.privacy.disable_button.view_passwords", true); // [DESKTOP]
|
||||
// -------------------------------------
|
||||
// Pref : Disable Reader mode by default
|
||||
defaultPref("reader.parse-on-load.enabled", false);
|
||||
//
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue