Update 'user.js (less connections)'

This commit is contained in:
Narsil 2020-10-24 09:27:30 -04:00
parent 5936ed9f11
commit e676131c2d
1 changed files with 53 additions and 70 deletions

View File

@ -127,11 +127,11 @@ user_pref("browser.aboutwelcome.overrideContent", ""); // [DESKTOP]
// true=application updates are installed without user approval.
// false=application updates are downloaded but the user can choose when to install the update.
user_pref("app.update.auto", false); // [DESKTOP]
user_pref("app.update.autodownload", "never"); // [FENIX]
user_pref("app.update.autodownload", "never");
user_pref("app.update.channel", "");
user_pref("app.update.url.details", ""); // [DESKTOP]
user_pref("app.update.url.manual", ""); // [DESKTOP]
user_pref("app.update.url.android", ""); // [FENIX]
user_pref("app.update.url.android", "");
user_pref("app.update.staging.enabled", false); // [DESKTOP]
user_pref("app.update.log.file", false); // [DESKTOP]
// -------------------------------------
@ -281,7 +281,7 @@ user_pref("browser.search.update", false);
user_pref("browser.search.update.log", false);
// -------------------------------------
// Pref : Tell the search service that we don't really expose the "current engine"
user_pref("browser.search.noCurrentEngine", true); // [DEFAULT: true] // [FENNEC]
user_pref("browser.search.noCurrentEngine", true); // [DEFAULT: true]
// -------------------------------------
// Pref : Disable sending Flash Player crash reports
user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
@ -388,7 +388,6 @@ user_pref("network.connectivity-service.DNSv6.domain", "");
// Mozilla plan to convert existing LWTs and remove LWT support in the future
// https://blog.mozilla.org/addons/2018/09/20/future-themes-here/
user_pref("lightweightThemes.persisted.headerURL", false);
user_pref("lightweightThemes.persistedThemeID", ""); // [FENNEC]
// user_pref("lightweightThemes.selectedThemeID", ""); // [BUG - FF doesen't save theme selected by user]
user_pref("lightweightThemes.getMoreURL", ""); // [DESKTOP]
user_pref("lightweightThemes.persisted.footerURL", false); // [DESKTOP]
@ -437,8 +436,6 @@ user_pref("browser.contentblocking.report.proxy.enabled", false); // [DESKTOP]
user_pref("browser.contentblocking.report.proxy_extension.url", ""); // [DESKTOP]
user_pref("browser.contentblocking.report.social.url", ""); // [DESKTOP]
user_pref("browser.contentblocking.report.tracker.url", ""); // [DESKTOP]
user_pref("browser.contentblocking.allowlist.annotations.enabled", false); // [FENNEC]
user_pref("browser.contentblocking.allowlist.storage.enabled", false); // [FENNEC]
user_pref("browser.contentblocking.report.endpoint_url", ""); // [DESKTOP]
user_pref("browser.contentblocking.report.monitor.home_page_url", ""); // [DESKTOP]
user_pref("browser.contentblocking.report.monitor.preferences_url", ""); // [DESKTOP]
@ -515,22 +512,22 @@ user_pref("devtools.enabled", false);
// -------------------------------------
// Pref : Disable SSDP (Simple Service Discovery Protocol)
// https://bugzilla.mozilla.org/show_bug.cgi?id=1111967
user_pref("browser.casting.enabled", false); // [FENNEC]
user_pref("browser.casting.enabled", false);
// -------------------------------------
// Pref : Disable in-browser feed handling
// This preferences determines which web sites are listed in the “Subscription Options” dialog.
user_pref("browser.contentHandlers.types.0.title", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.0.type", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.0.uri", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.1.title", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.1.type", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.1.uri", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.2.title", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.2.type", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.2.uri", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.3.title", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.3.type", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.3.uri", ""); // [FENNEC]
user_pref("browser.contentHandlers.types.0.title", "");
user_pref("browser.contentHandlers.types.0.type", "");
user_pref("browser.contentHandlers.types.0.uri", "");
user_pref("browser.contentHandlers.types.1.title", "");
user_pref("browser.contentHandlers.types.1.type", "");
user_pref("browser.contentHandlers.types.1.uri", "");
user_pref("browser.contentHandlers.types.2.title", "");
user_pref("browser.contentHandlers.types.2.type", "");
user_pref("browser.contentHandlers.types.2.uri", "");
user_pref("browser.contentHandlers.types.3.title", "");
user_pref("browser.contentHandlers.types.3.type", "");
user_pref("browser.contentHandlers.types.3.uri", "");
// -------------------------------------
// Pref : Disable tickle time under wifi network
// It transmit UDP busy-work to the LAN when anticipating low latency network reads and on wifi to mitigate 802.11 Power Save Polling delays
@ -574,15 +571,14 @@ user_pref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0); // [DESKTOP]
// I Just Want You To Shut Up : Closing all non necessary communication to mozilla.org etc.
// >>>>>>>>>>>>>>>>>>>>>
// Pref : Block unwanted connections
user_pref("app.feedback.baseURL", "");
user_pref("app.feedbackURL", ""); // [FENNEC]
user_pref("app.channelURL", ""); // [FENNEC]
user_pref("app.creditsURL", ""); // [FENNEC]
user_pref("app.faqURL", ""); // [FENNEC]
user_pref("app.privacyURL", ""); // [FENNEC]
user_pref("app.releaseNotesURL", "https://www.mozilla.org/en-US/firefox/%VERSION%/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=whatsnew"); // [URL SANITIZED]
user_pref("app.feedbackURL", "");
user_pref("app.channelURL", "");
user_pref("app.creditsURL", "");
user_pref("app.faqURL", "");
user_pref("app.privacyURL", "");
user_pref("app.releaseNotesURL", "");
user_pref("app.support.baseURL", "");
user_pref("app.supportURL", ""); // [FENNEC]
user_pref("app.supportURL", "");
user_pref("app.vendorURL", ""); // [DESKTOP]
user_pref("media.decoder-doctor.new-issue-endpoint", "");
user_pref("network.trr.confirmationNS", "");
@ -635,10 +631,6 @@ 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.updates.url", ""); // [FENNEC]
// -------------------------------------
// Pref : Decrease vendor useragent info leakage to Mozilla
// https://github.com/pyllyukko/user.js/issues/299
user_pref("general.useragent.vendor", ""); // [DESKTOP]
@ -674,7 +666,7 @@ user_pref("extensions.update.url", ""); // [URL SANITIZED]
user_pref("extensions.update.background.url", ""); // [URL SANITIZED]
// -------------------------------------
// Pref : Decrease system information leakage to Mozilla addons update servers
user_pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/en-US/android/collections/4757633/mob/?page=1&collection_sort=-popularity"); // [URL SANITIZED] // [FENNEC]
user_pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/en-US/android/collections/4757633/mob/?page=1&collection_sort=-popularity"); // [URL SANITIZED]
user_pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/api/v3/addons/search/?guid=%IDS%&lang=en-US"); // [URL SANITIZED]
user_pref("extensions.getAddons.link.url", "https://addons.mozilla.org/en-US/firefox/"); // [URL SANITIZED]
user_pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/en-US/android/search?q=%TERMS%&platform=%OS%&appver=%VERSION%"); // [URL SANITIZED]
@ -685,7 +677,7 @@ user_pref("extensions.webcompat-reporter.enabled", false);
user_pref("extensions.webcompat-reporter.newIssueEndpoint", "");
// -------------------------------------
// Pref : Don't let XPIProvider install distribution add-ons
user_pref("extensions.installDistroAddons", false); // [DEFAULT: false] // [FENNEC]
user_pref("extensions.installDistroAddons", false); // [DEFAULT: false]
// -------------------------------------
// Pref : Disable experiments extensions
user_pref("extensions.experiments.enabled", false);
@ -699,7 +691,6 @@ user_pref("identity.fxaccounts.auth.uri", "");
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
user_pref("identity.fxaccounts.remote.root", ""); // [DESKTOP]
user_pref("identity.fxaccounts.pairing.enabled", false); // [DESKTOP]
user_pref("identity.fxaccounts.remote.pairing.uri", ""); // [DESKTOP]
@ -712,14 +703,6 @@ user_pref("identity.fxaccounts.autoconfig.uri", ""); // [DESKTOP]
user_pref("identity.fxaccounts.service.monitorLoginUrl", ""); // [DESKTOP]
user_pref("identity.fxaccounts.service.sendLoginUrl", ""); // [DESKTOP]
// -------------------------------------
// Pref : Disable snippets
user_pref("browser.snippets.enabled", false); // [FENNEC]
user_pref("browser.snippets.firstrunHomepage.enabled", false); // [FENNEC]
user_pref("browser.snippets.statsUrl", ""); // [FENNEC]
user_pref("browser.snippets.updateUrl", ""); // [FENNEC]
user_pref("browser.snippets.syncPromo.enabled", false); // [FENNEC]
// user_pref("browser.snippets.updateInterval", 0); // [FENNEC]
// -------------------------------------
// Pref : Disable Webextensions sync
user_pref("webextensions.storage.sync.enabled", false); // [DESKTOP]
user_pref("webextensions.storage.sync.serverURL", "");
@ -826,8 +809,8 @@ user_pref("webchannel.allowObject.urlWhitelist", "");
user_pref("browser.download.folderList", 2);
// -------------------------------------
// Pref : Enforce user interaction, for security, by always asking the user where to download and then forget
// [FENNEC] Fix for downloading issues
// user_pref("browser.download.useDownloadDir", false); // [FENNEC - BUG] It causes the breakage of all downloads
// Fix for downloading issues
// user_pref("browser.download.useDownloadDir", false); // [BUG] It causes the breakage of all downloads
user_pref("browser.download.lastDir", ""); // [DESKTOP]
// -------------------------------------
// Pref : Disable adding downloads to the system's "recent documents" list
@ -903,7 +886,7 @@ user_pref("browser.firstrun.show.uidiscovery", false); // [DEFAULT: true]
user_pref("browser.firstrun.show.localepicker", false); // [DEFAULT: false]
// -------------------------------------
// Pref : Disable sending console to logcat on release builds.
user_pref("consoleservice.logcat", false); // [FENNEC]
user_pref("consoleservice.logcat", false);
// -------------------------------------
// Pref : Disable Pocket
// https://support.mozilla.org/en-US/kb/save-web-pages-later-pocket-firefox
@ -993,7 +976,7 @@ user_pref("dom.push.serverURL", "");
// Pref : Disable web notifications
// [NOTE] Web Notifications can also use service workers and are behind a prompt
// https://developer.mozilla.org/docs/Web/API/Notifications_API
user_pref("notification.feature.enabled", false); // [FENNEC]
user_pref("notification.feature.enabled", false);
user_pref("dom.webnotifications.enabled", false);
user_pref("dom.webnotifications.serviceworker.enabled", false);
// -------------------------------------
@ -1062,7 +1045,7 @@ user_pref("javascript.options.asmjs", false);
// https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0817
// https://gitlab.torproject.org/legacy/trac/-/issues/26019
user_pref("javascript.options.ion", false);
// user_pref("javascript.options.baselinejit", false); // [FENNEC - BUG] Addons issues
// user_pref("javascript.options.baselinejit", false); // [BUG] Addons issues
// user_pref("javascript.options.jit_trustedprincipals", true); // [HIDDEN PREF] // [DESKTOP ?]
user_pref("javascript.options.native_regexp", false);
// -------------------------------------
@ -1145,8 +1128,8 @@ user_pref("media.getusermedia.browser.enabled", false);
user_pref("media.getusermedia.audiocapture.enabled", false);
// -------------------------------------
// Pref : Disable camera support
user_pref("device.camera.enabled", false); // [DEFAULT: true] // [FENNEC]
user_pref("media.realtime_decoder.enabled", false); // [DEFAULT: true] // [FENNEC]
user_pref("device.camera.enabled", false); // [DEFAULT: true]
user_pref("media.realtime_decoder.enabled", false); // [DEFAULT: true]
// -------------------------------------
// Pref : Disable canvas capture stream
// https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/captureStream
@ -1208,7 +1191,7 @@ user_pref("browser.search.suggest.enabled.private", false);
user_pref("browser.urlbar.suggest.searches", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable "Would you like to turn on search suggestions" prompt message
user_pref("browser.search.suggest.prompted", true); // [FENNEC]
user_pref("browser.search.suggest.prompted", true);
// -------------------------------------
// Pref : Disable information entered in web page forms and the search bar
// [NOTE] You can clear formdata on exiting Firefox
@ -1248,7 +1231,7 @@ user_pref("browser.urlbar.searchSuggestionsChoice", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable URL bar autocomplete and history/bookmarks suggestions dropdown
// http://kb.mozillazine.org/Disabling_autocomplete_-_Firefox#Firefox_3.5
user_pref("browser.urlbar.autocomplete.enabled", false); // [FENNEC]
user_pref("browser.urlbar.autocomplete.enabled", false);
user_pref("browser.urlbar.suggest.history", false); // [DESKTOP]
user_pref("browser.urlbar.suggest.bookmark", false); // [DESKTOP]
user_pref("browser.urlbar.suggest.openpage", false); // [DESKTOP]
@ -1295,21 +1278,21 @@ user_pref("browser.dom.window.dump.enabled", false); // [DEFAULT: true]
user_pref("devtools.console.stdout.chrome", false); // [DEFAULT: true]
// -------------------------------------
// Pref : Disable number linkification
user_pref("browser.ui.linkify.phone", false); // [DEFAULT: false] // [FENNEC]
user_pref("browser.ui.linkify.phone", false); // [DEFAULT: false]
// -------------------------------------
// Pref : Controls which bits of private data to clear.
user_pref("privacy.item.cache", true); // [DEFAULT: true] // [FENNEC]
user_pref("privacy.item.cache", true); // [DEFAULT: true]
user_pref("privacy.item.cookies", true); // [DEFAULT: true]
user_pref("privacy.item.offlineApps", true); // [DEFAULT: true] // [FENNEC]
user_pref("privacy.item.history", true); // [DEFAULT: true] // [FENNEC]
user_pref("privacy.item.searchHistory", true); // [DEFAULT: true] // [FENNEC]
user_pref("privacy.item.formdata", true); // [DEFAULT: true] // [FENNEC]
user_pref("privacy.item.downloads", true); // [DEFAULT: true] // [FENNEC]
user_pref("privacy.item.passwords", true); // [DEFAULT: true] // [FENNEC]
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]
user_pref("privacy.item.offlineApps", true); // [DEFAULT: true]
user_pref("privacy.item.history", true); // [DEFAULT: true]
user_pref("privacy.item.searchHistory", true); // [DEFAULT: true]
user_pref("privacy.item.formdata", true); // [DEFAULT: true]
user_pref("privacy.item.downloads", true); // [DEFAULT: true]
user_pref("privacy.item.passwords", true); // [DEFAULT: true]
user_pref("privacy.item.sessions", true); // [DEFAULT: true]
user_pref("privacy.item.geolocation", true); // [DEFAULT: true]
user_pref("privacy.item.siteSettings", true); // [DEFAULT: true]
user_pref("privacy.item.syncAccount", true); // [DEFAULT: true]
// -------------------------------------
// Pref : Disable tab hiding API by default
user_pref("extensions.webextensions.tabhide.enabled", false); // [DEFAULT: true] // [DESKTOP]
@ -1957,8 +1940,8 @@ user_pref("gfx.font_rendering.graphite.enabled", false);
// Section : Plugins
// >>>>>>>>>>>>>>>>>>>>
// Pref : Disable plugins
user_pref("plugin.disable", true); // [DEFAULT: true] // [FENNEC]
user_pref("dom.ipc.plugins.enabled", false); // [DEFAULT: false] // [FENNEC]
user_pref("plugin.disable", true); // [DEFAULT: true]
user_pref("dom.ipc.plugins.enabled", false); // [DEFAULT: false]
user_pref("plugins.crash.supportUrl", ""); // [DESKTOP]
// -------------------------------------
// Pref : Set default plugin state (i.e. new plugins on discovery) to never activate
@ -1994,7 +1977,7 @@ user_pref("media.gmp-gmpopenh264.visible", false);
// [NOTE] if you need CDM, e.g. Netflix, Amazon Prime, Hulu, whatever
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.mediadrm-widevinecdm.visible", false); // [DEFAULT: true]
user_pref("media.gmp-widevinecdm.autoupdate", false); // [DESKTOP]
// -------------------------------------
// Pref : Disable Flash plugin
@ -2472,7 +2455,7 @@ user_pref("media.video_stats.enabled", false); // [DEFAULT: true]
// This pref is set to 2 by default, which results in the Touch API being exposed only when touch hardware is present. So we should either set it to "1" (enable) or "0" (disable) to ensure that JS code can't fingerprint the user's hardware.
// https://developer.mozilla.org/docs/Web/API/Touch_events
// https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/10286
user_pref("dom.w3c_touch_events.enabled", 1); // [DEFAULT: 2] // [FENNEC - BUG] ff disabled, disallow copy/paste any text
user_pref("dom.w3c_touch_events.enabled", 1); // [DEFAULT: 2] // [BUG] ff disabled, disallow copy/paste any text
// -------------------------------------
// Pref : Disable MediaDevices change detection
// https://developer.mozilla.org/docs/Web/Events/devicechange
@ -2525,7 +2508,7 @@ user_pref("permissions.default.xr", 2); // [DESKTOP]
// https://wiki.mozilla.org/Platform/GFX/HardwareAcceleration
// user_pref("gfx.direct2d.disabled", true); // [DESKTOP] // [WINDOWS]
// user_pref("layers.acceleration.disabled", true); // [DEFAULT: false]
// user_pref("layers.acceleration.force-enabled", false); // [FENNEC - BUG] Force close during startup
// user_pref("layers.acceleration.force-enabled", false); // [BUG] Force close during startup
// -------------------------------------
// Pref : Disable Web Audio API
// https://bugzilla.mozilla.org/show_bug.cgi?id=1288359
@ -2589,8 +2572,8 @@ user_pref("browser.bookmarks.max_backups", 0); // [DEFAULT: 5]
// -------------------------------------
// Pref : Set home provider syncing only on wifi
// 0=sync always, 1=sync only when on wifi
user_pref("home.sync.updateMode", 1); // [DEFAULT: 0] // [FENNEC]
// user_pref("home.sync.checkIntervalSecs", 3600); // [FENNEC]
user_pref("home.sync.updateMode", 1); // [DEFAULT: 0]
// user_pref("home.sync.checkIntervalSecs", 3600);
// -------------------------------------
// Pref : Middle-click mouse enabling auto-scrolling
user_pref("general.autoScroll", true); // [DESKTOP]