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

Compare commits

...

5 Commits

Author SHA1 Message Date
HJ 2b8b671fe1 adjust spec con 2023-08-30 11:33:28 -04:00
HJ 251cf5743b fix link 2023-08-30 11:17:43 -04:00
HJ dfce923d85 adjust media memory cache 2023-08-30 11:06:43 -04:00
HJ fd0f341da5 adjust memory media cache 2023-08-30 11:02:31 -04:00
HJ cb672bd172 add ESR note 2023-08-30 00:53:04 -04:00
4 changed files with 21 additions and 10 deletions
+3 -3
View File
@@ -346,9 +346,9 @@ user_pref("layout.css.has-selector.enabled", true);
// PREF: media memory cache
// [1] https://hg.mozilla.org/mozilla-central/file/tip/modules/libpref/init/StaticPrefList.yaml#l9652
// [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_caches_combined_limit_kb", 1572864); // default=524288
//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_cache_max_size", 65536); // default=8192; AF=65536; alt=131072
//user_pref("media.memory_caches_combined_limit_kb", 524288); // DEFAULT; alt=1048576
//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
// Disabling MSE allows videos to fully buffer, but you're limited to 720p.
+3 -1
View File
@@ -2,9 +2,11 @@
![GitHub Maintained](https://img.shields.io/badge/maintained-yes-yellow)
[![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 :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/).
:new: Now with [ESR support](https://github.com/yokoffing/Betterfox/tree/esr115#betterfox-esr).
## Made for everyday browsing
**A secure, blazing fast browsing experience. Without breakage.**
+14 -4
View File
@@ -18,10 +18,20 @@
//user_pref("network.trr.uri", "https://dns.nextdns.io/******/Firefox"); // TRR/DoH
/** FASTFOX ***/
user_pref("dom.ipc.processCount.webIsolated", 1); // use one process per site
//user_pref("dom.ipc.processPrelaunch.fission.number", 1); // # of Preallocated
//user_pref("dom.ipc.processCount.webIsolated", 2); // process per site
//user_pref("dom.ipc.processPrelaunch.fission.number", 1); // number of Preallocated processes
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 ***/
//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("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("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("extensions.webextensions.restrictedDomains", ""); // remove Mozilla domains so adblocker works on pages
+1 -2
View File
@@ -37,8 +37,7 @@ user_pref("gfx.content.skia-font-cache-size", 20);
user_pref("browser.cache.disk.enable", false);
/** MEDIA CACHE ***/
user_pref("media.memory_cache_max_size", 196608);
user_pref("media.memory_caches_combined_limit_kb", 1572864);
user_pref("media.memory_cache_max_size", 65536);
user_pref("media.cache_readahead_limit", 7200);
user_pref("media.cache_resume_threshold", 3600);