2024-02-19 09:16:19 +01:00
2024-02-14 10:57:47 +01:00
// ~/.{librewolf,var/app/io.gitlab.librewolf-community/.librewolf}/librewolf.overrides.cfg
2024-02-19 09:16:19 +01:00
// The first line of this file is supposed to be empty.
2024-02-14 10:57:47 +01:00
2024-02-19 09:16:19 +01:00
// This was originally a LibreWolf overrides config beginning with samples from
2024-02-14 10:57:47 +01:00
// https://librewolf.net/docs/settings/
2024-02-19 09:16:19 +01:00
// later eating https://aminda.eu/browser-extensions#firefox-aboutconfig
// and finally becoming Firefox autoconfig file copied from
// https://codeberg.org/librewolf/settings/src/branch/master/librewolf.cfg
2024-02-26 08:06:03 +01:00
// Firefox autoconfig
2024-03-01 09:04:38 +01:00
pref("autoadmin.global_config_url", "https://gitea.blesmrt.net/mikaela/shell-things/raw/branch/master/conf/librewolf.overrides.cfg");
2024-02-24 15:55:39 +01:00
pref("general.config.obscure_value", 0);
2024-02-26 08:06:03 +01:00
pref("autoadmin.refresh_interval", 120);
pref("autoadmin.offline_failover", true);
pref("autoadmin.failover_to_cached", true);
2024-02-14 10:57:47 +01:00
2024-03-01 09:04:38 +01:00
// Interface language
2024-03-31 07:42:30 +02:00
//pref("intl.locale.requested", "eo");
//pref("intl.regional_prefs.use_os_locales", false);
2024-03-01 09:04:38 +01:00
2024-02-14 10:57:47 +01:00
// via https://www.ghacks.net/2017/10/27/how-to-enable-firefox-webextensions-on-mozilla-websites/
2024-02-19 09:16:19 +01:00
pref("extensions.webextensions.restrictedDomains", "");
2024-02-24 08:56:08 +01:00
//pref("privacy.resistFingerprinting.block_mozAddonManage", true);
2024-02-14 10:57:47 +01:00
// Block cookie banners. Warning: may result to auto-accepting cookies.
// https://www.ghacks.net/2022/12/24/configure-firefox-to-reject-cookie-banners-automatically/
2024-02-14 11:47:09 +01:00
pref("cookiebanners.service.mode", 2);
pref("cookiebanners.service.mode.privateBrowsing", 2);
pref("cookiebanners.bannerClicking.enabled", true);
2024-02-14 10:57:47 +01:00
// https://globalprivacycontrol.org/ the successor of DNT
2024-02-14 11:47:09 +01:00
pref("privacy.globalprivacycontrol.enabled", true);
pref("privacy.globalprivacycontrol.functionality.enabled", true);
pref("privacy.donottrackheader.enabled", true);
pref("privacy.donottrackheader.value", 1);
2024-02-14 10:57:47 +01:00
2024-02-24 08:56:08 +01:00
// Conflicts with fingerprintingProtection
pref("privacy.resistFingerprinting", false);
pref("privacy.resistFingerprinting.pbmode", false);
2024-02-14 10:57:47 +01:00
// Enable letterboxing
2024-02-14 11:47:09 +01:00
pref("privacy.resistFingerprinting.letterboxing", true);
2024-02-21 21:48:22 +01:00
// Timezone spoofing. I cannot handle it with many pages.
2024-02-24 08:56:08 +01:00
//pref("privacy.resistFingerprinting.spoofTimezone", false);
// Fingerprinting protection and what to not protect. Via https://superuser.com/questions/1610744/how-do-i-get-around-resistfingerprinting-setting-my-preferred-firefox-theme-to-l/1815927#1815927
pref("privacy.fingerprintingProtection", true);
pref("privacy.fingerprintingProtection.pbmode", true);
2024-02-28 09:26:57 +01:00
// Use all protections, except make compromises for accessibility,
// usability and reveal the real platform (voting for Linux
// existing in statistics). https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc
// It's not like I have any uniqueness with `intl.accept_languages` below...
pref("privacy.fingerprintingProtection.overrides", "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-NavigatorPlatform,-NavigatorUserAgent,-JSDateTimeUTC,-HttpUserAgent");
2024-02-17 18:21:40 +01:00
2024-02-24 09:40:36 +01:00
// :( but fingerprintability
pref("javascript.use_us_english_locale", true);
2024-02-26 08:52:17 +01:00
// This is the privacy.resistfingerprinting value and probably most common
2024-02-24 09:40:36 +01:00
//pref("intl.accept_languages", "en-US, en");
2024-02-26 08:52:17 +01:00
// Then again I already lost the fingerprintability game. The default on
// Firefox Android for me is `fi-FI,en-FI` which looks like even more losing
2024-02-26 15:22:46 +01:00
// the fingerprinting game. Then again as sending empty accept-language is
// valid ("just give me any"), what if I request only Finnish considering the
// RFC discourages sending rejection if no language matches.
2024-03-31 07:42:30 +02:00
defaultPref("intl.accept_languages", "fi, en");
2024-02-26 08:52:17 +01:00
// Apparently even not sending accept-language is more common than Finnish,
// so let's do that. Any language is fine, at least I am not promoting English
// to every web site I visit.
2024-02-26 15:22:46 +01:00
//pref("intl.accept_languages", "");
2024-02-27 13:54:43 +01:00
// Mi ne plu pensas ĉi tion estas serioza.
2024-03-31 07:42:30 +02:00
//pref("intl.accept_languages", "eo, fi");
2024-02-24 09:40:36 +01:00
2024-02-24 09:17:08 +01:00
// No JavaScript allowed in internal pdf viewer
pref("pdfjs.enableScripting", false);
// Dark mode
pref("ui.systemUsesDarkTheme", 1);
pref("prefers-color-scheme", "dark");
pref("pdfjs.viewerCssTheme", 2);
2024-02-14 10:57:47 +01:00
// Enable Firefox accounts
2024-02-24 08:56:08 +01:00
pref("identity.fxaccounts.enabled", true);
2024-02-14 10:57:47 +01:00
// Settings on what to clear on quit
// - Goal: let Element Web & co stay logged in
2024-02-14 11:47:09 +01:00
pref("privacy.clearOnShutdown.cache", false);
pref("privacy.clearOnShutdown.cookies", false);
pref("privacy.clearOnShutdown.history", false);
pref("privacy.clearOnShutdown.offlineApps", false);
pref("privacy.clearOnShutdown.openWindows", false);
pref("privacy.clearOnShutdown.sessions", false);
pref("privacy.clearOnShutdown.siteSettings", false);
2024-02-14 10:57:47 +01:00
// Don't resume from crash (SSD)
2024-02-14 11:47:09 +01:00
pref("browser.sessionstore.resume_from_crash", false);
2024-02-14 10:57:47 +01:00
2024-02-19 09:16:19 +01:00
// Click to play. https://wiki.mozilla.org/Media/block-autoplay
2024-02-14 11:47:09 +01:00
pref("media.autoplay.blocking_policy", 2);
2024-02-14 10:57:47 +01:00
// No corporate CA MITM
2024-03-24 06:08:42 +01:00
defaultPref("security.certerrors.mitm.auto_enable_enterprise_roots", false);
2024-02-14 10:57:47 +01:00
// Decrease animations
2024-02-14 11:47:09 +01:00
pref("image.animation_mode", "once");
2024-02-14 10:57:47 +01:00
// Punycode
2024-02-14 11:47:09 +01:00
pref("network.IDN_show_punycode", true);
2024-02-14 10:57:47 +01:00
// Enforce reader mode enabling?
2024-02-14 11:47:09 +01:00
pref("reader.parse-on-load.force-enabled", true);
2024-02-14 10:57:47 +01:00
// TRR & ECH
// Mode 2 allows fallback to system resolver, 3 is TTR-only
2024-02-24 15:55:00 +01:00
//pref("network.trr.mode", 2);
pref("network.trr.mode", 3);
2024-02-14 11:47:09 +01:00
pref("network.trr.early-AAAA", true);
2024-02-24 15:55:00 +01:00
pref("network.trr.uri", "https://dns0.eu");
2024-02-14 11:47:09 +01:00
//pref("network.trr.uri", "https://dns.adguard-dns.com/dns-query");
2024-02-14 10:57:47 +01:00
// NOTE: ECH requires TRR, so mode 2 may not use it.
2024-02-14 11:47:09 +01:00
pref("network.trr.disable-ECS", false);
pref("network.dns.echconfig.enabled", true);
pref("network.dns.use_https_rr_as_altsvc", true);
pref("network.trr.exclude-etc-hosts", false);
2024-02-27 14:01:51 +01:00
pref("network.trr.excluded-domains", "http.badssl.com,norwegianwifi.com,mywifiext.net,tplinkrepeater.net,router.asus.com");
2024-02-14 10:57:47 +01:00
// Default UI scale
2024-02-14 11:47:09 +01:00
pref("layout.css.devPixelsPerPx", "1.5");
2024-02-14 10:57:47 +01:00
// Keep cache on both disk & memory. This is required for
// https://github.com/JimmXinu/FanFicFare/wiki/BrowserCacheFeature
2024-02-14 11:47:09 +01:00
pref("browser.cache.disk.enable", true);
pref("browser.cache.memory.enable", true);
2024-02-14 10:57:47 +01:00
// Start from homepage, don't restore the previous session (excluding pinned tabs)'
2024-03-31 07:42:30 +02:00
//pref("browser.startup.page", 1);
2024-02-14 10:57:47 +01:00
// Simplified DDG experience without prompts for extension and all
2024-03-21 18:28:01 +01:00
//pref("browser.startup.homepage", "https://start.duckduckgo.com");
2024-03-31 07:42:30 +02:00
defaultPref("browser.startup.homepage", "about:mozilla");
2024-02-14 10:57:47 +01:00
2024-02-19 09:16:19 +01:00
// https://codeberg.org/librewolf/settings/src/branch/master/librewolf.cfg begins
2024-02-28 19:50:44 +01:00
//pref("browser.contentblocking.category", "strict");
// Aminda relies on AdNauseam
lockPref("browser.contentblocking.category", "standard");
2024-02-19 09:16:19 +01:00
pref("privacy.partition.always_partition_third_party_non_cookie_storage", true);
pref("privacy.partition.always_partition_third_party_non_cookie_storage.exempt_sessionstorage", false);
/** prevent media cache from being written to disk in pb, but increase max cache size to avoid playback issues */
2024-02-24 15:55:00 +01:00
pref("browser.privatebrowsing.forceMediaMemoryCache", true);
pref("media.memory_cache_max_size", 65536);
pref("browser.shell.shortcutFavicons", false); // disable favicons in profile folder
pref("browser.helperApps.deleteTempFileOnExit", true); // delete temporary files opened with external apps
2024-02-19 09:16:19 +01:00
/** [SECTION] LOGGING
* these prefs are off by default in the official Mozilla builds,
* so it only makes sense that we also disable them.
* See https://gitlab.com/librewolf-community/settings/-/issues/240
*/
pref("browser.dom.window.dump.enabled", false);
pref("devtools.console.stdout.chrome", false);
pref("dom.security.https_only_mode", true); // only allow https in all windows, including private browsing
pref("network.auth.subresource-http-auth-allow", 1); // block HTTP authentication credential dialogs
/** [SECTION] REFERERS
* to enhance privacy but keep a certain level of usability we trim cross-origin
* referers to only send scheme, host and port, instead of completely avoid sending them.
* as a general rule, the behavior of referes which are not cross-origin should not
* be changed.
*/
2024-02-24 15:55:00 +01:00
pref("network.http.referer.XOriginTrimmingPolicy", 2);
2024-02-19 09:16:19 +01:00
/** [SECTION] WEBRTC
* there is no point in disabling webrtc as mDNS protects the private IP on linux, osx and win10+.
* the private IP address is only used in trusted environments, eg. allowed camera and mic access.
*/
2024-02-24 15:55:00 +01:00
pref("media.peerconnection.ice.default_address_only", true); // use a single interface for ICE candidates, the vpn one when a vpn is used
2024-02-19 09:16:19 +01:00
/** [SECTION] PROXY */
2024-02-24 15:55:00 +01:00
pref("network.gio.supported-protocols", ""); // disable gio as it could bypass proxy
pref("network.file.disable_unc_paths", true); // hidden, disable using uniform naming convention to prevent proxy bypass
pref("network.proxy.socks_remote_dns", true); // forces dns query through the proxy when using one
pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true); // force webrtc inside proxy when one is used
2024-02-19 09:16:19 +01:00
/** [SECTION] DNS */
2024-02-24 15:55:00 +01:00
pref("network.dns.disablePrefetch", true); // disable dns prefetching
2024-02-19 09:16:19 +01:00
pref("network.dns.skipTRR-when-parental-control-enabled", false); // Arkenfox user.js v117
/** [SECTION] PREFETCHING AND SPECULATIVE CONNECTIONS
* disable prefecthing for different things such as links, bookmarks and predictions.
*/
pref("network.predictor.enabled", false);
pref("network.prefetch-next", false);
pref("network.http.speculative-parallel-limit", 0);
2024-02-24 15:55:00 +01:00
pref("browser.places.speculativeConnect.enabled", false);
2024-02-19 09:16:19 +01:00
// disable speculative connections and domain guessing from the urlbar
2024-02-24 15:55:00 +01:00
pref("browser.urlbar.speculativeConnect.enabled", false);
2024-02-19 09:16:19 +01:00
// RFP + DarkReader? -Aminda
2024-02-24 15:55:00 +01:00
pref("browser.display.use_system_colors", false); // default, except Win
2024-02-19 09:16:19 +01:00
// RFP I configured by myself before and window size won't affect me due to Sway
// and I manually enabled letterboxing above. -Aminda
// I am trusting PrivacyBadger and NoScript. -Aminda
pref("webgl.disabled", false);
/** [SECTION] CERTIFICATES */
2024-02-24 15:55:00 +01:00
pref("security.cert_pinning.enforcement_level", 2); // enable strict public key pinning, might cause issues with AVs
2024-02-19 09:16:19 +01:00
/**
* enable safe negotiation and show warning when it is not supported. might cause breakage
* if the the server does not support RFC 5746, in tha case SSL_ERROR_UNSAFE_NEGOTIATION
* will be shown.
*/
pref("security.ssl.require_safe_negotiation", true);
pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
/**
* our strategy with revocation is to perform all possible checks with CRL, but when a cert
* cannot be checked with it we use OCSP stapled with hard-fail, to still keep privacy and
* increase security.
* crlite is in mode 3 by default, which allows us to detect false positive with OCSP.
* in v103, when crlite is fully mature, it will switch to mode 2 and no longer double-check.
*/
2024-02-24 15:55:00 +01:00
pref("security.remote_settings.crlite_filters.enabled", true);
2024-02-19 09:16:19 +01:00
pref("security.OCSP.require", true); // set to hard-fail, might cause SEC_ERROR_OCSP_SERVER_ERROR
/** [SECTION] TLS/SSL */
pref("security.tls.enable_0rtt_data", false); // disable 0 RTT to improve tls 1.3 security
pref("security.tls.version.enable-deprecated", false); // make TLS downgrades session only by enforcing it with pref(), default
2024-02-24 15:55:00 +01:00
pref("browser.xul.error_pages.expert_bad_cert", true); // show relevant and advanced issues on warnings and error screens
2024-02-19 09:16:19 +01:00
/** [SECTION] PERMISSIONS */
pref("permissions.delegation.enabled", false); // force permission request to show real origin
pref("permissions.manager.defaultsUrl", ""); // revoke special permissions for some mozilla domains
// Aminda stripped safebrowsing here as even in LibreWolf filtering DNS is used + the extensions.
2024-03-29 16:16:42 +01:00
// Default (2024-03-29)
//pref("geo.provider.network.url", "https://www.googleapis.com/geolocation/v1/geolocate?key = %GOOGLE_LOCATION_SERVICE_API_KEY%");
// Sunset https://github.com/mozilla/ichnaea/issues/2065
//pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key = %MOZILLA_API_KEY%");
2024-02-19 09:16:19 +01:00
// Although I doubt they will improve accuracy, why not?
pref("geo.provider.use_gpsd", true); // [LINUX]
pref("geo.provider.use_geoclue", true); // [LINUX]
// disable region specific updates from mozilla
pref("browser.region.network.url", "");
pref("browser.region.update.enabled", false);
/** [SECTION] SEARCH AND URLBAR
* disable search suggestion and do not update opensearch engines.
*/
2024-02-24 15:55:00 +01:00
pref("browser.urlbar.suggest.searches", false);
pref("browser.search.suggest.enabled", false);
pref("browser.search.update", false);
pref("browser.search.separatePrivateDefault", true); // [FF70+] // Arkenfox user.js v119
pref("browser.search.separatePrivateDefault.ui.enabled", true); // [FF71+] // Arkenfox user.js v119
pref("browser.urlbar.suggest.mdn", true);
2024-02-19 09:16:19 +01:00
2024-02-24 15:55:00 +01:00
pref("browser.urlbar.addons.featureGate", false);
pref("browser.urlbar.mdn.featureGate", false);
pref("browser.urlbar.pocket.featureGate", false);
pref("browser.urlbar.trending.featureGate", false);
pref("browser.urlbar.weather.featureGate", false);
2024-02-19 09:16:19 +01:00
// these are from Arkenfox, I decided to put them here.
2024-02-24 15:55:00 +01:00
pref("browser.download.start_downloads_in_tmp_dir", true); // Arkenfox user.js v118
2024-02-19 09:16:19 +01:00
/**
* the pref disables the whole feature and hide it from the ui
* (as noted in https://bugzilla.mozilla.org/show_bug.cgi?id = 1755057).
* this also includes the best match feature, as it is part of firefox suggest.
*/
pref("browser.urlbar.quicksuggest.enabled", false);
2024-02-24 15:55:00 +01:00
pref("browser.urlbar.suggest.weather", false); // disable weather suggestions in urlbar once they are no longer behind feature gate
2024-02-19 09:16:19 +01:00
/** [SECTION] DOWNLOADS
* user interaction should always be required for downloads, as a way to enhance security by asking
* the user to specific a certain save location.
*/
2024-02-24 15:55:00 +01:00
pref("browser.download.useDownloadDir", false);
pref("browser.download.autohideButton", false); // do not hide download button automatically
pref("browser.download.manager.addToRecentDocs", false); // do not add downloads to recents
pref("browser.download.alwaysOpenPanel", false); // do not expand toolbar menu for every download, we already have enough interaction
2024-02-19 09:16:19 +01:00
/** [SECTION] AUTOPLAY
* block autoplay unless element is right-clicked. this means background videos, videos in a different tab,
* or media opened while other media is played will not start automatically.
* thumbnails will not autoplay unless hovered. exceptions can be set from the UI.
*/
2024-02-24 15:55:00 +01:00
pref("media.autoplay.default", 5);
2024-02-19 09:16:19 +01:00
/** [SECTION] POP-UPS AND WINDOWS
* prevent scripts from resizing existing windows and opening new ones, by forcing them into
* new tabs that can't be resized as well.
*/
2024-02-24 15:55:00 +01:00
pref("dom.disable_window_move_resize", true);
pref("browser.link.open_newwindow", 3);
pref("browser.link.open_newwindow.restriction", 0);
2024-02-19 09:16:19 +01:00
/** [SECTION] MOUSE */
2024-02-24 15:55:00 +01:00
pref("browser.tabs.searchclipboardfor.middleclick", false); // prevent mouse middle click on new tab button to trigger searches or page loads
2024-02-19 09:16:19 +01:00
/** [CATEGORY] EXTENSIONS */
/** [SECTION] USER INSTALLED
* extensions are allowed to operate on restricted domains, while their scope
* is set to profile+applications (https://mike.kaply.com/2012/02/21/understanding-add-on-scopes/).
* an installation prompt should always be displayed.
*/
2024-02-24 15:55:00 +01:00
//pref("extensions.webextensions.restrictedDomains", "");
pref("extensions.enabledScopes", 5); // hidden
pref("extensions.postDownloadThirdPartyPrompt", false);
2024-02-19 09:16:19 +01:00
/**
* the pref disables quarantined domains.
* this is a security feature, we should remove it with v116 as there will be a UI to control this per-extension.
* unless we patch remote settings we rely on static dumps. this means even if we did not flip this pref it would
* not make a difference at the moment.
*/
2024-02-24 15:55:00 +01:00
pref("extensions.quarantinedDomains.enabled", false);
2024-02-19 09:16:19 +01:00
/** [SECTION] SYSTEM
* built-in extension are not allowed to auto-update. additionally the reporter extension
* of webcompat is disabled. urls are stripped for defense in depth.
*/
// Aminda questions the security of not automatically updating built-in extensions.
pref("extensions.systemAddon.update.enabled", true);
2024-02-24 15:55:00 +01:00
//pref("extensions.systemAddon.update.url", "");
2024-02-24 16:04:34 +01:00
pref("extensions.webcompat-reporter.enabled", false);
pref("extensions.webcompat-reporter.newIssueEndpoint", "");
2024-02-19 09:16:19 +01:00
/** [SECTION] LOCKWISE
* disable the default password manager built into the browser, including its autofill
* capabilities and formless login capture.
*/
2024-03-31 07:42:30 +02:00
//pref("signon.rememberSignons", false);
2024-02-24 15:55:00 +01:00
pref("signon.autofillForms", false);
pref("extensions.formautofill.addresses.enabled", false);
pref("extensions.formautofill.creditCards.enabled", false);
pref("signon.formlessCapture.enabled", false);
2024-02-19 09:16:19 +01:00
/** [SECTION] CONTAINERS
* enable containers and show the settings to control them in the stock ui
*/
2024-02-24 15:55:00 +01:00
pref("privacy.userContext.enabled", true);
pref("privacy.userContext.ui.enabled", true);
2024-02-19 09:16:19 +01:00
/** [SECTION] DEVTOOLS
* disable remote debugging.
*/
pref("devtools.debugger.remote-enabled", false); // default, but subject to branding so keep it
2024-02-24 15:55:00 +01:00
pref("devtools.selfxss.count", 0); // required for devtools console to work
2024-02-19 09:16:19 +01:00
// Aminda has no idea what is that.
/** [SECTION] SHOPPING
* disable the fakespot shopping sidebar
*/
2024-02-24 15:55:00 +01:00
pref("browser.shopping.experience2023.enabled", false);
pref("browser.shopping.experience2023.optedIn", 2);
pref("browser.shopping.experience2023.active", false);
2024-02-19 09:16:19 +01:00
/** [SECTION] OTHERS */
pref("webchannel.allowObject.urlWhitelist", ""); // remove web channel whitelist
2024-02-24 15:55:00 +01:00
pref("services.settings.server", "https://%.invalid") // set the remote settings URL (REMOTE_SETTINGS_SERVER_URL in the code)
2024-02-19 09:16:19 +01:00
/** [SECTION] NEW TAB PAGE
* we want NTP to display nothing but the search bar without anything distracting.
* the three prefs below are just for minimalism and they should be easy to revert for users.
*/
2024-02-24 15:55:00 +01:00
pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false);
pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false);
pref("browser.newtabpage.activity-stream.feeds.topsites", false);
2024-02-19 09:16:19 +01:00
// hide stories and sponsored content from Firefox Home
2024-02-24 16:04:34 +01:00
pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
pref("browser.newtabpage.activity-stream.showSponsored", false);
pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
2024-02-19 09:16:19 +01:00
// disable telemetry in Firefox Home
2024-02-24 16:04:34 +01:00
pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
pref("browser.newtabpage.activity-stream.telemetry", false);
2024-02-19 09:16:19 +01:00
// hide stories UI in about:preferences#home, empty highlights list
2024-02-24 16:04:34 +01:00
pref("browser.newtabpage.activity-stream.feeds.section.topstories.options", "{\"hidden\":true}");
pref("browser.newtabpage.activity-stream.default.sites", "");
2024-02-19 09:16:19 +01:00
/** [SECTION] ABOUT
* remove annoying ui elements from the about pages, including about:protections
*/
2024-02-24 15:55:00 +01:00
pref("browser.contentblocking.report.lockwise.enabled", false);
2024-02-24 16:04:34 +01:00
pref("browser.contentblocking.report.hide_vpn_banner", true);
pref("browser.contentblocking.report.vpn.enabled", false);
pref("browser.contentblocking.report.show_mobile_app", false);
pref("browser.vpn_promo.enabled", false);
pref("browser.promo.focus.enabled", false);
2024-02-19 09:16:19 +01:00
// ...about:addons recommendations sections and more
2024-02-24 15:55:00 +01:00
pref("extensions.htmlaboutaddons.recommendations.enabled", false);
pref("extensions.getAddons.showPane", false);
pref("lightweightThemes.getMoreURL", ""); // disable button to get more themes
2024-02-19 09:16:19 +01:00
// ...about:preferences#home
2024-02-24 15:55:00 +01:00
pref("browser.topsites.useRemoteSetting", false); // hide sponsored shortcuts button
2024-02-19 09:16:19 +01:00
// ...and about:config
2024-02-24 15:55:00 +01:00
pref("browser.aboutConfig.showWarning", false);
2024-02-19 09:16:19 +01:00
// hide about:preferences#moreFromMozilla
2024-02-24 15:55:00 +01:00
pref("browser.preferences.moreFromMozilla", false);
2024-02-19 09:16:19 +01:00
/** [SECTION] RECOMMENDED
* disable all "recommend as you browse" activity.
*/
2024-02-24 16:04:34 +01:00
pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
2024-02-19 09:16:19 +01:00
// Maybe Windows specific, but looks useful.
2024-02-24 15:55:00 +01:00
pref("network.protocol-handler.external.ms-windows-store", false); // prevent links from launching windows store
2024-02-24 16:04:34 +01:00
pref("security.family_safety.mode", 2); // Remove pre-Win10-specific codepath
2024-02-19 09:16:19 +01:00
2024-02-14 10:57:47 +01:00
// vim: filetype = javascript