mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c8460d12c3 | |||
| d0a02dfd40 | |||
| 4d6a26df1e | |||
| cb70c90a86 | |||
| 3063946a11 | |||
| 68c1d0cefc | |||
| e5ef7c4d67 | |||
| 7b3d41d91c | |||
| 2585a4f0b1 | |||
| bb6aff749b | |||
| 7bbfc98519 | |||
| a38dd005b5 | |||
| 76aa03e5af | |||
| 0ba9adc9c0 | |||
| f6eadee5d9 | |||
| ecbeda5a2f | |||
| 98c118481f | |||
| 1741667a66 | |||
| d1211e5b5c | |||
| ac7b5b0fba | |||
| 014fe99cf2 |
+11
-11
@@ -3,7 +3,7 @@
|
||||
* Fastfox *
|
||||
* "Non ducor duco" *
|
||||
* priority: speedy browsing *
|
||||
* version: 111 *
|
||||
* version: 113b *
|
||||
* url: https://github.com/yokoffing/Betterfox *
|
||||
***************************************************************************************/
|
||||
|
||||
@@ -78,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);
|
||||
@@ -131,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
|
||||
@@ -150,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 *
|
||||
@@ -266,11 +268,6 @@ user_pref("network.http.max-persistent-connections-per-server", 10); // default=
|
||||
// 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 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 *
|
||||
****************************************************************************/
|
||||
@@ -289,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
@@ -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 *
|
||||
****************************************************************************/
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||

|
||||

|
||||
[](https://github.com/yokoffing/Betterfox/issues?q=is%3Aissue+is%3Aclosed)
|
||||
[](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`. |
|
||||
@@ -43,23 +42,25 @@ 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)
|
||||
@@ -68,6 +69,7 @@ Apply preferences from the [common overrides](https://github.com/yokoffing/Bette
|
||||
|
||||
### 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)
|
||||
@@ -76,7 +78,8 @@ Apply preferences from the [common overrides](https://github.com/yokoffing/Bette
|
||||
* [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)
|
||||
|
||||
### Articles
|
||||
* [2023 Browser Showdown: Comparing Chrome, Brave, Firefox, Vivaldi, and Opera – Is it Worth the Switch?](https://www.appdate.lk/technology/2023-browser-showdown/)
|
||||
* [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)
|
||||
@@ -94,12 +97,5 @@ Apply preferences from the [common overrides](https://github.com/yokoffing/Bette
|
||||
* 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
|
||||
I’m 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>
|
||||
|
||||
+54
-12
@@ -2,8 +2,8 @@
|
||||
/****************************************************************************
|
||||
* Securefox *
|
||||
* "Natura non constristatur" *
|
||||
* priority: provide sensible security and privacy *
|
||||
* version: 111 *
|
||||
* priority: provide sensible security and privacy *
|
||||
* 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);
|
||||
@@ -294,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) *
|
||||
****************************************************************************/
|
||||
@@ -331,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
|
||||
@@ -422,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);
|
||||
@@ -503,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.
|
||||
@@ -637,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
|
||||
|
||||
@@ -691,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 you’re using DoH, as long as you trust the
|
||||
// DoH resolver to perform DNSSEC validation correctly. However, if you don’t
|
||||
// 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
|
||||
@@ -845,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 *
|
||||
@@ -1202,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 *
|
||||
******************************************************************************/
|
||||
@@ -1265,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"
|
||||
|
||||
+12
-19
@@ -32,9 +32,12 @@ 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);
|
||||
@@ -52,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
|
||||
@@ -63,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
|
||||
@@ -91,41 +94,31 @@ user_pref("general.autoScroll", false); // disable unintentional behavior for mi
|
||||
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.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.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", "");
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
/****************************************************************************
|
||||
* Betterfox *
|
||||
* "Ad meliora" *
|
||||
* version: 111 *
|
||||
* version: 115 *
|
||||
* url: https://github.com/yokoffing/Betterfox *
|
||||
****************************************************************************/
|
||||
|
||||
@@ -60,7 +60,6 @@ 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");
|
||||
@@ -120,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);
|
||||
@@ -214,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 ***/
|
||||
@@ -240,11 +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("layout.css.has-selector.enabled", true);
|
||||
user_pref("cookiebanners.service.mode", 2);
|
||||
user_pref("cookiebanners.service.mode.privateBrowsing", 2);
|
||||
|
||||
/****************************************************************************
|
||||
* SECTION: SMOOTHFOX *
|
||||
|
||||
Reference in New Issue
Block a user