mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dd49bcaae4 | |||
| 288676b07d | |||
| 2b8b671fe1 | |||
| 251cf5743b | |||
| dfce923d85 | |||
| fd0f341da5 | |||
| cb672bd172 |
+3
-3
@@ -346,9 +346,9 @@ user_pref("layout.css.has-selector.enabled", true);
|
|||||||
// PREF: media memory cache
|
// PREF: media memory cache
|
||||||
// [1] https://hg.mozilla.org/mozilla-central/file/tip/modules/libpref/init/StaticPrefList.yaml#l9652
|
// [1] https://hg.mozilla.org/mozilla-central/file/tip/modules/libpref/init/StaticPrefList.yaml#l9652
|
||||||
// [2] https://github.com/arkenfox/user.js/pull/941
|
// [2] https://github.com/arkenfox/user.js/pull/941
|
||||||
user_pref("media.memory_cache_max_size", 196608); // default=8192; AF=65536; alt=131072; alt2=512000
|
user_pref("media.memory_cache_max_size", 65536); // default=8192; AF=65536; alt=131072
|
||||||
user_pref("media.memory_caches_combined_limit_kb", 1572864); // default=524288
|
//user_pref("media.memory_caches_combined_limit_kb", 524288); // DEFAULT; alt=1048576
|
||||||
//user_pref("media.memory_caches_combined_limit_pc_sysmem", 10); // default=5; the percentage of system memory that Firefox can use for media caches
|
//user_pref("media.memory_caches_combined_limit_pc_sysmem", 5); // DEFAULT; alt=10; the percentage of system memory that Firefox can use for media caches
|
||||||
|
|
||||||
// PREF: Media Source Extensions (MSE) web standard
|
// PREF: Media Source Extensions (MSE) web standard
|
||||||
// Disabling MSE allows videos to fully buffer, but you're limited to 720p.
|
// Disabling MSE allows videos to fully buffer, but you're limited to 720p.
|
||||||
|
|||||||
@@ -2,9 +2,11 @@
|
|||||||

|

