From 88266641e6b373f3cae5becb6e677355972075b8 Mon Sep 17 00:00:00 2001 From: Narsil Date: Sat, 24 Oct 2020 09:41:38 -0400 Subject: [PATCH] Update 'user.js' --- user.js | 126 ++++++++++++++++++++++++-------------------------------- 1 file changed, 54 insertions(+), 72 deletions(-) diff --git a/user.js b/user.js index a12283e..656a21d 100644 --- a/user.js +++ b/user.js @@ -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,23 +512,23 @@ 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] -// ------------------------------------- +// This preferences determines which web sites are listed in the “Subscription Options” dialog. +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 // If you're on wifi and an IPv4 DHCP network we will send 0 length UDP packets at port 4886 of your gateway at the default rate of 60hz for 400ms from the start of the transaction in an attempt to improve RTT during the critical early phases @@ -575,14 +572,14 @@ user_pref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0); // [DESKTOP] // >>>>>>>>>>>>>>>>>>>>> // 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", ""); // [URL SANITIZED] 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,15 +632,9 @@ 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] -user_pref("general.useragent.vendorComment", ""); // [DESKTOP] -user_pref("general.useragent.vendorSub", ""); // [DESKTOP] // ------------------------------------- // Pref : Disable mailnews user_pref("mailnews.messageid_browser.url", ""); // [DESKTOP] @@ -674,7 +665,7 @@ user_pref("extensions.update.url", "https://versioncheck-bg.addons.mozilla.org/u user_pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=en-US¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%"); // [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 +676,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 +690,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 +702,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", ""); @@ -827,7 +809,7 @@ 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 +// 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 +885,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 +975,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 +1044,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 +1127,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 +1190,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 +1230,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 +1277,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 +1939,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 +1976,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 +2454,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 +2507,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 +2571,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]