Update mozilla.cfg

 Added missing prefs (for prevention) in already disabled prefs
 Locked FF to display long lines in view-source page
️ Locked FF warnings (about:config/networking)
️ Locked pinned sites from searchbar
️ Locked all sensors
️ Disabled dark theme on forms (usefull with system dark theme e.g. Linux)
️ Locked ctrl+tab back to the old one
ℹ️ Set FF to “don’t read add-ons from the user’s directory or the system.” (usefull for portable versions)
ℹ️ Disabled RFP-letterboxing (for now, let's see if FF will implement this pref in resistFingerprinting)
This commit is contained in:
quindecim 2019-05-24 19:15:57 +00:00 committed by GitHub
parent fb70fab4bf
commit dbdcf8af8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 43 additions and 4 deletions

View File

@ -85,6 +85,9 @@ 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]
lockPref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable new tab tile ads & preload
// http://www.thewindowsclub.com/disable-remove-ad-tiles-from-firefox
@ -175,6 +178,22 @@ lockPref("services.sync.prefs.sync.browser.urlbar.suggest.history", false); // [
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.browser.contentblocking.category", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.contentblocking.introCount", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.highlights", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.snippets", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.topsites", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeVisited", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.rows", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.topstories.rows", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSearch", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.newtabpage.activity-stream.topSitesRows", false); // [DESKTOP]
lockPref("services.sync.prefs.sync.browser.taskbar.previews.enable", 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]
@ -439,6 +458,10 @@ lockPref("shield.savant.enabled", false); // [DESKTOP]
lockPref("social.directories", ""); // [DEPRECATED] // [DESKTOP]
lockPref("social.remote-install.enabled", false); // [DEPRECATED] // [DESKTOP]
lockPref("social.whitelist", ""); // [DEPRECATED] // [DESKTOP]
// -------------------------------------
// Pref : Disable Firefox warnings
lockPref("network.warnOnAboutNetworking", false);
lockPref("general.warnOnAboutConfig", false);
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : IJWY To Shut Up
@ -465,7 +488,6 @@ lockPref("browser.geolocation.warning.infoURL", ""); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.asrouter.providers.cfr", ""); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.asrouter.providers.onboarding", ""); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.fxaccounts.endpoint", ""); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines", ""); // [DESKTOP]
lockPref("browser.search.searchEnginesURL", ""); // [DESKTOP]
lockPref("extensions.getAddons.themes.browseURL", ""); // [DESKTOP]
lockPref("security.content.signature.root_hash", "");
@ -517,6 +539,11 @@ lockPref("general.useragent.updates.url", ""); // [FENNEC]
// Pref : Disable mailnews
lockPref("mailnews.messageid_browser.url", ""); // [DESKTOP]
lockPref("mailnews.mx_service_url", ""); // [DESKTOP]
// -------------------------------------
// Pref : Remove pinned sites from searchbar
lockPref("browser.newtabpage.activity-stream.default.sites", ""); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned", ""); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines", ""); // [DESKTOP]
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Miscellaneous
@ -702,7 +729,7 @@ lockPref("browser.download.forbid_open_with", true);
// This will break extensions, language packs, themes and any other XPI files which are installed outside of profile directories
// https://mike.kaply.com/2012/02/21/understanding-add-on-scopes/
// archived: https://archive.is/DYjAM
lockPref("extensions.enabledScopes", 1); // [DEFAULT: 1] // [HIDDEN PREF]
lockPref("extensions.enabledScopes", 5); // [DEFAULT: 1] // [HIDDEN PREF]
lockPref("extensions.autoDisableScopes", 15); // [DEFAULT: 15]
// -------------------------------------
// Pref : Enable warning when websites try to install add-ons
@ -2137,7 +2164,7 @@ lockPref("privacy.resistFingerprinting.block_mozAddonManager", true); // [HIDDEN
// Dynamically resizes the inner window by applying letterboxing, using dimensions which waste the least content area, If you use the dimension pref, then it will only apply those resolutions. The format is "width1xheight1, width2xheight2, ..." (e.g. "800x600, 1000x1000, 1600x900")
// [WARNING] The dimension pref is only meant for testing, and we recommend you DO NOT USE it
// https://bugzilla.mozilla.org/1407366
lockPref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF] // [DESKTOP]
// lockPref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF] // [DESKTOP]
// lockPref("privacy.resistFingerprinting.letterboxing.dimensions", ""); // [HIDDEN PREF] // [DESKTOP]
// -------------------------------------
// Pref : Disable WebRTC, getUserMedia, screen sharing, audio capture, video capture
@ -2172,6 +2199,9 @@ lockPref("dom.enable_performance_navigation_timing", false); // [DEFAULT: true]
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=1357733,1292751
lockPref("device.sensors.enabled", false); // [DEFAULT: true]
lockPref("device.sensors.ambientLight.enabled", false); // [DEFAULT: false]
lockPref("device.sensors.motion.enabled", false); // [DEFAULT: true]
lockPref("device.sensors.orientation.enabled", false); // [DEFAULT: true]
lockPref("device.sensors.proximity.enabled", false); // [DEFAULT: false]
// -------------------------------------
// Pref : Disable gamepad API - USB device ID enumeration
// Optional protection depending on your connected devices
@ -2324,7 +2354,16 @@ defaultPref("browser.uidensity", 1); // [DEFAULT: 0] // [DESKTOP]
lockPref("pref.general.disable_button.default_browser", true); // [DESKTOP]
lockPref("pref.privacy.disable_button.view_passwords", true); // [DESKTOP]
// -------------------------------------
// Pref : Disable Reader mode by default
// Pref : Disable Reader mode
defaultPref("reader.parse-on-load.enabled", false);
// -------------------------------------
// Pref : Disable dark theme on forms
defaultPref("widget.content.gtk-theme-override", "Adwaita"); // [DESKTOP]
// -------------------------------------
// Pref : Disable ctrl+tab back to the old one
lockPref("browser.ctrlTab.recentlyUsedOrder", false); // [DESKTOP]
// -------------------------------------
// Pref : Display long lines in view-source page
defaultPref("view_source.wrap_long_lines", true);
//
//