|
||||||
[](https://hits.seeyoufarm.com)
|
[](https://hits.seeyoufarm.com)
|
||||||
|
|
||||||
# Betterfox :fox_face:
|
# Betterfox
|
||||||
[about:config](https://support.mozilla.org/en-US/kb/about-config-editor-firefox) tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/firefox/new/).
|
[about:config](https://support.mozilla.org/en-US/kb/about-config-editor-firefox) tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/firefox/new/).
|
||||||
|
|
||||||
|
:new: Now with [ESR support](https://github.com/yokoffing/Betterfox/tree/esr115#betterfox-esr).
|
||||||
|
|
||||||
## Made for everyday browsing
|
## Made for everyday browsing
|
||||||
**A secure, blazing fast browsing experience. Without breakage.**
|
**A secure, blazing fast browsing experience. Without breakage.**
|
||||||
|
|
||||||
@@ -52,7 +54,7 @@ See [Optional Hardening](https://github.com/yokoffing/Betterfox/wiki/Optional-Ha
|
|||||||
|
|
||||||
### Browser Integration
|
### Browser Integration
|
||||||
* [Waterfox](https://github.com/WaterfoxCo/Waterfox/releases/tag/G6.0b3) | [files](https://github.com/WaterfoxCo/Waterfox/tree/future/waterfox/browser/app/profile) (August 2023)
|
* [Waterfox](https://github.com/WaterfoxCo/Waterfox/releases/tag/G6.0b3) | [files](https://github.com/WaterfoxCo/Waterfox/tree/future/waterfox/browser/app/profile) (August 2023)
|
||||||
* [Floorp](https://github.com/Floorp-Projects/Floorp#-betterfox) <sup>[1](https://github.com/Floorp-Projects/Floorp/issues/233#issuecomment-1543557167) [2](https://blog.ablaze.one/3135/2023-04-01/)</sup> | [files](https://github.com/Floorp-Projects/Floorp/blob/f63e87016d88535aafa2b57d690442b9a69cbaa5/toolkit/content/license.html#L200-L224) (April 2023)
|
* [Floorp](https://github.com/Floorp-Projects/Floorp#-betterfox) <sup>[1](https://github.com/Floorp-Projects/Floorp/issues/233#issuecomment-1543557167) [2](https://blog.ablaze.one/3135/2023-04-01/)</sup> | [files](https://github.com/Floorp-Projects/Floorp/blob/ESR115/floorp/browser/components/preferences/userjs.inc.xhtml) (April 2023)
|
||||||
* [Pulse](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)
|
* [Pulse](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) <sup>[1](https://web.archive.org/web/20210509171835/https://www.ghostery.com/ghostery-dawn-update-more/) [2](https://web.archive.org/web/20210921114333/https://www.ghostery.com/ghostery-dawn-product-update/)</sup> | [files](https://github.com/ghostery/user-agent-desktop/tree/main/brands/ghostery/branding/pref) (Feb 2021)
|
* [Ghostery Private Browser](https://github.com/ghostery/user-agent-desktop#community) <sup>[1](https://web.archive.org/web/20210509171835/https://www.ghostery.com/ghostery-dawn-update-more/) [2](https://web.archive.org/web/20210921114333/https://www.ghostery.com/ghostery-dawn-product-update/)</sup> | [files](https://github.com/ghostery/user-agent-desktop/tree/main/brands/ghostery/branding/pref) (Feb 2021)
|
||||||
|
|
||||||
|
|||||||
+3
-2
@@ -3,7 +3,7 @@
|
|||||||
* Securefox *
|
* Securefox *
|
||||||
* "Natura non contristatur" *
|
* "Natura non contristatur" *
|
||||||
* priority: provide sensible security and privacy *
|
* priority: provide sensible security and privacy *
|
||||||
* version: 116 *
|
* version: 116.1 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
@@ -276,6 +276,7 @@ user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
|
|||||||
|
|
||||||
// PREF: require safe negotiation
|
// PREF: require safe negotiation
|
||||||
// [ERROR] SSL_ERROR_UNSAFE_NEGOTIATION
|
// [ERROR] SSL_ERROR_UNSAFE_NEGOTIATION
|
||||||
|
// [WARNING] Breaks ea.com login (Sep 2023).
|
||||||
// Blocks connections to servers that don't support RFC 5746 [2]
|
// Blocks connections to servers that don't support RFC 5746 [2]
|
||||||
// as they're potentially vulnerable to a MiTM attack [3].
|
// as they're potentially vulnerable to a MiTM attack [3].
|
||||||
// A server without RFC 5746 can be safe from the attack if it
|
// A server without RFC 5746 can be safe from the attack if it
|
||||||
@@ -288,7 +289,7 @@ user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
|
|||||||
// [2] https://datatracker.ietf.org/doc/html/rfc5746
|
// [2] https://datatracker.ietf.org/doc/html/rfc5746
|
||||||
// [3] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3555
|
// [3] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3555
|
||||||
// [4] https://www.ssllabs.com/ssl-pulse/
|
// [4] https://www.ssllabs.com/ssl-pulse/
|
||||||
user_pref("security.ssl.require_safe_negotiation", true);
|
//user_pref("security.ssl.require_safe_negotiation", true);
|
||||||
|
|
||||||
// PREF: display advanced information on Insecure Connection warning pages
|
// PREF: display advanced information on Insecure Connection warning pages
|
||||||
// [TEST] https://expired.badssl.com/
|
// [TEST] https://expired.badssl.com/
|
||||||
|
|||||||
+14
-4
@@ -18,10 +18,20 @@
|
|||||||
//user_pref("network.trr.uri", "https://dns.nextdns.io/******/Firefox"); // TRR/DoH
|
//user_pref("network.trr.uri", "https://dns.nextdns.io/******/Firefox"); // TRR/DoH
|
||||||
|
|
||||||
/** FASTFOX ***/
|
/** FASTFOX ***/
|
||||||
user_pref("dom.ipc.processCount.webIsolated", 1); // use one process per site
|
//user_pref("dom.ipc.processCount.webIsolated", 2); // process per site
|
||||||
//user_pref("dom.ipc.processPrelaunch.fission.number", 1); // # of Preallocated
|
//user_pref("dom.ipc.processPrelaunch.fission.number", 1); // number of Preallocated processes
|
||||||
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
|
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
|
||||||
//user_pref("media.av1.enabled", false); // disable AV1 to force video hardware decoding
|
user_pref("network.http.speculative-parallel-limit", 6); // DEFAULT
|
||||||
|
user_pref("network.dns.disablePrefetch", false); // DEFAULT; using DoH / ODNS
|
||||||
|
user_pref("network.dns.disablePrefetchFromHTTPS", false); // using DoH / ODNS
|
||||||
|
user_pref("browser.urlbar.speculativeConnect.enabled", true); // DEFAULT
|
||||||
|
user_pref("browser.places.speculativeConnect.enabled", true); // DEFAULT
|
||||||
|
user_pref("network.early-hints.enabled", true); // DEFAULT NIGHTLY
|
||||||
|
user_pref("network.early-hints.preconnect.enabled", true);
|
||||||
|
//user_pref("network.early-hints.preconnect.max_connections", 10); // DEFAULT; when 0, this is limited by "network.http.speculative-parallel-limit"
|
||||||
|
user_pref("network.prefetch-next", true); // DEFAULT if using DOH/ODNS
|
||||||
|
user_pref("network.predictor.enabled", false);
|
||||||
|
user_pref("network.predictor.enable-prefetch", false);
|
||||||
|
|
||||||
/** SECUREFOX ***/
|
/** SECUREFOX ***/
|
||||||
//user_pref("urlclassifier.features.socialtracking.skipURLs", "*.twitter.com, *.twimg.com"); // removed *.instagram.com
|
//user_pref("urlclassifier.features.socialtracking.skipURLs", "*.twitter.com, *.twimg.com"); // removed *.instagram.com
|
||||||
@@ -40,7 +50,7 @@ user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); // cle
|
|||||||
user_pref("browser.safebrowsing.allowOverride", false); // do not allow user to override SB
|
user_pref("browser.safebrowsing.allowOverride", false); // do not allow user to override SB
|
||||||
user_pref("dom.push.enabled", false); // disable Push API; breaks FF Sync and Site Notifications
|
user_pref("dom.push.enabled", false); // disable Push API; breaks FF Sync and Site Notifications
|
||||||
user_pref("browser.search.update", false); // do not update opensearch engines
|
user_pref("browser.search.update", false); // do not update opensearch engines
|
||||||
//user_pref("network.dns.skipTRR-when-parental-control-enabled", false); // bypass parental controls when using DoH
|
user_pref("network.dns.skipTRR-when-parental-control-enabled", false); // bypass parental controls when using DoH
|
||||||
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
|
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
|
||||||
user_pref("extensions.webextensions.restrictedDomains", ""); // remove Mozilla domains so adblocker works on pages
|
user_pref("extensions.webextensions.restrictedDomains", ""); // remove Mozilla domains so adblocker works on pages
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Betterfox *
|
* Betterfox *
|
||||||
* "Ad meliora" *
|
* "Ad meliora" *
|
||||||
* version: 116 *
|
* version: 116.1 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
@@ -37,8 +37,7 @@ user_pref("gfx.content.skia-font-cache-size", 20);
|
|||||||
user_pref("browser.cache.disk.enable", false);
|
user_pref("browser.cache.disk.enable", false);
|
||||||
|
|
||||||
/** MEDIA CACHE ***/
|
/** MEDIA CACHE ***/
|
||||||
user_pref("media.memory_cache_max_size", 196608);
|
user_pref("media.memory_cache_max_size", 65536);
|
||||||
user_pref("media.memory_caches_combined_limit_kb", 1572864);
|
|
||||||
user_pref("media.cache_readahead_limit", 7200);
|
user_pref("media.cache_readahead_limit", 7200);
|
||||||
user_pref("media.cache_resume_threshold", 3600);
|
user_pref("media.cache_resume_threshold", 3600);
|
||||||
|
|
||||||
@@ -86,7 +85,6 @@ user_pref("security.cert_pinning.enforcement_level", 2);
|
|||||||
|
|
||||||
/** SSL / TLS ***/
|
/** SSL / TLS ***/
|
||||||
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
|
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
|
||||||
user_pref("security.ssl.require_safe_negotiation", true);
|
|
||||||
user_pref("browser.xul.error_pages.expert_bad_cert", true);
|
user_pref("browser.xul.error_pages.expert_bad_cert", true);
|
||||||
user_pref("security.tls.enable_0rtt_data", false);
|
user_pref("security.tls.enable_0rtt_data", false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user