Update 'user.js'

️ Disabled one missing sync pref from FF68 update
️ Disabled few missing extension recommendations/report prefs from FF68 update
ℹ️ Fixed author's links in credits
ℹ️ Duplicated removed
This commit is contained in:
quindecim 2019-07-15 12:37:50 +03:00
parent 84fd992784
commit b2153d81ca
1 changed files with 12 additions and 25 deletions

37
user.js
View File

@ -2,20 +2,20 @@
/********************************************************************************** /**********************************************************************************
* user.js | Fennec F-Droid * * user.js | Fennec F-Droid *
* * * *
* https://github.com/quindecim/fennec_user.js * * https://git.lelux.fi/quindecim/fennec_user.js *
*********************************************************************************/ *********************************************************************************/
// //
// Author : quindecim : https://github.com/quindecim/ // Author : quindecim : https://git.lelux.fi/quindecim
// //
// //
// Based on : gHacks : https://github.com/ghacksuserjs/ghacks-user.js // Based on : gHacks : https://github.com/ghacksuserjs/ghacks-user.js
// Librefox : https://github.com/intika/Librefox // Librefox : https://github.com/intika/Librefox
// pyllyukko : https://github.com/pyllyukko/user.js // pyllyukko : https://github.com/pyllyukko/user.js
// OrangeManBad : https://git.nixnet.xyz/OrangeManBad/user.js // OrangeManBad : https://git.nixnet.xyz/OrangeManBad/user.js
// CHEF-KOCH : https://github.com/CHEF-KOCH/FFCK/tree/master/user.js // CHEF-KOCH : https://github.com/CHEF-KOCH/FFCK/tree/master/user.js
// //
// License : https://github.com/quindecim/fennec_user.js/blob/master/LICENSE.txt // License : https://git.lelux.fi/quindecim/fennec_user.js/src/branch/master/LICENSE.txt
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Startup // Section : Startup
// >>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>
@ -121,8 +121,6 @@ user_pref("app.update.url", ""); // [DESKTOP]
user_pref("app.update.url.details", ""); // [DESKTOP] user_pref("app.update.url.details", ""); // [DESKTOP]
user_pref("app.update.url.manual", ""); // [DESKTOP] user_pref("app.update.url.manual", ""); // [DESKTOP]
user_pref("app.update.url.android", ""); // [FENNEC] user_pref("app.update.url.android", ""); // [FENNEC]
// user_pref("app.update.timerFirstInterval", 0);
// user_pref("app.update.timerMinimumDelay", 0);
user_pref("app.update.silent", false); // [DESKTOP] user_pref("app.update.silent", false); // [DESKTOP]
user_pref("app.update.staging.enabled", false); // [DESKTOP] user_pref("app.update.staging.enabled", false); // [DESKTOP]
user_pref("app.update.log.file", false); // [DESKTOP] user_pref("app.update.log.file", false); // [DESKTOP]
@ -259,9 +257,6 @@ user_pref("services.sync.log.logger.engine", ""); // [DESKTOP]
user_pref("services.sync.prefs.sync.media.eme.enabled", false); // [DESKTOP] user_pref("services.sync.prefs.sync.media.eme.enabled", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.privacy.fuzzyfox.clockgrainus", false); // [DESKTOP] user_pref("services.sync.prefs.sync.privacy.fuzzyfox.clockgrainus", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.privacy.fuzzyfox.enabled", false); // [DESKTOP] user_pref("services.sync.prefs.sync.privacy.fuzzyfox.enabled", false); // [DESKTOP]
user_pref("services.sync.engine.addresses.available", false); // [DESKTOP]
user_pref("services.sync.engine.addresses.available", false); // [DESKTOP]
user_pref("services.sync.engine.addresses.available", false); // [DESKTOP]
user_pref("services.sync.prefs.sync.signon.rememberSignons", false); // [DESKTOP] user_pref("services.sync.prefs.sync.signon.rememberSignons", false); // [DESKTOP]
user_pref("services.sync.serverURL", ""); // [DESKTOP] user_pref("services.sync.serverURL", ""); // [DESKTOP]
user_pref("services.sync.fxa.privacyURL", ""); // [DESKTOP] user_pref("services.sync.fxa.privacyURL", ""); // [DESKTOP]
@ -270,6 +265,7 @@ user_pref("services.sync.lastversion", ""); // [DESKTOP]
user_pref("sync.serverURL", ""); // [DEPRECATED] // [DESKTOP] user_pref("sync.serverURL", ""); // [DEPRECATED] // [DESKTOP]
user_pref("sync.jpake.serverURL", ""); // [DEPRECATED] // [DESKTOP] user_pref("sync.jpake.serverURL", ""); // [DEPRECATED] // [DESKTOP]
user_pref("services.sync.prefs.sync.browser.contentblocking.features.strict", false); // [DESKTOP] user_pref("services.sync.prefs.sync.browser.contentblocking.features.strict", false); // [DESKTOP]
user_pref("services.sync.prefs.dangerously_allow_arbitrary", false); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Never check updates for search engines // Pref : Never check updates for search engines
// https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections#w_auto-update-checking // https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections#w_auto-update-checking
@ -427,10 +423,13 @@ user_pref("extensions.webservice.discoverURL", ""); // [DESKTOP]
// https://www.ghacks.net/2019/05/15/enable-new-firefox-recommended-extensions-suggestions-in-firefox-68-nightly/ // https://www.ghacks.net/2019/05/15/enable-new-firefox-recommended-extensions-suggestions-in-firefox-68-nightly/
user_pref("extensions.htmlaboutaddons.discover.enabled", false); // [DESKTOP] user_pref("extensions.htmlaboutaddons.discover.enabled", false); // [DESKTOP]
user_pref("extensions.htmlaboutaddons.inline-options.enabled", false); user_pref("extensions.htmlaboutaddons.inline-options.enabled", false);
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); // [FENNEC] user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
user_pref("extensions.getAddons.discovery.api_url", ""); // [DESKTOP] user_pref("extensions.getAddons.discovery.api_url", ""); // [DESKTOP]
user_pref("extensions.recommendations.privacyPolicyUrl", "");
user_pref("extensions.recommendations.themeRecommendationUrl", "");
// ------------------------------------- // -------------------------------------
// Pref : Disable report extension option in about:addons // Pref : Disable report extension option in about:addons
user_pref("extensions.htmlaboutaddons.enabled", false);
user_pref("extensions.abuseReport.enabled", false); user_pref("extensions.abuseReport.enabled", false);
user_pref("extensions.abuseReport.url", ""); user_pref("extensions.abuseReport.url", "");
// ------------------------------------- // -------------------------------------
@ -444,7 +443,6 @@ user_pref("loop.logDomains", false); // [DESKTOP]
user_pref("browser.chrome.errorReporter.enabled", false); // [DESKTOP] user_pref("browser.chrome.errorReporter.enabled", false); // [DESKTOP]
user_pref("browser.chrome.errorReporter.submitUrl", ""); // [DESKTOP] user_pref("browser.chrome.errorReporter.submitUrl", ""); // [DESKTOP]
user_pref("browser.chrome.errorReporter.infoURL", ""); // [DESKTOP] user_pref("browser.chrome.errorReporter.infoURL", ""); // [DESKTOP]
user_pref("browser.chrome.errorReporter.submitUrl", ""); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable contentblocking reportBreakage // Pref : Disable contentblocking reportBreakage
user_pref("browser.contentblocking.reportBreakage.enabled", false); // [DESKTOP] user_pref("browser.contentblocking.reportBreakage.enabled", false); // [DESKTOP]
@ -1186,7 +1184,7 @@ user_pref("browser.urlbar.timesBeforeHidingSuggestionsHint", 0); // [DESKTOP]
// ------------------------------------- // -------------------------------------
// Pref : Disable URL bar autocomplete and history/bookmarks suggestions dropdown // Pref : Disable URL bar autocomplete and history/bookmarks suggestions dropdown
// [NOTE] This does not cause privacy/leaking issue // [NOTE] This does not cause privacy/leaking issue
// user_pref("browser.urlbar.autocomplete.enabled", false); // [DESKTOP] user_pref("browser.urlbar.autocomplete.enabled", false); // [DESKTOP]
user_pref("browser.urlbar.suggest.history", false); // [DESKTOP] user_pref("browser.urlbar.suggest.history", false); // [DESKTOP]
user_pref("browser.urlbar.suggest.bookmark", false); // [DESKTOP] user_pref("browser.urlbar.suggest.bookmark", false); // [DESKTOP]
user_pref("browser.urlbar.suggest.openpage", false); // [DESKTOP] user_pref("browser.urlbar.suggest.openpage", false); // [DESKTOP]
@ -1537,10 +1535,6 @@ user_pref("security.ssl3.ecdhe_ecdsa_aes_256_sha", true); // [DEFAULT: true]
user_pref("security.ssl3.ecdhe_ecdsa_chacha20_poly1305_sha256", true); user_pref("security.ssl3.ecdhe_ecdsa_chacha20_poly1305_sha256", true);
user_pref("security.ssl3.ecdhe_rsa_chacha20_poly1305_sha256", true); user_pref("security.ssl3.ecdhe_rsa_chacha20_poly1305_sha256", true);
// ------------------------------------- // -------------------------------------
// Pref : Disable DHE (Diffie-Hellman Key Exchange)
// https://www.eff.org/deeplinks/2015/10/how-to-protect-yourself-from-nsa-attacks-1024-bit-DH
user_pref("security.ssl3.dhe_rsa_aes_128_sha", false);
// -------------------------------------
// Pref : Fallbacks due compatibility reasons // Pref : Fallbacks due compatibility reasons
user_pref("security.ssl3.rsa_aes_128_sha", true); user_pref("security.ssl3.rsa_aes_128_sha", true);
user_pref("security.ssl3.rsa_aes_256_sha", true); user_pref("security.ssl3.rsa_aes_256_sha", true);
@ -2010,8 +2004,6 @@ user_pref("urlclassifier.passwordAllowTable", "");
user_pref("urlclassifier.phishTable", ""); user_pref("urlclassifier.phishTable", "");
user_pref("urlclassifier.trackingAnnotationSkipURLs", ""); // [DESKTOP] user_pref("urlclassifier.trackingAnnotationSkipURLs", ""); // [DESKTOP]
user_pref("urlclassifier.trackingAnnotationTable", ""); // [DESKTOP] user_pref("urlclassifier.trackingAnnotationTable", ""); // [DESKTOP]
user_pref("urlclassifier.trackingAnnotationSkipURLs", "");
user_pref("urlclassifier.trackingAnnotationTable", "");
user_pref("urlclassifier.trackingAnnotationWhitelistTable", ""); user_pref("urlclassifier.trackingAnnotationWhitelistTable", "");
user_pref("urlclassifier.trackingTable", ""); user_pref("urlclassifier.trackingTable", "");
user_pref("urlclassifier.trackingWhitelistTable", ""); user_pref("urlclassifier.trackingWhitelistTable", "");
@ -2519,11 +2511,6 @@ user_pref("dom.telephony.enabled", false);
// When true, zooming will be enabled on all sites, even ones that declare user-scalable=no // When true, zooming will be enabled on all sites, even ones that declare user-scalable=no
user_pref("browser.ui.zoom.force-user-scalable", true); // [DEFAULT: false] user_pref("browser.ui.zoom.force-user-scalable", true); // [DEFAULT: false]
// ------------------------------------- // -------------------------------------
// Pref : Disable location bar autocomplete and suggestion types
// https://bugzilla.mozilla.org/1502392
// http://kb.mozillazine.org/Disabling_autocomplete_-_Firefox#Firefox_3.5
user_pref("browser.urlbar.autocomplete.enabled", false); // [DEFAULT: true]
// -------------------------------------
// Pref : Disable inline autocomplete in URL bar // Pref : Disable inline autocomplete in URL bar
// http://kb.mozillazine.org/Inline_autocomplete // http://kb.mozillazine.org/Inline_autocomplete
user_pref("browser.urlbar.autoFill", false); // [DESKTOP] user_pref("browser.urlbar.autoFill", false); // [DESKTOP]