Update mozilla.cfg

 Enabled FF Process Priority Manager (FF69+)  [TEST for WINDOWS]
 Locked missing prefs in already existing prefs
️ Locked more telemetry
️ Locked FF Recommended Extensions suggestions (FF68+)
️ Locked Ion, baseline JIT and RegExp to help harden JS against exploits
️ Locked more webGL (FF68+)
ℹ️ Set more legible default fonts
This commit is contained in:
quindecim 2019-06-06 16:32:46 +00:00 committed by GitHub
parent 9d60d01678
commit a2fd3365b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 10 deletions

View File

@ -295,6 +295,7 @@ lockPref("toolkit.telemetry.reportingpolicy.firstRun", false);
lockPref("toolkit.telemetry.server", "data:,"); lockPref("toolkit.telemetry.server", "data:,");
lockPref("toolkit.telemetry.server_owner", ""); lockPref("toolkit.telemetry.server_owner", "");
lockPref("toolkit.telemetry.unified", false); lockPref("toolkit.telemetry.unified", false);
lockPref("toolkit.telemetry.unifiedIsOptIn", false); // [DESKTOP]
lockPref("toolkit.telemetry.archive.enabled", false); // [DESKTOP] lockPref("toolkit.telemetry.archive.enabled", false); // [DESKTOP]
lockPref("toolkit.telemetry.cachedClientID", ""); // [DESKTOP] lockPref("toolkit.telemetry.cachedClientID", ""); // [DESKTOP]
lockPref("toolkit.telemetry.newProfilePing.enabled", false); // [DESKTOP] lockPref("toolkit.telemetry.newProfilePing.enabled", false); // [DESKTOP]
@ -306,6 +307,8 @@ lockPref("toolkit.telemetry.hybridContent.enabled", false); // [DESKTOP]
lockPref("toolkit.telemetry.previousBuildID", ""); // [DESKTOP] lockPref("toolkit.telemetry.previousBuildID", ""); // [DESKTOP]
lockPref("toolkit.telemetry.prompted", 2); // [DESKTOP] lockPref("toolkit.telemetry.prompted", 2); // [DESKTOP]
lockPref("toolkit.telemetry.rejected", true); // [DESKTOP] lockPref("toolkit.telemetry.rejected", true); // [DESKTOP]
lockPref("security.identitypopup.recordEventElemetry", false); // [DESKTOP]
lockPref("security.certerrors.recordEventTelemetry", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable Telemetry Coverage // Pref : Disable Telemetry Coverage
// https://blog.mozilla.org/data/2018/08/20/effectively-measuring-search-in-firefox/ // https://blog.mozilla.org/data/2018/08/20/effectively-measuring-search-in-firefox/
@ -392,8 +395,10 @@ lockPref("lightweightThemes.recommendedThemes", ""); // [DESKTOP]
// [NOTE] This pref has no effect when Health Reports are disabled // [NOTE] This pref has no effect when Health Reports are disabled
lockPref("app.shield.optoutstudies.enabled", false); // [DESKTOP] lockPref("app.shield.optoutstudies.enabled", false); // [DESKTOP]
lockPref("extensions.shield-recipe-client.enabled", false); // [DESKTOP] lockPref("extensions.shield-recipe-client.enabled", false); // [DESKTOP]
lockPref("extensions.shield-recipe-client.api_url", ""); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable backlogged Crash Reports // Pref : Disable backlogged Crash Reports
lockPref("browser.crashReports.unsubmittedCheck.autoSubmit", false); // [DESKTOP]
lockPref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DESKTOP] lockPref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable Heartbeat (Mozilla user rating telemetry) // Pref : Disable Heartbeat (Mozilla user rating telemetry)
@ -557,6 +562,11 @@ lockPref("mailnews.mx_service_url", ""); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.default.sites", ""); // [DESKTOP] lockPref("browser.newtabpage.activity-stream.default.sites", ""); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned", ""); // [DESKTOP] lockPref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned", ""); // [DESKTOP]
lockPref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines", ""); // [DESKTOP] lockPref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.searchEngines", ""); // [DESKTOP]
// -------------------------------------
// Pref : Disable FF Recommended Extensions suggestions
// https://www.ghacks.net/2019/05/15/enable-new-firefox-recommended-extensions-suggestions-in-firefox-68-nightly/
lockPref("extensions.htmlaboutaddons.discover.enabled", false);
lockPref("extensions.htmlaboutaddons.inline-options.enabled", false);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Miscellaneous // Section : Miscellaneous
@ -865,6 +875,10 @@ lockPref("permissions.manager.defaultsUrl", ""); // [DESKTOP]
// https://bugzilla.mozilla.org/show_bug.cgi?id=1216893 // https://bugzilla.mozilla.org/show_bug.cgi?id=1216893
// https://github.com/iSECPartners/publications/raw/master/reports/Tor%20Browser%20Bundle/Tor%20Browser%20Bundle%20-%20iSEC%20Deliverable%201.3.pdf#16 // https://github.com/iSECPartners/publications/raw/master/reports/Tor%20Browser%20Bundle/Tor%20Browser%20Bundle%20-%20iSEC%20Deliverable%201.3.pdf#16
// lockPref("svg.disabled", true); // lockPref("svg.disabled", true);
// -------------------------------------
// Pref : Enable FF Process Priority Manager
// https://bugzilla.mozilla.org/show_bug.cgi?id=1548364
lockPref("dom.ipc.processPriorityManager.enabled", true); // [DESKTOP] // [TEST]
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Web Workers // Section : Web Workers
@ -939,9 +953,9 @@ lockPref("javascript.options.asmjs", false);
// If false, causes the odd site issue and there is also a performance loss // If false, causes the odd site issue and there is also a performance loss
// https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0817 // https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0817
// https://trac.torproject.org/projects/tor/ticket/26019 // https://trac.torproject.org/projects/tor/ticket/26019
// lockPref("javascript.options.ion", false); lockPref("javascript.options.ion", false);
// lockPref("javascript.options.baselinejit", false); lockPref("javascript.options.baselinejit", false);
// lockPref("javascript.options.native_regexp", false); lockPref("javascript.options.native_regexp", false);
// ------------------------------------- // -------------------------------------
// Pref : Disable WebAssembly // Pref : Disable WebAssembly
// https://webassembly.org/ // https://webassembly.org/
@ -1019,6 +1033,8 @@ lockPref("webgl.disable-wgl", true); // [DEFAULT: false]
lockPref("webgl.disable-fail-if-major-performance-caveat", true); lockPref("webgl.disable-fail-if-major-performance-caveat", true);
lockPref("webgl.can-lose-context-in-foreground", false); // [DEFAULT: true] lockPref("webgl.can-lose-context-in-foreground", false); // [DEFAULT: true]
lockPref("webgl.force-enabled", false); lockPref("webgl.force-enabled", false);
lockPref("webgl.vendor-string-override", " ");
lockPref("webgl.renderer-string-override", " ");
// ------------------------------------- // -------------------------------------
// Pref : Disable screensharing and audiocapture // Pref : Disable screensharing and audiocapture
lockPref("media.getusermedia.screensharing.enabled", false); // [DESKTOP] lockPref("media.getusermedia.screensharing.enabled", false); // [DESKTOP]
@ -1771,13 +1787,12 @@ lockPref("geo.wifi.logging.enabled", false); // [HIDDEN PREF] // [DESKTOP]
defaultPref("browser.display.use_document_fonts", 0); defaultPref("browser.display.use_document_fonts", 0);
// ------------------------------------- // -------------------------------------
// Pref : Set more legible default fonts // Pref : Set more legible default fonts
// [NOTE] Example below for Windows/Western only lockPref("font.name.serif.x-unicode", "Georgia");
// lockPref("font.name.serif.x-unicode", "Georgia"); lockPref("font.name.serif.x-western", "Georgia"); // [DEFAULT: Times New Roman]
// lockPref("font.name.serif.x-western", "Georgia"); // [DEFAULT: Times New Roman] lockPref("font.name.sans-serif.x-unicode", "Arial");
// lockPref("font.name.sans-serif.x-unicode", "Arial"); lockPref("font.name.sans-serif.x-western", "Arial"); // [DEFAULT: Arial]
// lockPref("font.name.sans-serif.x-western", "Arial"); // [DEFAULT: Arial] lockPref("font.name.monospace.x-unicode", "Lucida Console");
// lockPref("font.name.monospace.x-unicode", "Lucida Console"); lockPref("font.name.monospace.x-western", "Lucida Console"); // [DEFAULT: Courier New]
// lockPref("font.name.monospace.x-western", "Lucida Console"); // [DEFAULT: Courier New]
// ------------------------------------- // -------------------------------------
// Pref : Disable icon fonts (glyphs) and local fallback rendering // Pref : Disable icon fonts (glyphs) and local fallback rendering
// [NOTE] You can do this with uBlock Origin // [NOTE] You can do this with uBlock Origin