1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 15:40:48 +05:30

Compare commits

...

30 Commits

Author SHA1 Message Date
HJ c8460d12c3 enable Cookie Banner handling (#182) 2023-07-05 13:25:24 -04:00
HJ d0a02dfd40 Pesky 115 (#181)
* enable Cookie Banner handling
2023-07-05 13:23:52 -04:00
HJ 4d6a26df1e secure 114-115 (#178)
* note on DNSSEC

* disable Quarantined Domains
2023-07-05 13:21:21 -04:00
HJ cb70c90a86 FF relay 2023-07-05 13:14:52 -04:00
HJ 3063946a11 overrides 114 (#177)
* PiP in address bar

* add downloads

* revert adding downloads
Clearing downloads doesn't work unless `history` is also enabled.
`privacy.clearOnShutdown.downloads`
2023-07-05 08:25:49 -04:00
Hal 68c1d0cefc enabled with strict (#176)
privacy.trackingprotection.emailtracking.enabled is now enabled with ETP Strict
2023-06-06 22:14:42 -04:00
Hal e5ef7c4d67 SecureFox 113 (#172)
* add early hints

* FingerPrint Protection (FPP)

* add network.trr.display_fallback_warning

* add browser.contentblocking.features.strict

* add privacy.query_stripping.enabled.pbmode

* clarify not needing DNSSEC
2023-06-06 13:36:36 -04:00
Hal 7b3d41d91c Fastfox 113b (#171)
* add early hints

* slow upload speed bug fixed 
https://bugzilla.mozilla.org/show_bug.cgi?id=1596576
2023-06-06 13:34:30 -04:00
Hal 2585a4f0b1 overrides 113 (#173)
* early hints

* remove some experimental

* remove network.trr.disable-ECS
2023-06-06 13:33:50 -04:00
Hal bb6aff749b Pesky 113 (#170)
* browser.vpn_promo.enabled
#169

* Firefox Translations: NIGHTLY only
2023-06-06 13:32:25 -04:00
Hal 7bbfc98519 remove translations 2023-05-28 11:44:59 -04:00
H a38dd005b5 Update user-overrides.js 2023-05-22 22:53:49 -04:00
H 76aa03e5af small fix 2023-05-17 09:12:09 -04:00
H 0ba9adc9c0 Update README.md 2023-05-16 22:31:56 -04:00
H f6eadee5d9 Fastfox 113 (#168)
* about:home cache is now default: https://blog.nightly.mozilla.org/2023/05/05/short-but-sweet-these-weeks-in-firefox-issue-137/

* NVIDIA RTX Video Super Resolution
* add bugzilla ref
2023-05-16 12:39:30 -04:00
H ecbeda5a2f add article mentions 2023-05-05 12:41:09 -04:00
H 98c118481f add comment 2023-04-24 12:46:10 -04:00
H 1741667a66 v.112 (#160)
* remove layout.forms.reveal-password-context-menu
default v.112

* #164
Completely disable "website is now full screen" message

* preventing window changes sometimes breaks things
remove user_pref("browser.link.open_newwindow.restriction", 0);
remove user_pref("dom.disable_window_move_resize", true);
2023-04-16 16:09:29 -04:00
H d1211e5b5c Pesky 112 (#165)
* #164
Completely disable "website is now full screen" message

* check if default browser
This must have been accidentally deleted in the past?

* optional hardening: restricting window behavior

* add reference
2023-04-16 13:15:45 -04:00
H ac7b5b0fba Secure 112 (#159)
* reveal password default FF112

* version #

* add note to default-browser-agent.enabled
2023-04-16 13:14:47 -04:00
H 014fe99cf2 small updates to readme (#149) 2023-03-23 21:46:29 -04:00
H 6c03671285 Fastfox 111 (#161)
* increase http.max-connections
* increase network.http.max-persistent-connections-per-server
* add content.switch.threshold and browser.cache.disk.metadata_memory_limit
2023-03-23 20:36:02 -04:00
H 01e50884d0 overrides 111 (#156)
* overrides 111

* media.videocontrols.picture-in-picture.improved-video-controls.enabled default in v. 112

* remove GPC

* remove upcoming defaults
2023-03-23 20:33:09 -04:00
H e099257937 Secure 111 (#155)
* enable GPC

* samesite note
2023-03-23 20:29:39 -04:00
H 85d41a05b6 v.111 (#154)
* enable GPC

* add network.http.max-connections
2023-03-23 20:28:20 -04:00
Soul Spark 4527a9cf19 Replace Dead link (#163)
Replace the dead link for the `Threat Model` hyperlink
2023-03-21 12:10:07 -04:00
H 56f56f7d1b add video 2023-03-09 10:13:11 -05:00
iam-py-test 7db312b830 open web link (#157) 2023-03-03 10:56:37 -05:00
yokoffing 0a49cceca4 add user comment 2023-03-01 15:03:50 -05:00
yokoffing 419096e029 add Articles section 2023-02-26 15:23:04 -05:00
6 changed files with 178 additions and 122 deletions
+27 -21
View File
@@ -3,7 +3,7 @@
* Fastfox *
* "Non ducor duco" *
* priority: speedy browsing *
* version: 110 *
* version: 113b *
* url: https://github.com/yokoffing/Betterfox *
***************************************************************************************/
@@ -41,18 +41,22 @@ user_pref("nglayout.initialpaint.delay_in_oopif", 0); // default=5
// every 0.12 seconds by default. These redraws increase the total page load time.
// The default value provides good incremental display of content
// without causing an increase in page load time.
// [NOTE] Lowering the interval will decrease the PERCEIVED page load time (user experience?)
// but increase the TOTAL loading time (benchmarks?).
// [NOTE] Slower connections will want lower value (100000).
// Page load does not change dramatically for faster connections,
// so you may favor a smoother page load (360000).
// [NOTE] Lowering the interval will increase responsiveness
// but also increase the total load time.
// [WARNING] If this value is set below 1/10 of a second, it starts
// to impact page load performance.
// [EXAMPLE] 100000 = .10s = 100 reflows/second
// [1] https://searchfox.org/mozilla-central/rev/c1180ea13e73eb985a49b15c0d90e977a1aa919c/modules/libpref/init/StaticPrefList.yaml#1824-1834
// [2] https://dev.opera.com/articles/efficient-javascript/?page=3#reflow
// [3] https://dev.opera.com/articles/efficient-javascript/?page=3#smoothspeed
user_pref("content.notify.interval", 100000); // alt=360000 (.36s)
user_pref("content.notify.interval", 100000); // (.10s); alt=500000 (.50s)
// PREF: frequency switch threshold [HIDDEN]
// Raising the value will make the application more responsive at the expense of page load time.
// [1] http://kb.mozillazine.org/Content.switch.threshold
// [2] https://old.reddit.com/r/firefox/comments/11m2yuh/comment/jbjxp8s/?context=3
//user_pref("content.interrupt.parsing", true); // [HIDDEN]
//user_pref("content.switch.threshold", 1000000); // alt=1500000; default=750000; [HIDDEN]
// PREF: set the minimum interval between session save operations
// Increasing this can help on older machines and some websites, as well as reducing writes
@@ -74,11 +78,6 @@ user_pref("browser.startup.preXulSkeletonUI", false);
* SECTION: EXPERIMENTAL *
****************************************************************************/
// PREF: about:home startup cache [NIGHTLY]
// A cache for the initial about:home document that is loaded by default at startup
// The purpose of the cache is to improve startup performance
//user_pref("browser.startup.homepage.abouthome_cache.enabled", true);
// PREF: CSS Masonry Layout [NIGHTLY]
// [1] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Masonry_Layout
user_pref("layout.css.grid-template-masonry-value.enabled", true);
@@ -127,6 +126,7 @@ user_pref("dom.enable_web_task_scheduling", true);
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1795452
//user_pref("javascript.options.experimental.array_grouping", true);
//user_pref("javascript.options.experimental.enable_change_array_by_copy", true);
//user_pref("javascript.options.experimental.enable_array_from_async", true);
// PREF: indexedDB
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1112702
@@ -146,6 +146,12 @@ user_pref("dom.enable_web_task_scheduling", true);
// [1] https://codecalamity.com/animated-avif-is-finally-coming-to-firefox/
//user_pref("image.avif.sequence.enabled", true);
// PREF: NVIDIA RTX Video Super Resolution for video overlay [WINDOWS]
// This is also a setting in NVIDIA's driver settings, so once this is
// stable, it should default to true.
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1823135
//user_pref("gfx.webrender.super-resolution.nvidia", true);
/****************************************************************************
* SECTION: MAKE FIREFOX FAST *
* [NOTE] The following is not recommended for low-end machines *
@@ -221,11 +227,12 @@ user_pref("media.cache_resume_threshold", 6000); // default=30; when a network c
// More efficient to keep the browser cache instead of
// having to re-download objects for the websites you visit frequently
//user_pref("browser.cache.disk.enable", true); // DEFAULT; overrides Securefox
//user_pref("browser.cache.disk.capacity", 8192000); // 8 GB cache on disk
//user_pref("browser.cache.disk.capacity", 1048576); // 1 GB disk cache; 8192000 = 8 GB
//user_pref("browser.cache.disk.smart_size.enabled", false); // disable adaptive cache size on disk
//user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT
//user_pref("browser.cache.disk.metadata_memory_limit", 1024); // increase the memory capacity in Firefox, in order to load more pages, faster
//user_pref("browser.cache.max_shutdown_io_lag", 8); // number of seconds the cache spends writing pending data and closing files after shutdown has been signalled
//user_pref("browser.cache.frecency_half_life_hours", 6); // DEFAULT; lower cache sweep intervals, the half life used to re-compute cache entries frequency (in hours)
//user_pref("browser.cache.frecency_half_life_hours", 6); // DEFAULT; sweep intervals, the half life used to re-compute cache entries frequency (in hours)
// PREF: increase memory cache size
// [1] https://www.makeuseof.com/tag/how-much-data-does-youtube-use/
@@ -245,8 +252,9 @@ user_pref("network.buffer.cache.count", 128); // preferred=240; default=24
// PREF: increase the absolute number of HTTP connections
// [1] https://kb.mozillazine.org/Network.http.max-connections
// [2] https://kb.mozillazine.org/Network.http.max-persistent-connections-per-server
//user_pref("network.http.max-connections", 1800); // default=900
//user_pref("network.http.max-persistent-connections-per-server", 9); // default=6; download connections; anything above 10 is excessive
// [3] https://old.reddit.com/r/firefox/comments/11m2yuh/how_do_i_make_firefox_use_more_of_my_900_megabit/jbfmru6/
user_pref("network.http.max-connections", 1800); // default=900
user_pref("network.http.max-persistent-connections-per-server", 10); // default=6; download connections; anything above 10 is excessive
//user_pref("network.http.max-persistent-connections-per-proxy", 48); // default=32
//user_pref("network.http.max-urgent-start-excessive-connections-per-host", 6); // default=3
//user_pref("network.http.pacing.requests.min-parallelism", 18); // default=6
@@ -260,11 +268,6 @@ user_pref("network.buffer.cache.count", 128); // preferred=240; default=24
// PREF: increase TLS token caching
user_pref("network.ssl_tokens_cache_capacity", 32768); // default=2048; more TLS token caching (fast reconnects)
// PREF: temporary fix for upload speed bug in Firefox
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1596576
//user_pref("network.http.http2.send-buffer-size", 33554432);
//user_pref("network.http.http2.push-allowance", 33554432);
/****************************************************************************
* SECTION: SPECULATIVE CONNECTIONS *
****************************************************************************/
@@ -283,6 +286,9 @@ user_pref("network.ssl_tokens_cache_capacity", 32768); // default=2048; more TLS
//user_pref("network.http.speculative-parallel-limit", 18); // default=6; overrides SecureFox
//user_pref("network.dns.disablePrefetch", false); // overrides SecureFox
//user_pref("network.dns.disablePrefetchFromHTTPS", false);
//user_pref("network.early-hints.enabled", true);
//user_pref("network.early-hints.preconnect.enabled", true);
//user_pref("network.early-hints.preconnect.max_connections", 20); // FF113
//user_pref("browser.urlbar.speculativeConnect.enabled", true); // overrides SecureFox
//user_pref("browser.places.speculativeConnect.enabled", true); // overrides SecureFox
//user_pref("network.prefetch-next", true); // overrides SecureFox
+39 -26
View File
@@ -3,7 +3,7 @@
* Peskyfox *
* "Aquila non capit muscas" *
* priority: remove annoyances *
* version: 110 *
* version: 115 *
* url: https://github.com/yokoffing/Betterfox *
***************************************************************************/
@@ -28,12 +28,18 @@ user_pref("app.update.suppressPrompts", true);
user_pref("browser.compactmode.show", true);
// PREF: Mozilla VPN
// [1] https://github.com/yokoffing/Betterfox/issues/169
user_pref("browser.privatebrowsing.vpnpromourl", "");
//user_pref("browser.vpn_promo.enabled", false);
// PREF: disable about:addons' Recommendations pane (uses Google Analytics)
user_pref("extensions.getAddons.showPane", false); // HIDDEN
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
// PREF: disable Firefox from asking to set as the default browser
// [1] https://github.com/yokoffing/Betterfox/issues/166
user_pref("browser.shell.checkDefaultBrowser", false);
// PREF: disable Extension Recommendations (CFR: "Contextual Feature Recommender")
// [1] https://support.mozilla.org/en-US/kb/extension-recommendations
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
@@ -57,7 +63,7 @@ user_pref("browser.tabs.tabmanager.enabled", false);
// PREF: disable fullscreen delay and notice
user_pref("full-screen-api.transition-duration.enter", "0 0");
user_pref("full-screen-api.transition-duration.leave", "0 0");
user_pref("full-screen-api.warning.delay", 0);
user_pref("full-screen-api.warning.delay", -1);
user_pref("full-screen-api.warning.timeout", 0);
// PREF: disable welcome notices
@@ -93,26 +99,12 @@ user_pref("browser.privatebrowsing.enable-new-indicator", false);
// PREF: disable always using dark theme for private browsing windows [FF106+]
//user_pref("browser.theme.dark-private-windows", false);
// PREF: Cookie Banner handling [NIGHTLY]
// [NOTE] Feature still enforces Total Cookie Protection to limit 3rd-party cookie tracking [1]
// [1] https://github.com/mozilla/cookie-banner-rules-list/issues/33#issuecomment-1318460084
// [2] https://phabricator.services.mozilla.com/D153642
// [3] https://winaero.com/make-firefox-automatically-click-on-reject-all-in-cookie-banner-consent/
// [4] https://docs.google.com/spreadsheets/d/1Nb4gVlGadyxix4i4FBDnOeT_eJp2Zcv69o-KfHtK-aA/edit#gid=0
// 2: reject banners if it is a one-click option; otherwise, fall back to the accept button to remove banner
// 1: reject banners if it is a one-click option; otherwise, keep banners on screen
// 0: disable all cookie banner handling
//user_pref("cookiebanners.service.mode", 2);
//user_pref("cookiebanners.service.mode.privateBrowsing", 2);
//user_pref("cookiebanners.bannerClicking.enabled", true); // DEFAULT [FF108]
//user_pref("cookiebanners.cookieInjector.enabled", true); // DEFAULT
// PREF: enable global CookieBannerRules
// This is used for click rules that can handle common Consent Management Providers (CMP)
// [WARNING] Enabling this (when the cookie handling feature is enabled) may
// negatively impact site performance since it requires us to run rule-defined
// query selectors for every page
//user_pref("cookiebanners.service.enableGlobalRules", enable);
// PREF: Firefox Translations [NIGHTLY ONLY]
// Visit about:translations to translate your own text as well
// [1] https://blog.nightly.mozilla.org/2023/06/01/firefox-translations-and-other-innovations-these-weeks-in-firefox-issue-139/
//user_pref("browser.translations.enable", true); // DEFAULT
//user_pref("browser.translations.autoTranslate", true);
//user_pref("browser.translations.alwaysTranslateLanguages", "");
/****************************************************************************
* SECTION: FONT APPEARANCE *
@@ -174,8 +166,8 @@ user_pref("browser.urlbar.unitConversion.enabled", true);
// default=10, disable=0
//user_pref("browser.urlbar.maxRichResults", 1);
// PREF: show search query in URL bar instead of URL upon navigation
//user_pref("browser.urlbar.showSearchTerms.enabled", true); // DEFAULT
// PREF: do not show search terms in address bar instead of the URL [FF113+]
//user_pref("browser.urlbar.showSearchTerms.enabled", false);
/****************************************************************************
* SECTION: AUTOPLAY *
@@ -338,7 +330,7 @@ user_pref("browser.download.open_pdf_attachments_inline", true);
// 0 = force all new windows opened by JavaScript into tabs
// [NOTE] Most advertising popups also open in new windows with values set
// [1] https://kb.mozillazine.org/About:config_entries
user_pref("browser.link.open_newwindow.restriction", 0);
//user_pref("browser.link.open_newwindow.restriction", 0);
// PREF: override <browser.link.open_newwindow> for external links
// Set if a different destination for external links is needed
@@ -376,7 +368,7 @@ user_pref("browser.tabs.loadBookmarksInTabs", true);
user_pref("browser.bookmarks.openInTabClosesMenu", false);
// PREF: Prevent scripts from moving and resizing open windows
user_pref("dom.disable_window_move_resize", true);
//user_pref("dom.disable_window_move_resize", true);
// PREF: insert new tabs after groups like it
// true(default) = open new tabs to the right of the parent tab
@@ -407,6 +399,27 @@ user_pref("dom.disable_window_move_resize", true);
//user_pref("dom.disable_open_during_load", true); // DEFAULT
//user_pref("privacy.popups.showBrowserMessage", true); // DEFAULT
// PREF: Cookie Banner handling [NIGHTLY]
// [NOTE] Feature still enforces Total Cookie Protection to limit 3rd-party cookie tracking [1]
// [1] https://github.com/mozilla/cookie-banner-rules-list/issues/33#issuecomment-1318460084
// [2] https://phabricator.services.mozilla.com/D153642
// [3] https://winaero.com/make-firefox-automatically-click-on-reject-all-in-cookie-banner-consent/
// [4] https://docs.google.com/spreadsheets/d/1Nb4gVlGadyxix4i4FBDnOeT_eJp2Zcv69o-KfHtK-aA/edit#gid=0
// 2: reject banners if it is a one-click option; otherwise, fall back to the accept button to remove banner
// 1: reject banners if it is a one-click option; otherwise, keep banners on screen
// 0: disable all cookie banner handling
user_pref("cookiebanners.service.mode", 2);
user_pref("cookiebanners.service.mode.privateBrowsing", 2);
//user_pref("cookiebanners.bannerClicking.enabled", true); // DEFAULT [FF108]
//user_pref("cookiebanners.cookieInjector.enabled", true); // DEFAULT
// PREF: enable global CookieBannerRules
// This is used for click rules that can handle common Consent Management Providers (CMP)
// [WARNING] Enabling this (when the cookie handling feature is enabled) may
// negatively impact site performance since it requires us to run rule-defined
// query selectors for every page
//user_pref("cookiebanners.service.enableGlobalRules", enable);
/****************************************************************************
* SECTION: UNCATEGORIZED *
****************************************************************************/
+24 -23
View File
@@ -1,6 +1,5 @@
![GitHub Maintained](https://img.shields.io/badge/open%20source-yes-orange)
![GitHub Maintained](https://img.shields.io/badge/maintained-yes-yellow)
[![GitHub closed issues](https://badgen.net/github/closed-issues/yokoffing/Betterfox?color=purple)](https://github.com/yokoffing/Betterfox/issues?q=is%3Aissue+is%3Aclosed)
[![Visitors](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fyokoffing%2FBetter-Fox&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=visitors&edge_flat=false)](https://hits.seeyoufarm.com)
# Betterfox
@@ -22,7 +21,7 @@ about:config tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/f
| List | Description |
|:---------:|-------------|
| [Fastfox](https://github.com/yokoffing/Betterfox/blob/master/Fastfox.js) | Immensely increase Firefox's browsing speed. Give Chrome a run for its money!|
| [Securefox](https://github.com/yokoffing/Betterfox/blob/master/Securefox.js) | Telemetry blocked. [HTTPS-only](https://blog.mozilla.org/security/2020/11/17/firefox-83-introduces-https-only-mode/) connections. [Total Cookie Protection](https://blog.mozilla.org/security/2021/02/23/total-cookie-protection/) with [site isolation](https://blog.mozilla.org/security/2021/05/18/introducing-site-isolation-in-firefox/). Enhanced [state](https://developer.mozilla.org/en-US/docs/Web/Privacy/State_Partitioning) and [network](https://blog.mozilla.org/security/2021/01/26/supercookie-protections/) partitioning. Various other enhancements. |
| [Securefox](https://github.com/yokoffing/Betterfox/blob/master/Securefox.js) | Telemetry blocked. [HTTPS-by-Default](https://blog.mozilla.org/security/2021/08/10/firefox-91-introduces-https-by-default-in-private-browsing/). [Total Cookie Protection](https://blog.mozilla.org/security/2021/02/23/total-cookie-protection/) with [site isolation](https://blog.mozilla.org/security/2021/05/18/introducing-site-isolation-in-firefox/). Enhanced [state](https://developer.mozilla.org/en-US/docs/Web/Privacy/State_Partitioning) and [network](https://blog.mozilla.org/security/2021/01/26/supercookie-protections/) partitioning. Various other enhancements. |
| [Peskyfox](https://github.com/yokoffing/Betterfox/blob/master/Peskyfox.js) | Unclutter the new tab page. Remove [Pocket](https://support.mozilla.org/en-US/kb/what-pocket). Restore [compact mode](https://support.mozilla.org/en-US/kb/compact-mode-workaround-firefox) as an option. Stop webpage notifications, pop-ups, and other annoyances. |
| [Smoothfox](https://github.com/yokoffing/Betterfox/blob/master/Smoothfox.js) | Get Edge-like smooth scrolling on your favorite browser — or choose something more your style. |
| [user.js](https://github.com/yokoffing/Betterfox/blob/master/user.js) | All the essentials. None of the breakage. This is your `user.js`. |
@@ -32,7 +31,7 @@ about:config tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/f
## about:Privacy
Most repos have niche privacy and security concerns with little regard for speed, annoyances, or mainstream use. Betterfox was inspired by the [law of diminishing returns](https://pmctraining.com/site/wp-content/uploads/2018/04/Law-of-Diminishing-Returns-CHART.png) and the [minimum effective dose](https://medium.com/the-mission/less-is-more-the-minimum-effective-dose-e6d56625931e). For instance, features like WebGL and DRM are still enabled, and you won't find a setting like `privacy.resistFingerprinting` mentioned here<sup>^[*why?*](https://old.reddit.com/r/firefox/comments/wuqpgi/are_there_any_aboutconfig_tweaks_to_get_smooth/ile3whx/?context=3)</sup>. And while Betterfox is designed to set-and-forget, it contains plenty of options for those who like to tinker.
If your context calls for _anonymity_ and not just reasonable _privacy_, then please use [Tor Browser](https://www.torproject.org).<sup>[1](https://youtu.be/5NrbdO4yWek?t=4334)</sup> [Fingerprinting](https://smartframe.io/blog/browser-fingerprinting-everything-you-need-to-know/) is a high [threat model](https://thenewoil.org/threatmodel.html) issue that is [only addressed reasonably by Tor](https://github.com/arkenfox/user.js/wiki/3.3-Overrides-%5BTo-RFP-or-Not%5D).
If your context calls for _anonymity_ and not just reasonable _privacy_, then please use [Tor Browser](https://www.torproject.org).<sup>[1](https://youtu.be/5NrbdO4yWek?t=4334)</sup> [Fingerprinting](https://smartframe.io/blog/browser-fingerprinting-everything-you-need-to-know/) is a high [threat model](https://thenewoil.org/en/guides/prologue/threatmodel/) issue that is [only addressed reasonably by Tor](https://github.com/arkenfox/user.js/wiki/3.3-Overrides-%5BTo-RFP-or-Not%5D).
## Assumptions
Apply preferences from the [common overrides](https://github.com/yokoffing/Betterfox/issues/87) sticky if you want to revert the following behavior:
@@ -43,24 +42,34 @@ Apply preferences from the [common overrides](https://github.com/yokoffing/Bette
* **Location requests** are rejected and **site notifications** are disabled.
### Suggestions
1) Enable **sanitize on close** ([clear browsing data on shutdown](https://github.com/yokoffing/Betterfox/blob/99f2e860633f307781ddb73d792358ad1bec6af5/Securefox.js#L409-L434)).
* You can **allow exceptions** if you want to stay logged in to some sites in *Settings → Privacy & Security → Cookies and Site Data → Manage Exceptions*.
* Check *Delete cookies and site data when Firefox is closed*.
2) Use [uBlock Origin](https://addons.mozilla.org/blog/ublock-origin-everything-you-need-to-know-about-the-ad-blocker/) or [Ghostery](https://addons.mozilla.org/en-US/firefox/addon/ghostery/) to block ads and trackers.
3) Add DNS-level protection like [NextDNS](https://nextdns.io/?from=xujj63g5). Check out our configuration guide [here](https://github.com/yokoffing/NextDNS-Config).
* Enable **sanitize on close** ([clear browsing data on shutdown](https://github.com/yokoffing/Betterfox/blob/99f2e860633f307781ddb73d792358ad1bec6af5/Securefox.js#L409-L434)).
* You can **allow exceptions** if you want to stay logged in to some sites:
1) Go to *Settings → Privacy & Security → Cookies and Site Data → Manage Exceptions*
2) Check *Delete cookies and site data when Firefox is closed*.
* Use [uBlock Origin](https://addons.mozilla.org/blog/ublock-origin-everything-you-need-to-know-about-the-ad-blocker/) or [Ghostery](https://addons.mozilla.org/en-US/firefox/addon/ghostery/) to block ads and trackers.
* Add DNS-level protection like [NextDNS](https://nextdns.io/?from=xujj63g5). Check out our configuration guide [here](https://github.com/yokoffing/NextDNS-Config).
## Recognition
### User Comments
- [1](https://old.reddit.com/r/firefox/comments/xsw0zt/comment/iqo0dbv/?context=3)
[2](https://old.reddit.com/r/browsers/comments/y7w57n/which_browser_do_you_use_on_your_devices/it30hqi/?context=3)
[3](https://www.troddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy0kru3)
[4](https://www.troddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz)
[3](https://old.reddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy0kru3)
[4](https://old.reddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz)
[5](https://old.reddit.com/r/firefox/comments/1030fri/why_does_firefox_feel_slowchoppy/j2wu4ow/)
[6](https://old.reddit.com/r/pcmasterrace/comments/zwioe1/what_browser_will_you_be_using_in_2023_please/j1wmbxo/)
[7](https://old.reddit.com/r/firefox/comments/zodxzx/performance_optimizations_for_firefox/j0memta/?context=2)
[8](https://old.reddit.com/r/browsers/comments/106qwyk/in_contrast_to_previous_post_what_do_you_like/j3irpx0/?context=2)
[9](https://old.reddit.com/r/firefox/comments/115va7d/list_of_aboutconfiguserjs_privacy_tweaks/j9700bc/?context=2)
[10](https://old.reddit.com/r/browsers/comments/11q6je7/is_block_or_snoof_browser_fingerprint_better/jc2mhcx/?context=2)
### Browser Integration
* [Pulse Browser](https://github.com/pulse-browser/browser#%EF%B8%8F-credits) | [files](https://github.com/pulse-browser/browser/tree/alpha/src/browser/app/profile) (Dec 2021)
* [Ghostery Private Browser](https://github.com/ghostery/user-agent-desktop#community) | [files](https://github.com/ghostery/user-agent-desktop/tree/main/brands/ghostery/branding/pref) (Feb 2021)
* [Betterfox adopted into Ghostery Private Browser](https://web.archive.org/web/20210509171835/https://www.ghostery.com/ghostery-dawn-update-more/)<sup>[1](https://web.archive.org/web/20210921114333/https://www.ghostery.com/ghostery-dawn-product-update/)</sup>
### YouTube
* [Firefox is NOT private. Here's how to fix it.](https://youtu.be/Fr8UFJzpNls) (Mar 2023)
* [The ULTIMATE Browser Tier List (Based Tier to Spyware Tier)](https://youtu.be/j5r6jFE8gic) (Mar 2023)
* [I Hate Firefox. But I'm Still Switching Back to It.](https://youtu.be/w0SJFED5xK0?t=220) (Nov 2022)
* [Español] [Optimizar y Acelerar Firefox](https://www.youtube.com/watch?v=3XtoONmq5_Q) (Nov 2022)
* [How To Improve Firefox Performance](https://www.youtube.com/watch?v=N8IOJiOFVEk) (Dec 2021)
@@ -68,10 +77,9 @@ Apply preferences from the [common overrides](https://github.com/yokoffing/Bette
### Podcasts
* [GhoSTORIES with Franz & Pete](https://anchor.fm/ghostories/episodes/S2E6-We-Talking-Ghostery-Dawn----Again-er0q02/a-a4o5vmh), S2|E6, 17:05-18:40 (Feb 2021)
### Browser Integration
* [Pulse Browser](https://github.com/pulse-browser/browser#%EF%B8%8F-credits) | [files](https://github.com/pulse-browser/browser/tree/alpha/src/browser/app/profile) (Dec 2021)
* [Ghostery Dawn](https://github.com/ghostery/user-agent-desktop#community) | [files](https://github.com/ghostery/user-agent-desktop/tree/main/brands/ghostery/branding/pref) (Feb 2021)
* [Betterfox adopted into Ghostery Dawn](https://web.archive.org/web/20210509171835/https://www.ghostery.com/ghostery-dawn-update-more/)<sup>[1](https://web.archive.org/web/20210921114333/https://www.ghostery.com/ghostery-dawn-product-update/)</sup>
### Articles
* [Russian] [The Pulse Browser project develops an experimental fork of Firefox](https://www.opennet.ru/opennews/art.shtml?num=59076) (May 2023)
* [2023 Browser Showdown: Comparing Chrome, Brave, Firefox, Vivaldi, and Opera Is it Worth the Switch?](https://www.appdate.lk/technology/2023-browser-showdown/) (Jan 2023)
### Guides
* [FMHY Browser Tools: Privacy Hardened Firefox](https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/storage/#wiki_privacy_hardened_firefox)
@@ -80,21 +88,14 @@ Apply preferences from the [common overrides](https://github.com/yokoffing/Bette
* [pyllyukko/user.js](https://github.com/pyllyukko/user.js) [comparator](https://jm42.github.io/compare-user.js/)
### Contributions
* [Ghostery desktop browser](https://github.com/ghostery/user-agent-desktop/issues?q=is%3Apr+is%3Aissue+author%3Ayokoffing+)
* [Ghostery Private Browser](https://github.com/ghostery/user-agent-desktop/issues?q=is%3Apr+is%3Aissue+author%3Ayokoffing+)
* [Orion Browser](https://orionfeedback.org/?author=yokoffing)
* [Kagi Search Engine](https://kagifeedback.org/?author=yokoffing)
* [Various blocklists](https://github.com/yokoffing/filterlists#contributions)
## Credit
* Many thanks to the [Firefox](https://www.mozilla.org/en-US/firefox/new/) team and to the people working on [Bugzilla](https://bugzilla.mozilla.org/home), fighting for the [open web](https://docs.openwebsandbox.org/learn/ows-articles/what-is-the-open-web).
* Many thanks to the [Firefox](https://www.mozilla.org/en-US/firefox/new/) team and to the people working on [Bugzilla](https://bugzilla.mozilla.org/home), fighting for the [open web](https://builtin.com/software-engineering-perspectives/open-web).
* This repository benefits from the ongoing research provided by [arkenfox](https://github.com/arkenfox/user.js). They are the foundation to any worthwhile `user.js`.
## Support
Im a one-person operation, running this page as a passion project in my time off. If you enjoy my work, please leave a tip! Your support is incredibly appreciated and allows me to dedicate time to this project :blush:
<img align="top" width="25px" src="https://coekuss.com/quietfox/bitcoin.png"> Bitcoin: 334gaiEjn6wY1VksQvYe5L668JjtPEPyiM
<img align="top" width="20px" src="https://coekuss.com/quietfox/paypal.png"> PayPal: [paypal.me](about:blank) (forthcoming)
<div align='center'><a href='https://www.websitecounterfree.com'><img src='https://www.websitecounterfree.com/c.php?d=9&id=19653&s=1' border='0' alt='Free Website Counter'></a><br / >
<div align='center'>since 23 July 2022</div>
+62 -15
View File
@@ -3,7 +3,7 @@
* Securefox *
* "Natura non constristatur" *
* priority: provide sensible security and privacy *
* version: 110 *
* version: 115 *
* url: https://github.com/yokoffing/Betterfox *
****************************************************************************/
@@ -18,7 +18,7 @@
// [NOTE] FF86: "Strict" tracking protection enables dFPI.
// [1] https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop
// [2] https://www.reddit.com/r/firefox/comments/l7xetb/network_priority_for_firefoxs_enhanced_tracking/gle2mqn/?web2x&context=3
//user_pref("privacy.trackingprotection.enabled", true); // DEFAULT
//user_pref("privacy.trackingprotection.enabled", true); // enabled with "Strict"
//user_pref("privacy.trackingprotection.pbmode.enabled", true); // DEFAULT
//user_pref("browser.contentblocking.customBlockList.preferences.ui.enabled", false); // DEFAULT
user_pref("browser.contentblocking.category", "strict");
@@ -26,12 +26,19 @@ user_pref("browser.contentblocking.category", "strict");
//user_pref("privacy.socialtracking.block_cookies.enabled", true); // DEFAULT
//user_pref("privacy.trackingprotection.cryptomining.enabled", true); // DEFAULT
//user_pref("privacy.trackingprotection.fingerprinting.enabled", true); // DEFAULT
user_pref("privacy.trackingprotection.emailtracking.enabled", true);
//user_pref("privacy.trackingprotection.emailtracking.enabled", true); // enabled with "Strict"
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true); // DEFAULT
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.pbmode", true); // DEFAULT
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.pbmode.top_navigation", true); // DEFAULT
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); // enabled with "Strict"
// PREF: relax blocklist for ETP Strict
// Some sites break running ETP Strict
// Using a less aggressive internal blocklist mitigates this breakage
// This is easier than adjusting prefs for ETP Custom
// [NOTE] Sadly, this does not work on NIGHTLY; you must use Custom and adjust prefs individually
//user_pref("browser.contentblocking.features.strict", "tp,tpPrivate,cookieBehavior5,cookieBehaviorPBM5,cm,fp,stp,emailTP,emailTPPrivate,lvl1,lvl1PBM,rp,rpTop,ocsp,qps,qpsPBM");
// PREF: query stripping
// Currently uses a small list [1]
// We set the same query stripping list that Brave and LibreWolf uses [2]
@@ -40,6 +47,7 @@ user_pref("privacy.trackingprotection.emailtracking.enabled", true);
// [2] https://github.com/brave/brave-core/blob/f337a47cf84211807035581a9f609853752a32fb/browser/net/brave_site_hacks_network_delegate_helper.cc
// [3] https://github.com/yokoffing/filterlists#url-tracking-parameters
//user_pref("privacy.query_stripping.enabled", true); // enabled with "Strict"
//user_pref("privacy.query_stripping.enabled.pbmode", true); // enabled with "Strict"
user_pref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oft_c oft_ck oft_d oft_id oft_ids oft_k oft_lk oft_sk oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid");
// PREF: allow embedded tweets, Instagram and Reddit posts, and TikTok embeds
@@ -52,7 +60,7 @@ user_pref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc
user_pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com"); // MANUAL
user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com"); // MANUAL
// PREF: lower the priority of network loads for resources on the tracking protection list
// PREF: lower the priority of network loads for resources on the tracking protection list [NIGHTLY]
// [NOTE] Applicable because we allow for some social embeds
// [1] https://github.com/arkenfox/user.js/issues/102#issuecomment-298413904
//user_pref("privacy.trackingprotection.lower_network_priority", true);
@@ -129,7 +137,7 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
// [2] https://web.dev/samesite-cookies-explained/
//user_pref("network.cookie.sameSite.laxByDefault", true);
//user_pref("network.cookie.sameSite.noneRequiresSecure", true);
//user_pref("network.cookie.sameSite.schemeful", true); // DEFAULT 104+
//user_pref("network.cookie.sameSite.schemeful", true);
// PREF: Hyperlink Auditing (click tracking).
//user_pref("browser.send_pings", false); // DEFAULT
@@ -156,11 +164,16 @@ user_pref("browser.uitour.enabled", false);
// PREF: enable Global Privacy Control (GPC) [NIGHTLY]
// Honored by many highly ranked sites [2]
// [1] https://globalprivacycontrol.org/
// [TEST] https://global-privacy-control.glitch.me/
// [1] https://globalprivacycontrol.org/press-release/20201007.html
// [2] https://github.com/arkenfox/user.js/issues/1542#issuecomment-1279823954
// [3] https://blog.mozilla.org/netpolicy/2021/10/28/implementing-global-privacy-control/
//user_pref("privacy.globalprivacycontrol.enabled", true);
//user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
// [4] https://help.duckduckgo.com/duckduckgo-help-pages/privacy/gpc/
// [5] https://brave.com/web-standards-at-brave/4-global-privacy-control/
// [6] https://www.eff.org/gpc-privacy-badger
// [7] https://www.eff.org/issues/do-not-track
user_pref("privacy.globalprivacycontrol.enabled", true);
user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
/****************************************************************************
* SECTION: OSCP & CERTS / HPKP (HTTP Public Key Pinning) *
@@ -289,6 +302,18 @@ user_pref("security.tls.enable_0rtt_data", false); // disable 0 RTT to improve t
//user_pref("layout.css.font-visibility.private", 1); // Private Browsing windows
//user_pref("layout.css.font-visibility.standard", 1); // Normal Browsing windows with tracking protection disabled(?)
/****************************************************************************
* SECTION: FINGERPRINT PROTECTION (RFP) *
****************************************************************************/
// PREF: enable FingerPrint Protection (FPP) [WiP]
// Mozilla is slowly rolling out FPP in PB windows
// [1] https://github.com/arkenfox/user.js/issues/1661
// [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1816064
//user_pref("privacy.resistFingerprinting.randomization.enabled", true); // to be removed soon
//user_pref("privacy.resistFingerprinting.randomization.daily_reset.enabled", true);
//user_pref("privacy.resistFingerprinting.randomization.daily_reset.private.enabled", true);
/****************************************************************************
* SECTION: RESIST FINGERPRINTING (RFP) *
****************************************************************************/
@@ -326,7 +351,7 @@ user_pref("security.tls.enable_0rtt_data", false); // disable 0 RTT to improve t
//user_pref("widget.non-native-theme.enabled", true); // DEFAULT
/****************************************************************************
* SECTION: DISK AVOIDANCE *
* SECTION: DISK AVOIDANCE *
****************************************************************************/
// PREF: disable disk cache
@@ -417,7 +442,9 @@ user_pref("privacy.history.custom", true);
// Uncomment individual prefs to disable clearing on shutdown:
// [NOTE] If "history" is true, downloads will also be cleared
// [NOTE] Even if "downloads" pref is enabled, downloads won't be cleared unless "history" is set to true!
//user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT]
//user_pref("privacy.clearOnShutdown.downloads", true);
//user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT]
//user_pref("privacy.clearOnShutdown.sessions", true); // [DEFAULT]
//user_pref("privacy.clearOnShutdown.offlineApps", true);
@@ -498,6 +525,12 @@ user_pref("network.dns.disablePrefetch", true);
// [9] https://web.dev/preload-critical-assets/
//user_pref("network.preload", true); // DEFAULT
// PREF: early hints
// [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103
//user_pref("network.early-hints.enabled", false); // DEFAULT
//user_pref("network.early-hints.preconnect.enabled", false); // DEFAULT
//user_pref("network.early-hints.preconnect.max_connections", 0); // DEFAULT
// PREF: Link prefetching <link rel="prefetch">
// Firefox will prefetch certain links if any of the websites you are viewing uses the special prefetch-link tag.
// A directive that tells a browser to fetch a resource that will likely be needed for the next navigation.
@@ -632,7 +665,6 @@ user_pref("network.IDN_show_punycode", true);
// [3] https://github.com/brave/adblock-lists/blob/master/brave-lists/https-upgrade-exceptions-list.txt
// [4] https://web.dev/why-https-matters/
// [5] https://www.cloudflare.com/learning/ssl/why-use-https/
user_pref("dom.security.https_first", true);
//user_pref("dom.security.https_first_pbm", true); // DEFAULT
@@ -686,20 +718,26 @@ user_pref("dom.security.https_first", true);
// [2] https://www.internetsociety.org/blog/2018/12/dns-privacy-support-in-mozilla-firefox/
// 0=off, 2=TRR preferred (with System fallback), 3=TRR only (without System fallback), 5=TRR disabled
//user_pref("network.trr.mode", 3); // enable TRR (without System fallback)
//user_pref("network.trr.display_fallback_warning", false); // DEFAULT
// PREF: DoH resolver
// [1] https://github.com/uBlockOrigin/uBlock-issues/issues/1710
//user_pref("network.trr.uri", "https://xxxx/dns-query");
//user_pref("network.trr.custom_uri", "https://xxxx/dns-query");
// PREF: EDNS Client Subnet DNS extension (ECS support and DNSSEC validation)
// PREF: EDNS Client Subnet DNS extension (DNSSEC validation)
// When set to false, TRR asks the resolver to enable EDNS Client Subnet (ECS).
// [NOTE] Change back to true if you find that some websites don't resolve.
// This is usually due to misconfiguration on the part of the domain owner.
//user_pref("network.trr.disable-ECS", false);
// [WARNING] Some websites won't resolve when enabled, usually due to
// misconfiguration on the part of the domain owner.
// [NOTE] DNSSEC is not needed if youre using DoH, as long as you trust the
// DoH resolver to perform DNSSEC validation correctly. However, if you dont
// trust the DoH resolver, you may still want to use DNSSEC along with DoH [1].
// [1] https://docs.controld.com/docs/disable-dnssec-option
//user_pref("network.trr.disable-ECS", true); // DEFAULT
// PREF: DNS Rebind Protection
// Set to true to allow RFC 1918 private addresses in TRR responses
// [1] https://docs.controld.com/docs/dns-rebind-option
//user_pref("network.trr.allow-rfc1918", false); // DEFAULT
// PREF: Assorted Options
@@ -840,7 +878,7 @@ user_pref("editor.truncate_user_pastes", false);
// PREF: Reveal Password
//user_pref("layout.forms.reveal-password-button.enabled", true); // show icon
user_pref("layout.forms.reveal-password-context-menu.enabled", true); // right-click menu option
//user_pref("layout.forms.reveal-password-context-menu.enabled", true); // right-click menu option; DEFAULT FF112
/****************************************************************************
* SECTION: ADDRESS + CREDIT CARD MANAGER *
@@ -1197,6 +1235,13 @@ user_pref("webchannel.allowObject.urlWhitelist", "");
// [1] https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox#w_what-are-my-options-if-i-want-to-use-an-unsigned-add-on-advanced-users
//user_pref("xpinstall.signatures.required", false);
// PREF: disable Quarantined Domains [FF115+]
// Users may see a notification when running add-ons that are not monitored by Mozilla when they visit certain sites.
// The notification informs them that “some extensions are not allowed” and were blocked from running on that site.
// There's no details as to which sites are affected.
// [1] https://www.ghacks.net/2023/07/04/firefox-115-new-esr-base-and-some-add-ons-may-be-blocked-from-running-on-certain-sites/
//user_pref("extensions.quarantinedDomains.enabled", false);
/******************************************************************************
* SECTION: TELEMETRY *
******************************************************************************/
@@ -1260,6 +1305,8 @@ user_pref("network.captive-portal-service.enabled", false);
user_pref("network.connectivity-service.enabled", false);
// PREF: software that continually reports what default browser you are using
// [WARNING] Breaks "Make Default..." button in Preferences to set Firefox as the default browser [1].
// [1] https://github.com/yokoffing/Betterfox/issues/166
user_pref("default-browser-agent.enabled", false);
// PREF: "report extensions for abuse"
+16 -28
View File
@@ -22,21 +22,22 @@ user_pref("https://dns.controld.com/******"); // DoH - ControlD
/** FASTFOX ***/
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
user_pref("browser.sessionstore.interval", 150000); // 15 min.; set minimum interval between session save operations
user_pref("browser.sessionstore.interval", 50000); // 5 min.; set minimum interval between session save operations
user_pref("gfx.webrender.compositor.force-enabled", true); // enforce
user_pref("layers.gpu-process.force-enabled", true); // enforce
user_pref("media.hardware-video-decoding.force-enabled", true); // enforce
user_pref("media.av1.enabled", false); // disable AV1 to force video hardware decoding
user_pref("network.http.max-connections", 1800); // default=900
user_pref("network.http.max-persistent-connections-per-server", 9); // default=6; download connections; anything above 10 is excessive
user_pref("network.http.pacing.requests.min-parallelism", 18); // default=6
user_pref("network.dnsCacheEntries", 20000); // maximum # of DNS entries
user_pref("network.dnsCacheExpiration", 86400); // keep DNS entries for 24 hours
user_pref("network.dnsCacheExpirationGracePeriod", 240); // 4 minutes
user_pref("network.http.speculative-parallel-limit", 18); // default=6
//user_pref("network.dns.disablePrefetch", false);
//user_pref("network.dns.disablePrefetchFromHTTPS", false);
//user_pref("network.prefetch-next", true);
user_pref("network.dns.disablePrefetch", false);
user_pref("network.dns.disablePrefetchFromHTTPS", false);
user_pref("network.early-hints.enabled", true);
user_pref("network.early-hints.preconnect.enabled", true);
user_pref("network.early-hints.preconnect.max_connections", 20); // default Nightly=10
user_pref("network.prefetch-next", true);
user_pref("network.predictor.enabled", true);
user_pref("network.predictor.enable-prefetch", true);
user_pref("network.predictor.enable-hover-on-ssl", true);
@@ -54,8 +55,9 @@ user_pref("browser.urlbar.groupLabels.enabled", false); // hide Firefox Suggest
//user_pref("signon.rememberSignons", false); // Privacy & Security>Logins and Passwords>Ask to save logins and passwords for websites
user_pref("signon.management.page.breach-alerts.enabled", false); // extra hardening
user_pref("signon.generation.enabled", false); // unselect "Suggest and generate strong passwords" for clean UI
user_pref("signon.firefoxRelay.feature", "unavailable"); // unselect suggestions from Firefox Relay for clean UI
user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear browsing data on shutdown
user_pref("privacy.clearOnShutdown.offlineApps", true); // Site Data
user_pref("privacy.clearOnShutdown.offlineApps", true); // clear Site Data on shutdown
user_pref("browser.safebrowsing.downloads.enabled", false); // deny SB to scan downloads to identify suspicious files; local checks only
user_pref("browser.safebrowsing.downloads.remote.url", ""); // enforce no remote checks for downloads by SB
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); // clean up UI; not needed in user.js if remote downloads are disabled
@@ -65,7 +67,6 @@ user_pref("dom.push.enabled", false); // disable Push API; breaks FF Sync
user_pref("browser.search.update", false); // do not update opensearch engines
user_pref("network.notify.checkForProxies", false); // skip proxy request check
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
user_pref("network.trr.disable-ECS", false); // TRR asks the resolver to enable EDNS Client Subnet (ECS support); set to true if some websites don't resolve
/** PESKYFOX ***/
user_pref("devtools.accessibility.enabled", false); // removes annoying "Inspect Accessibility Properties" on right-click
@@ -92,55 +93,42 @@ user_pref("ui.key.menuAccessKey", 0); // remove underlined characters from vario
user_pref("general.autoScroll", false); // disable unintentional behavior for middle click
user_pref("ui.SpellCheckerUnderlineStyle", 1); // dots for spell check errors
//user_pref("browser.tabs.loadInBackground", false); // CTRL+SHIFT+CLICK for background tabs; Settings>General>Tabs>"When you open a link, image or media in a new tab, switch to it immediately"
user_pref("media.videocontrols.picture-in-picture.improved-video-controls.enabled", true); // PiP
user_pref("media.videocontrols.picture-in-picture.display-text-tracks.size", "small"); // PiP
user_pref("media.videocontrols.picture-in-picture.urlbar-button.enabled", false); // PiP in address bar
user_pref("reader.parse-on-load.enabled", false); // disable reader mode
//user_pref("reader.color_scheme", "auto"); // match system theme for when reader is enabled
//user_pref("browser.urlbar.openintab", true); // stay on current site and open new tab when typing in URL bar
/** DELETE IF NOT NIGHTLY ***/
//user_pref("layout.css.scroll-driven-animations.enabled", true); // CSS scroll-linked animations
//user_pref("dom.security.sanitizer.enabled", true); // HTML Sanitizer API
//user_pref("privacy.clearsitedata.cache.enabled", true); // Clear-Site-Data: "cache" header
user_pref("dom.indexedDB.preprocessing", true); // indexedDB Preprocessing
user_pref("layout.css.scroll-driven-animations.enabled", true); // CSS scroll-linked animations
//user_pref("javascript.options.experimental.shadow_realms", true); // Shadowrealms
//user_pref("javascript.options.wasm_gc", true); // Wasm GC
//user_pref("javascript.options.wasm_function_references", true); // Wasm Function references
//user_pref("javascript.options.experimental.import_assertions", true); // import assertions
//user_pref("javascript.options.experimental.array_grouping", true); // Array.fromAsync JS API
//user_pref("image.jxl.enabled", true); // JPEG XL
user_pref("image.avif.sequence.enabled", true); // Animated AVIF
//user_pref("extensions.translations.disabled", false); // Language Translation; still needs Firefox Translations add-on
user_pref("cookiebanners.service.mode", 2); // block cookie banners natively
user_pref("cookiebanners.service.mode.privateBrowsing", 2); // block cookie banners natively in PB mode
user_pref("privacy.globalprivacycontrol.enabled", true); // enable GPC
user_pref("privacy.globalprivacycontrol.functionality.enabled", true); // enable GPC
user_pref("privacy.userContext.enabled", false); // disable Containers
user_pref("privacy.userContext.enabled", false); // disable Containers functionality
user_pref("browser.crashReports.unsubmittedCheck.enabled", false); // true by default on NIGHTLY
//user_pref("browser.urlbar.suggest.quickactions", false); // Quick Actions in URL bar
//user_pref("xpinstall.signatures.required", false); // [ESR/DEV/NIGHTLY]
// EncryptedClientHello
user_pref("network.dns.echconfig.enabled", false); // disable ECH (waiting on support); ControlD will require a root CA installation to work
//user_pref("network.dns.http3_echconfig.enabled", true); // disable ECH (waiting on support); ControlD will require a root CA installation to work
/** DELETE IF NOT WINDOWS DESKTOP ***/
user_pref("network.trr.mode", 3); // enable TRR (without System fallback)
user_pref("pdfjs.defaultZoomValue", "125"); // DESKTOP; alt=page-width; PDF zoom level
//user_pref("dom.webgpu.enabled", true); // enable WebGPU
//user_pref("gfx.webgpu.force-enabled", true); // enable WebGPU
user_pref("dom.ipc.processCount", 12); // Shared Web Content; 12-core CPU
user_pref("dom.ipc.processCount.webIsolated", 12); // per-site; Isolated Web Content; 12-core CPU
user_pref("gfx.webrender.quality.force-subpixel-aa-where-possible", true); // font improvement
//user_pref("dom.ipc.processCount", 12); // Shared Web Content; 12-core CPU
//user_pref("dom.ipc.processCount.webIsolated", 12); // per-site; Isolated Web Content; 12-core CPU
user_pref("gfx.font_rendering.cleartype_params.rendering_mode", 5);
user_pref("gfx.font_rendering.cleartype_params.cleartype_level", 100);
user_pref("gfx.font_rendering.cleartype_params.force_gdi_classic_for_families", "");
user_pref("gfx.font_rendering.cleartype_params.force_gdi_classic_max_size", 6);
user_pref("gfx.font_rendering.directwrite.use_gdi_table_loading", false);
// user_pref("gfx.font_rendering.cleartype_params.gamma", 898); // 1000-2200; https://www.reddit.com/r/firefox/comments/10ed7o2/comment/j4qar9y/
//user_pref("gfx.font_rendering.cleartype_params.gamma", 898); // 1000-2200; https://www.reddit.com/r/firefox/comments/10ed7o2/comment/j4qar9y/
user_pref("image.mem.decode_bytes_at_a_time", 262144); // alt=512000
user_pref("browser.cache.memory.capacity", 2097152); // fixed maximum 2 GB in memory cache
user_pref("browser.cache.memory.max_entry_size", 327680); // maximum size of in memory cached objects
user_pref("media.memory_caches_combined_limit_pc_sysmem", 40);
//user_pref("media.memory_caches_combined_limit_pc_sysmem", 40);
user_pref("media.memory_caches_combined_limit_kb", 3145728);
//user_pref("font.name.serif.x-western", "Roboto Slab"); // serif font
//user_pref("font.name.sans-serif.x-western", "Roboto"); // sans-serif font
+8 -7
View File
@@ -10,7 +10,7 @@
/****************************************************************************
* Betterfox *
* "Ad meliora" *
* version: 110 *
* version: 115 *
* url: https://github.com/yokoffing/Betterfox *
****************************************************************************/
@@ -51,6 +51,8 @@ user_pref("browser.cache.memory.max_entry_size", 153600);
/** NETWORK ***/
user_pref("network.buffer.cache.size", 262144);
user_pref("network.buffer.cache.count", 128);
user_pref("network.http.max-connections", 1800);
user_pref("network.http.max-persistent-connections-per-server", 10);
user_pref("network.ssl_tokens_cache_capacity", 32768);
/****************************************************************************
@@ -58,11 +60,12 @@ user_pref("network.ssl_tokens_cache_capacity", 32768);
****************************************************************************/
/** TRACKING PROTECTION ***/
user_pref("browser.contentblocking.category", "strict");
user_pref("privacy.trackingprotection.emailtracking.enabled", true);
user_pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com");
user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com");
user_pref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oft_c oft_ck oft_d oft_id oft_ids oft_k oft_lk oft_sk oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid");
user_pref("browser.uitour.enabled", false);
user_pref("privacy.globalprivacycontrol.enabled", true);
user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
/** OCSP & CERTS / HPKP ***/
user_pref("security.OCSP.enabled", 0);
@@ -116,7 +119,6 @@ user_pref("signon.privateBrowsingCapture.enabled", false);
user_pref("signon.autofillForms", false);
user_pref("signon.rememberSignons", false);
user_pref("editor.truncate_user_pastes", false);
user_pref("layout.forms.reveal-password-context-menu.enabled", true);
/** ADDRESS + CREDIT CARD MANAGER ***/
user_pref("extensions.formautofill.addresses.enabled", false);
@@ -210,7 +212,7 @@ user_pref("browser.privatebrowsing.enable-new-indicator", false);
/** FULLSCREEN ***/
user_pref("full-screen-api.transition-duration.enter", "0 0");
user_pref("full-screen-api.transition-duration.leave", "0 0");
user_pref("full-screen-api.warning.delay", 0);
user_pref("full-screen-api.warning.delay", -1);
user_pref("full-screen-api.warning.timeout", 0);
/** URL BAR ***/
@@ -236,12 +238,11 @@ user_pref("browser.download.always_ask_before_handling_new_types", true);
user_pref("browser.download.open_pdf_attachments_inline", true);
/** TAB BEHAVIOR ***/
user_pref("browser.link.open_newwindow.restriction", 0);
user_pref("dom.disable_window_move_resize", true);
user_pref("browser.tabs.loadBookmarksInTabs", true);
user_pref("browser.bookmarks.openInTabClosesMenu", false);
user_pref("dom.popup_allowed_events", "change click dblclick auxclick mousedown mouseup pointerdown pointerup notificationclick reset submit touchend contextmenu"); // reset pref; remove in v.111
user_pref("layout.css.has-selector.enabled", true);
user_pref("cookiebanners.service.mode", 2);
user_pref("cookiebanners.service.mode.privateBrowsing", 2);
/****************************************************************************
* SECTION: SMOOTHFOX *