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

Compare commits

...

55 Commits

Author SHA1 Message Date
Hal c3c64a22a1 remove duplicate 2024-05-20 14:34:22 -04:00
Hal ef6e985186 browser.urlbar.yelp.featureGate FF124 2024-05-20 14:30:27 -04:00
Hal 4f136e9978 corroborator.enabled removed FF126 2024-05-20 14:23:13 -04:00
Hal 322002b02b add text fragment (experimental) 2024-05-20 14:21:48 -04:00
Hal a687cb7297 account for MSDp 2024-05-20 13:16:43 -04:00
Hal 9212b98e53 ver # 2024-05-20 13:13:37 -04:00
Hal 9f4409dc13 ver # 2024-05-20 13:13:23 -04:00
Hal e9b0b4f225 ver # 2024-05-20 13:13:08 -04:00
Hal c68b528fcc ver # 2024-05-20 13:12:40 -04:00
Hal 30228f307b NTP: wallpapers and weather 2024-05-20 13:11:39 -04:00
Hal 4ca0d439fc remove speculative loading test 2024-05-20 13:02:57 -04:00
Hal ef9c886fad Update user.js 2024-05-20 12:47:42 -04:00
Hal 1bb3c6e617 Update Fastfox.js 2024-05-17 17:59:16 -04:00
Hal f1c5b4e06d note 2024-05-17 17:50:55 -04:00
Hal ec40cd2cfe Super Resolution now implemented default 2024-05-17 17:50:08 -04:00
Hal 61c4c87c60 Update Securefox.js 2024-05-17 17:17:13 -04:00
Hal ff2a516d2f Update Securefox.js 2024-05-17 17:12:17 -04:00
Hal 847ba04322 SERP Telemetry 2024-05-17 17:07:59 -04:00
Hal 91e69b61ff Bounce Tracking Protection 2024-05-17 16:56:48 -04:00
Hal 8b403e9db9 update value for network.http.speculative-parallel-limit 2024-05-05 16:04:45 -04:00
Hal 7762e11597 add network.dns.disablePrefetchFromHTTPS 2024-05-05 15:56:47 -04:00
Hal fed34f834b prefetchfromhttps now false (FF127+)
https://bugzilla.mozilla.org/show_bug.cgi?id=1596935
2024-05-05 15:56:00 -04:00
Hal 46a27b15ff DLP 2024-04-16 10:15:58 -04:00
Hal 36f63d97dc browser.urlbar.yelp.featureGate 2024-04-16 10:11:53 -04:00
Hal b05dfcfea7 add Mercury 2024-04-16 10:01:46 -04:00
Hal a9de61b401 Update Fastfox.js 2024-04-16 09:59:18 -04:00
Hal ff2e690409 fix decimals
https://github.com/yokoffing/Betterfox/issues/287
2024-04-11 12:14:32 -04:00
Hal 2f6796d055 add line on performance 2024-03-23 13:33:09 -04:00
Hal 0f84895ec4 add resource 2024-03-22 10:44:35 -04:00
Hal e57d87d4b9 Update user-overrides.js 2024-03-21 20:51:15 -04:00
Hal 3d9b3b4e89 Update Fastfox.js 2024-03-21 11:19:57 -04:00
Hal 56544e8fdc Update Peskyfox.js 2024-03-21 11:15:44 -04:00
Hal 9ec4ed5fae Update Peskyfox.js 2024-03-21 11:14:46 -04:00
Hal ab288df159 PingCentre telemetry removed 2024-03-21 11:13:17 -04:00
Hal 155c084bc6 PingCentre telemetry removed 2024-03-21 11:12:54 -04:00
Hal e4de66dcbc CRLite requires push 2024-03-21 11:12:31 -04:00
Hal 4a20f7ee3c remove push
Required for CRLite
2024-03-21 11:10:50 -04:00
Hal 4775dbce89 edit RCWN title 2024-03-21 10:21:59 -04:00
Hal 96864acc29 more details 2024-03-21 10:12:22 -04:00
Hal c4a5018b04 add network.http.rcwn.enabled 2024-03-21 09:54:13 -04:00
Hal c18c4802f4 layout.css.has-selector.enabled is now default 2024-03-21 09:41:23 -04:00
Hal ae7c8ee298 layout.css.has-selector.enabled is now default 2024-03-21 09:40:36 -04:00
Hal 705c50cc99 remove network.dns.max_high_priority_threads 2024-03-21 09:38:55 -04:00
Hal f0da2bc058 DNS threads reset 2024-03-21 09:37:49 -04:00
Hal 5a7816e675 Merge branch 'main' into 123 2024-03-21 09:34:08 -04:00
Hal c366439145 fix 2024-03-18 18:12:48 -04:00
Hal bd128d8d56 add counter 2024-03-18 18:11:55 -04:00
Hal 80eb522422 spelling 2024-03-18 11:48:57 -04:00
Hal bc8d1eb324 Merge branch 'main' into 123 2024-03-13 21:53:29 -04:00
Hal d4f1744b0c v122.1 (#280)
* network.buffer.cache.size causes HTML issue
2024-03-13 11:47:02 -04:00
Hal f6affa6076 missing pref text 2024-02-28 18:19:35 -05:00
Hal 43546f7ba6 add op pref 2024-02-21 12:13:42 -05:00
Hal e95eb32ffd signon.firefoxRelay.feature 2024-02-21 12:12:20 -05:00
Hal 0f818cddff adjust relay pref 2024-02-21 12:10:49 -05:00
Hal 35474a4c38 FF view prefs 2024-02-21 12:02:33 -05:00
7 changed files with 106 additions and 62 deletions
+38 -20
View File
@@ -3,7 +3,7 @@
* Fastfox * * Fastfox *
* "Non ducor duco" * * "Non ducor duco" *
* priority: speedy browsing * * priority: speedy browsing *
* version: 122 * * version: 126 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
***************************************************************************************/ ***************************************************************************************/
@@ -13,8 +13,8 @@
// PREF: initial paint delay // PREF: initial paint delay
// How long FF will wait before rendering the page (in ms) // How long FF will wait before rendering the page (in ms)
// [NOTE] Older PCs may want to use 250-750. // [NOTE] You may prefer using 250.
// [NOTE] Dark Reader users may want to use 1000-2000 [3]. // [NOTE] Dark Reader users may want to use 1000 [3].
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1283302 // [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1283302
// [2] https://docs.google.com/document/d/1BvCoZzk2_rNZx3u9ESPoFjSADRI0zIPeJRXFLwWXx_4/edit#heading=h.28ki6m8dg30z // [2] https://docs.google.com/document/d/1BvCoZzk2_rNZx3u9ESPoFjSADRI0zIPeJRXFLwWXx_4/edit#heading=h.28ki6m8dg30z
// [3] https://old.reddit.com/r/firefox/comments/o0xl1q/reducing_cpu_usage_of_dark_reader_extension/ // [3] https://old.reddit.com/r/firefox/comments/o0xl1q/reducing_cpu_usage_of_dark_reader_extension/
@@ -98,13 +98,13 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s)
//user_pref("gfx.webrender.software", true); // Software Webrender uses CPU instead of GPU //user_pref("gfx.webrender.software", true); // Software Webrender uses CPU instead of GPU
//user_pref("gfx.webrender.software.opengl", true); // LINUX //user_pref("gfx.webrender.software.opengl", true); // LINUX
// PREF: NVIDIA RTX Video Super Resolution for video overlay [WINDOWS] // PREF: NVIDIA RTX Video Super Resolution and RTX Video HDR [WINDOWS] [FF125+]
// [NOTE] May not work on Stable release [2]. // Super Resolution activiates on video content 720p or below.
// 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 // [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1823135
// [2] https://www.reddit.com/r/firefox/comments/17a0noa/nvidia_video_super_resolution_not_working_on/ // [2] https://www.reddit.com/r/firefox/comments/17a0noa/nvidia_video_super_resolution_not_working_on/
//user_pref("gfx.webrender.super-resolution.nvidia", true); // [3] https://blogs.nvidia.com/blog/ai-decoded-rtxvideo-firefox/
// [4] https://www.mozilla.org/en-US/firefox/126.0/releasenotes/
//user_pref("gfx.webrender.super-resolution.nvidia", true); // [REMOVED]
// PREF: GPU-accelerated Canvas2D // PREF: GPU-accelerated Canvas2D
// Use gpu-canvas instead of to skia-canvas. // Use gpu-canvas instead of to skia-canvas.
@@ -165,6 +165,25 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s)
//user_pref("browser.cache.disk.capacity", 512000); // default=256000; size of disk cache; 1024000=1GB, 2048000=2GB //user_pref("browser.cache.disk.capacity", 512000); // default=256000; size of disk cache; 1024000=1GB, 2048000=2GB
//user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT (50 MB); maximum size of an object in disk cache //user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT (50 MB); maximum size of an object in disk cache
// PREF: Race Cache With Network (RCWN) [FF59+]
// [ABOUT] about:networking#rcwn
// Firefox concurrently sends requests for cached resources to both the
// local disk cache and the network server. The browser uses whichever
// result arrives first and cancels the other request. This approach sometimes
// loads pages faster because the network can be quicker than accessing the cache
// on a hard drive. When RCWN is enabled, the request might be served from
// the server even if you have valid entry in the cache. Set to false if your
// intention is to increase cache usage and reduce network usage.
// [1] https://slides.com/valentingosu/race-cache-with-network-2017
// [2] https://simonhearne.com/2020/network-faster-than-cache/
// [3] https://support.mozilla.org/en-US/questions/1267945
// [4] https://askubuntu.com/questions/1214862/36-syns-in-a-row-how-to-limit-firefox-connections-to-one-website
// [5] https://bugzilla.mozilla.org/show_bug.cgi?id=1622859
//user_pref("network.http.rcwn.enabled", true); // DEFAULT
// PREF: attempt to RCWN only if a resource is smaller than this size
//user_pref("network.http.rcwn.small_resource_size_kb", 256); // DEFAULT
// PREF: cache memory pool // PREF: cache memory pool
// Cache v2 provides a memory pool that stores metadata (such as response headers) // Cache v2 provides a memory pool that stores metadata (such as response headers)
// for recently read cache entries [1]. It is managed by a cache thread, and caches with // for recently read cache entries [1]. It is managed by a cache thread, and caches with
@@ -309,11 +328,13 @@ user_pref("image.mem.decode_bytes_at_a_time", 32768); // default=16384; alt=6553
****************************************************************************/ ****************************************************************************/
// PREF: use bigger packets // PREF: use bigger packets
// [WARNING] Cannot open HTML files bigger than 4MB if changed [2].
// Reduce Firefox's CPU usage by requiring fewer application-to-driver data transfers. // Reduce Firefox's CPU usage by requiring fewer application-to-driver data transfers.
// However, it does not affect the actual packet sizes transmitted over the network. // However, it does not affect the actual packet sizes transmitted over the network.
// [1] https://www.mail-archive.com/support-seamonkey@lists.mozilla.org/msg74561.html // [1] https://www.mail-archive.com/support-seamonkey@lists.mozilla.org/msg74561.html
user_pref("network.buffer.cache.size", 262144); // 256 kb; default=32768 (32 kb) // [2] https://github.com/yokoffing/Betterfox/issues/279
user_pref("network.buffer.cache.count", 128); // default=24 //user_pref("network.buffer.cache.size", 262144); // 256 kb; default=32768 (32 kb)
//user_pref("network.buffer.cache.count", 128); // default=24
// PREF: increase the absolute number of HTTP connections // PREF: increase the absolute number of HTTP connections
// [1] https://kb.mozillazine.org/Network.http.max-connections // [1] https://kb.mozillazine.org/Network.http.max-connections
@@ -349,8 +370,8 @@ user_pref("network.dnsCacheExpiration", 3600); // keep entries for 1 hour
//user_pref("network.dnsCacheExpirationGracePeriod", 240); // default=60; cache DNS entries for 4 minutes after they expire //user_pref("network.dnsCacheExpirationGracePeriod", 240); // default=60; cache DNS entries for 4 minutes after they expire
// PREF: the number of threads for DNS // PREF: the number of threads for DNS
user_pref("network.dns.max_high_priority_threads", 8); // default=5 //user_pref("network.dns.max_high_priority_threads", 40); // DEFAULT [FF 123?]
//user_pref("network.dns.max_any_priority_threads", 3); // DEFAULT //user_pref("network.dns.max_any_priority_threads", 24); // DEFAULT [FF 123?]
// PREF: increase TLS token caching // PREF: increase TLS token caching
user_pref("network.ssl_tokens_cache_capacity", 10240); // default=2048; more TLS token caching (fast reconnects) user_pref("network.ssl_tokens_cache_capacity", 10240); // default=2048; more TLS token caching (fast reconnects)
@@ -386,7 +407,7 @@ user_pref("network.ssl_tokens_cache_capacity", 10240); // default=2048; more TLS
// [3] https://searchfox.org/mozilla-central/rev/028c68d5f32df54bca4cf96376f79e48dfafdf08/modules/libpref/init/all.js#1280-1282 // [3] https://searchfox.org/mozilla-central/rev/028c68d5f32df54bca4cf96376f79e48dfafdf08/modules/libpref/init/all.js#1280-1282
// [4] https://www.keycdn.com/blog/resource-hints#prefetch // [4] https://www.keycdn.com/blog/resource-hints#prefetch
// [5] https://3perf.com/blog/link-rels/#prefetch // [5] https://3perf.com/blog/link-rels/#prefetch
//user_pref("network.http.speculative-parallel-limit", 6); // DEFAULT //user_pref("network.http.speculative-parallel-limit", 20); // DEFAULT (FF127+?)
// PREF: DNS prefetching <link rel="dns-prefetch"> // PREF: DNS prefetching <link rel="dns-prefetch">
// Used for cross-origin connections to provide small performance improvements. // Used for cross-origin connections to provide small performance improvements.
@@ -397,13 +418,15 @@ user_pref("network.ssl_tokens_cache_capacity", 10240); // default=2048; more TLS
// [2] https://css-tricks.com/prefetching-preloading-prebrowsing/#dns-prefetching // [2] https://css-tricks.com/prefetching-preloading-prebrowsing/#dns-prefetching
// [3] https://www.keycdn.com/blog/resource-hints#2-dns-prefetching // [3] https://www.keycdn.com/blog/resource-hints#2-dns-prefetching
// [4] http://www.mecs-press.org/ijieeb/ijieeb-v7-n5/IJIEEB-V7-N5-2.pdf // [4] http://www.mecs-press.org/ijieeb/ijieeb-v7-n5/IJIEEB-V7-N5-2.pdf
// [5] https://bugzilla.mozilla.org/show_bug.cgi?id=1596935
user_pref("network.dns.disablePrefetch", true); user_pref("network.dns.disablePrefetch", true);
//user_pref("network.dns.disablePrefetchFromHTTPS", true); // DEFAULT user_pref("network.dns.disablePrefetchFromHTTPS", true); // (FF127+ false)
// PREF: enable <link rel="preconnect"> tag and Link: rel=preconnect response header handling // PREF: enable <link rel="preconnect"> tag and Link: rel=preconnect response header handling
//user_pref("network.preconnect", true); // DEFAULT //user_pref("network.preconnect", true); // DEFAULT
// PREF: preconnect to the autocomplete URL in the address bar // PREF: preconnect to the autocomplete URL in the address bar
// Whether to warm up network connections for autofill or search results.
// Firefox preloads URLs that autocomplete when a user types into the address bar. // Firefox preloads URLs that autocomplete when a user types into the address bar.
// Connects to destination server ahead of time, to avoid TCP handshake latency. // Connects to destination server ahead of time, to avoid TCP handshake latency.
// [NOTE] Firefox will perform DNS lookup (if enabled) and TCP and TLS handshake, // [NOTE] Firefox will perform DNS lookup (if enabled) and TCP and TLS handshake,
@@ -412,6 +435,7 @@ user_pref("network.dns.disablePrefetch", true);
//user_pref("browser.urlbar.speculativeConnect.enabled", false); //user_pref("browser.urlbar.speculativeConnect.enabled", false);
// PREF: mousedown speculative connections on bookmarks and history [FF98+] // PREF: mousedown speculative connections on bookmarks and history [FF98+]
// Whether to warm up network connections for places:menus and places:toolbar.
//user_pref("browser.places.speculativeConnect.enabled", false); //user_pref("browser.places.speculativeConnect.enabled", false);
// PREF: network preload <link rel="preload"> [REMOVED] // PREF: network preload <link rel="preload"> [REMOVED]
@@ -538,12 +562,6 @@ user_pref("layout.css.grid-template-masonry-value.enabled", true);
// [2] https://medium.com/airbnb-engineering/building-a-faster-web-experience-with-the-posttask-scheduler-276b83454e91 // [2] https://medium.com/airbnb-engineering/building-a-faster-web-experience-with-the-posttask-scheduler-276b83454e91
user_pref("dom.enable_web_task_scheduling", true); user_pref("dom.enable_web_task_scheduling", true);
// PREF: CSS :has() selector [NIGHTLY]
// Needed for some extensions, filters, and customizations.
// [1] https://developer.mozilla.org/en-US/docs/Web/CSS/:has
// [2] https://caniuse.com/css-has
user_pref("layout.css.has-selector.enabled", true);
// PREF: HTML Sanitizer API [NIGHTLY] // PREF: HTML Sanitizer API [NIGHTLY]
// [1] https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer // [1] https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer
// [2] https://caniuse.com/mdn-api_sanitizer // [2] https://caniuse.com/mdn-api_sanitizer
+13 -3
View File
@@ -3,7 +3,7 @@
* Peskyfox * * Peskyfox *
* "Aquila non capit muscas" * * "Aquila non capit muscas" *
* priority: remove annoyances * * priority: remove annoyances *
* version: 122 * * version: 126 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
* credit: Some prefs are reproduced and adapted from the arkenfox project * * credit: Some prefs are reproduced and adapted from the arkenfox project *
* credit urL: https://github.com/arkenfox/user.js * * credit urL: https://github.com/arkenfox/user.js *
@@ -216,7 +216,8 @@ user_pref("browser.urlbar.trending.featureGate", false);
//user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF] //user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF]
//user_pref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false] //user_pref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false]
//user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false] //user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false]
//user_pref("browser.urlbar.clipboard.featureGate", false); // [FF118+] [DEFAULT: false] //user_pref("browser.urlbar.clipboard.featureGate", false); // [FF118+] [DEFAULT: true FF125+]
//user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+] [DEFAULT: false]
// PREF: disable tab-to-search [FF85+] // PREF: disable tab-to-search [FF85+]
// Alternatively, you can exclude on a per-engine basis by unchecking them in Options>Search // Alternatively, you can exclude on a per-engine basis by unchecking them in Options>Search
@@ -236,6 +237,10 @@ user_pref("browser.urlbar.trending.featureGate", false);
// disable=0 // disable=0
//user_pref("browser.urlbar.maxRichResults", 5); // default=10 //user_pref("browser.urlbar.maxRichResults", 5); // default=10
// PREF: text fragments [FF126+ NIGHTLY]
// [1] https://developer.mozilla.org/en-US/docs/Web/Text_fragments
//user_pref("dom.text_fragments.enabled", true);
/**************************************************************************** /****************************************************************************
* SECTION: AUTOPLAY * * SECTION: AUTOPLAY *
****************************************************************************/ ****************************************************************************/
@@ -282,7 +287,9 @@ user_pref("browser.urlbar.trending.featureGate", false);
//user_pref("browser.newtabpage.activity-stream.discoverystream.enabled", false); //user_pref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
//user_pref("browser.newtabpage.activity-stream.showSearch", true); // NTP Web Search [DEFAULT] //user_pref("browser.newtabpage.activity-stream.showSearch", true); // NTP Web Search [DEFAULT]
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // Shortcuts user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // Shortcuts
//user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Sponsored shortcuts [FF83+] //user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Shortcuts > Sponsored shortcuts [FF83+]
//user_pref("browser.newtabpage.activity-stream.showWeather", false); // Weather [FF128+ NIGHTLY]
//user_pref("browser.newtabpage.activity-stream.system.showWeather", false); // Weather [FF128+ NIGHTLY]
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // Recommended by Pocket user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // Recommended by Pocket
//user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Sponsored Stories [FF58+] //user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Sponsored Stories [FF58+]
//user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); // Recent Activity [DEFAULT] //user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); // Recent Activity [DEFAULT]
@@ -292,6 +299,9 @@ user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
//user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); //user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false);
//user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); // [DEFAULT] //user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); // [DEFAULT]
// PREF: wallpapers on New Tab [FF128+ NIGHTLY]
//user_pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false); // Wallpapers
// PREF: clear default topsites // PREF: clear default topsites
// [NOTE] This does not block you from adding your own. // [NOTE] This does not block you from adding your own.
//user_pref("browser.newtabpage.activity-stream.default.sites", ""); //user_pref("browser.newtabpage.activity-stream.default.sites", "");
+3
View File
@@ -3,6 +3,8 @@
[![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) [![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 # Betterfox
31% faster than regular Firefox<sup>[1](https://medium.com/@mihirgrand/comparing-popular-firefox-forks-6fa83fdfdaad#:~:text=31%25%20more%20than%20vanilla%20Firefox)</sup> :rocket:
[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). :new: Now with [ESR support](https://github.com/yokoffing/Betterfox/tree/esr115#betterfox-esr).
@@ -52,6 +54,7 @@ The `user.js` — a configuration file that controls Firefox settings — is cur
### Browser Integration ### Browser Integration
* [Midori](https://github.com/goastian/midori-desktop/blob/ESR115/README.md) | [files](https://github.com/goastian/midori-desktop/blob/f3d8d96eb8e08f35a64e3c957bea4e839d7c7730/floorp/browser/components/userjsUtils.sys.mjs#L28-L33) (Dec 2023?) * [Midori](https://github.com/goastian/midori-desktop/blob/ESR115/README.md) | [files](https://github.com/goastian/midori-desktop/blob/f3d8d96eb8e08f35a64e3c957bea4e839d7c7730/floorp/browser/components/userjsUtils.sys.mjs#L28-L33) (Dec 2023?)
* [Mercury](https://github.com/Alex313031/Mercury/releases/tag/v.115.3.0) | [files](https://github.com/Alex313031/Mercury/commit/eb9600f9fb8f48c8f5b5c6f3264fbcdb5caff7f5) (Sep 2023)
* [Waterfox](https://www.waterfox.net/en-US/docs/releases/G6.0/) | [files](https://github.com/WaterfoxCo/Waterfox/tree/current/waterfox/browser/app/profile) (Sep 2023) * [Waterfox](https://www.waterfox.net/en-US/docs/releases/G6.0/) | [files](https://github.com/WaterfoxCo/Waterfox/tree/current/waterfox/browser/app/profile) (Sep 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) (Apr 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) (Apr 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)
+34 -13
View File
@@ -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: 122 * * version: 126 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
* credit: Most prefs are reproduced and adapted from the arkenfox project * * credit: Most prefs are reproduced and adapted from the arkenfox project *
* credit urL: https://github.com/arkenfox/user.js * * credit urL: https://github.com/arkenfox/user.js *
@@ -89,7 +89,7 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
// 0=disabled, 1=enabled (default) // 0=disabled, 1=enabled (default)
//user_pref("security.sandbox.gpu.level", 1); // DEFAULT WINDOWS //user_pref("security.sandbox.gpu.level", 1); // DEFAULT WINDOWS
// PREF: State Paritioning [Dynamic First-Party Isolation (dFPI), Total Cookie Protection (TCP)] // PREF: State Partitioning [Dynamic First-Party Isolation (dFPI), Total Cookie Protection (TCP)]
// Firefox manages client-side state (i.e., data stored in the browser) to mitigate the ability of websites to abuse state // Firefox manages client-side state (i.e., data stored in the browser) to mitigate the ability of websites to abuse state
// for cross-site tracking. This effort aims to achieve that by providing what is effectively a "different", isolated storage // for cross-site tracking. This effort aims to achieve that by providing what is effectively a "different", isolated storage
// location to every website a user visits. // location to every website a user visits.
@@ -132,7 +132,7 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
// [3] https://searchfox.org/mozilla-central/source/browser/extensions/webcompat/data/shims.js // [3] https://searchfox.org/mozilla-central/source/browser/extensions/webcompat/data/shims.js
//user_pref("extensions.webcompat.enable_shims", true); // enabled with "Strict" //user_pref("extensions.webcompat.enable_shims", true); // enabled with "Strict"
// PREF: Redirect Tracking Prevention // PREF: Redirect Tracking Prevention / Cookie Purging
// All storage is cleared (more or less) daily from origins that are known trackers and that // All storage is cleared (more or less) daily from origins that are known trackers and that
// havent received a top-level user interaction (including scroll) within the last 45 days. // havent received a top-level user interaction (including scroll) within the last 45 days.
// [1] https://www.ghacks.net/2020/08/06/how-to-enable-redirect-tracking-in-firefox/ // [1] https://www.ghacks.net/2020/08/06/how-to-enable-redirect-tracking-in-firefox/
@@ -140,8 +140,17 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
// [3] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Privacy/Redirect_tracking_protection // [3] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Privacy/Redirect_tracking_protection
// [4] https://www.ghacks.net/2020/03/04/firefox-75-will-purge-site-data-if-associated-with-tracking-cookies/ // [4] https://www.ghacks.net/2020/03/04/firefox-75-will-purge-site-data-if-associated-with-tracking-cookies/
// [5] https://github.com/arkenfox/user.js/issues/1089 // [5] https://github.com/arkenfox/user.js/issues/1089
// [6] https://firefox-source-docs.mozilla.org/toolkit/components/antitracking/anti-tracking/cookie-purging/index.html
//user_pref("privacy.purge_trackers.enabled", true); // DEFAULT //user_pref("privacy.purge_trackers.enabled", true); // DEFAULT
// PREF: Bounce Tracking Protection [FF127+ NIGHTLY]
// A new standardised variant of Cookie Purging that uses heuristics to detect bounce trackers,
// rather than relying on tracker lists.
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1895222
// [2] https://groups.google.com/a/mozilla.org/g/dev-platform/c/M6erM0SjPTM
//user_pref("privacy.bounceTrackingProtection.enabled", true); // DEFAULT
//user_pref("privacy.bounceTrackingProtection.enableDryRunMode", false); // DEFAULT
// PREF: SameSite Cookies // PREF: SameSite Cookies
// Currently, the absence of the SameSite attribute implies that cookies will be // Currently, the absence of the SameSite attribute implies that cookies will be
// attached to any request for a given origin, no matter who initiated that request. // attached to any request for a given origin, no matter who initiated that request.
@@ -293,6 +302,12 @@ user_pref("security.pki.crlite_mode", 2);
//user_pref("security.enterprise_roots.enabled", false); //user_pref("security.enterprise_roots.enabled", false);
//user_pref("security.certerrors.mitm.auto_enable_enterprise_roots", false); //user_pref("security.certerrors.mitm.auto_enable_enterprise_roots", false);
// PREF: disable content analysis by DLP (Data Loss Prevention) agents [FF124+]
// DLP agents are background processes on managed computers that allow enterprises to monitor locally running
// applications for data exfiltration events, which they can allow/block based on customer defined DLP policies.
// [1] https://github.com/chromium/content_analysis_sdk
//user_pref("browser.contentanalysis.default_allow", false); // DEFAULT
/**************************************************************************** /****************************************************************************
* SECTION: SSL (Secure Sockets Layer) / TLS (Transport Layer Security) * * SECTION: SSL (Secure Sockets Layer) / TLS (Transport Layer Security) *
****************************************************************************/ ****************************************************************************/
@@ -527,10 +542,14 @@ user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
// [1] https://reddit.com/r/firefox/comments/xkzswb/adding_firefox_search_engine_manually/ // [1] https://reddit.com/r/firefox/comments/xkzswb/adding_firefox_search_engine_manually/
user_pref("browser.urlbar.update2.engineAliasRefresh", true); // HIDDEN user_pref("browser.urlbar.update2.engineAliasRefresh", true); // HIDDEN
// PREF: disable urlbar live search engine suggestions (Google, Bing, etc.) // PREF: disable live search suggestions (Google, Bing, etc.)
// [WARNING] Search engines keylog every character you type from the URL bar. // [WARNING] Search engines keylog every character you type from the URL bar.
// Override these if you trust and use a privacy respecting search engine.
// [NOTE] Both prefs must be true for live search to work in the location bar.
// [SETTING] Search>Provide search suggestions > Show search suggestions in address bar result
user_pref("browser.search.suggest.enabled", false); user_pref("browser.search.suggest.enabled", false);
//user_pref("browser.search.suggest.enabled.private", false); // DEFAULT //user_pref("browser.search.suggest.enabled.private", false); // DEFAULT
user_pref("browser.urlbar.suggest.searches", false);
// PREF: disable Firefox Suggest // PREF: disable Firefox Suggest
// [1] https://github.com/arkenfox/user.js/issues/1257 // [1] https://github.com/arkenfox/user.js/issues/1257
@@ -812,6 +831,10 @@ user_pref("signon.privateBrowsingCapture.enabled", false);
//user_pref("browser.contentblocking.report.lockwise.enabled", false); //user_pref("browser.contentblocking.report.lockwise.enabled", false);
//user_pref("browser.contentblocking.report.lockwise.how_it_works.url", ""); //user_pref("browser.contentblocking.report.lockwise.how_it_works.url", "");
// PREF: disable Firefox Relay
// Privacy & Security > Passwords > Suggest Firefox Relay email masks to protect your email address
//user_pref("signon.firefoxRelay.feature", "");
// PREF: disable websites autocomplete // PREF: disable websites autocomplete
// Don't let sites dictate use of saved logins and passwords. // Don't let sites dictate use of saved logins and passwords.
//user_pref("signon.storeWhenAutocompleteOff", false); //user_pref("signon.storeWhenAutocompleteOff", false);
@@ -1141,11 +1164,13 @@ user_pref("browser.safebrowsing.downloads.remote.enabled", false);
// [1] https://addons.mozilla.org/en-US/firefox/addon/xbs // [1] https://addons.mozilla.org/en-US/firefox/addon/xbs
// [2] https://github.com/arkenfox/user.js/issues/1175 // [2] https://github.com/arkenfox/user.js/issues/1175
//user_pref("identity.fxaccounts.enabled", false); //user_pref("identity.fxaccounts.enabled", false);
//user_pref("identity.fxaccounts.autoconfig.uri", "");
// PREF: disable Firefox View [FF106+] // PREF: disable Firefox View [FF106+]
// [1] https://support.mozilla.org/en-US/kb/how-set-tab-pickup-firefox-view#w_what-is-firefox-view // [1] https://support.mozilla.org/en-US/kb/how-set-tab-pickup-firefox-view#w_what-is-firefox-view
//user_pref("browser.tabs.firefox-view", false); //user_pref("browser.tabs.firefox-view", false);
//user_pref("browser.tabs.firefox-view-next", false); // [FF119+] //user_pref("browser.tabs.firefox-view-next", false); // [FF119+]
//user_pref("browser.tabs.firefox-view-newIcon", false); // [FF119+]
//user_pref("browser.firefox-view.search.enabled", false); // [FF122+] //user_pref("browser.firefox-view.search.enabled", false); // [FF122+]
//user_pref("browser.firefox-view.virtual-list.enabled", false); // [FF122+] //user_pref("browser.firefox-view.virtual-list.enabled", false); // [FF122+]
@@ -1153,10 +1178,10 @@ user_pref("browser.safebrowsing.downloads.remote.enabled", false);
//user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}"); //user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}");
// PREF: disable Push Notifications API [FF44+] // PREF: disable Push Notifications API [FF44+]
// [WHY] Website "push" requires subscription, and the API is required for CRLite.
// Push is an API that allows websites to send you (subscribed) messages even when the site // Push is an API that allows websites to send you (subscribed) messages even when the site
// isn't loaded, by pushing messages to your userAgentID through Mozilla's Push Server. // isn't loaded, by pushing messages to your userAgentID through Mozilla's Push Server.
// You shouldn't need to disable this. // You shouldn't need to disable this.
// [WHY] Push requires subscription.
// [NOTE] To remove all subscriptions, reset "dom.push.userAgentID" // [NOTE] To remove all subscriptions, reset "dom.push.userAgentID"
// [1] https://support.mozilla.org/en-US/kb/push-notifications-firefox // [1] https://support.mozilla.org/en-US/kb/push-notifications-firefox
// [2] https://developer.mozilla.org/en-US/docs/Web/API/Push_API // [2] https://developer.mozilla.org/en-US/docs/Web/API/Push_API
@@ -1275,10 +1300,6 @@ user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF]
user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF] user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
user_pref("toolkit.coverage.endpoint.base", ""); user_pref("toolkit.coverage.endpoint.base", "");
// PREF: disable PingCentre telemetry (used in several System Add-ons) [FF57+]
// Currently blocked by 'datareporting.healthreport.uploadEnabled'
user_pref("browser.ping-centre.telemetry", false);
// PREF: disable Firefox Home (Activity Stream) telemetry // PREF: disable Firefox Home (Activity Stream) telemetry
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false); user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
user_pref("browser.newtabpage.activity-stream.telemetry", false); user_pref("browser.newtabpage.activity-stream.telemetry", false);
@@ -1334,10 +1355,10 @@ user_pref("network.connectivity-service.enabled", false);
// PREF: "report extensions for abuse" // PREF: "report extensions for abuse"
//user_pref("extensions.abuseReport.enabled", false); //user_pref("extensions.abuseReport.enabled", false);
// PREF: check bundled omni JARs for corruption // PREF: SERP Telemetry [FF125+]
// [1] https://github.com/ghostery/user-agent-desktop/issues/141 // [1] https://blog.mozilla.org/en/products/firefox/firefox-search-update/
// [2] https://github.com/arkenfox/user.js/issues/791 //user_pref("browser.search.serpEventTelemetry.enabled", false); // [removed in FF128?]
//user_pref("corroborator.enabled", false); //user_pref("browser.search.serpEventTelemetryCategorization.enabled", false);
// PREF: assorted telemetry // PREF: assorted telemetry
// [NOTE] Shouldn't be needed for user.js, but browser forks // [NOTE] Shouldn't be needed for user.js, but browser forks
+11 -8
View File
@@ -3,14 +3,10 @@
* Smoothfox * * Smoothfox *
* "Faber est suae quisque fortunae" * * "Faber est suae quisque fortunae" *
* priority: better scrolling * * priority: better scrolling *
* version: 8 January 2024 * * version: 126 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
***************************************************************************************/ ***************************************************************************************/
// Note: msdPhysics was enabled by default for 122 Nightly.
// The options below have not been modified to account for this change.
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1846935
// Use only one option at a time! // Use only one option at a time!
// Reset prefs if you decide to use different option. // Reset prefs if you decide to use different option.
@@ -20,10 +16,14 @@
// credit: https://github.com/black7375/Firefox-UI-Fix // credit: https://github.com/black7375/Firefox-UI-Fix
// only sharpen scrolling // only sharpen scrolling
user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX
user_pref("general.smoothScroll", true); // DEFAULT
user_pref("mousewheel.min_line_scroll_amount", 10); // 10-40; adjust this number to your liking; default=5 user_pref("mousewheel.min_line_scroll_amount", 10); // 10-40; adjust this number to your liking; default=5
user_pref("general.smoothScroll.mouseWheel.durationMinMS", 80); // default=50 user_pref("general.smoothScroll.mouseWheel.durationMinMS", 80); // default=50
user_pref("general.smoothScroll.currentVelocityWeighting", "0.15"); // default=.25 user_pref("general.smoothScroll.currentVelocityWeighting", "0.15"); // default=.25
user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6"); // default=.4 user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6"); // default=.4
// Firefox Nightly only:
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1846935
user_pref("general.smoothScroll.msdPhysics.enabled", false); // [FF122+ Nightly]
/**************************************************************************************** /****************************************************************************************
* OPTION: INSTANT SCROLLING (SIMPLE ADJUSTMENT) * * OPTION: INSTANT SCROLLING (SIMPLE ADJUSTMENT) *
@@ -32,6 +32,9 @@ user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6"); // default=.
user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX
user_pref("general.smoothScroll", true); // DEFAULT user_pref("general.smoothScroll", true); // DEFAULT
user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-400; adjust this number to your liking user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-400; adjust this number to your liking
// Firefox Nightly only:
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1846935
user_pref("general.smoothScroll.msdPhysics.enabled", false); // [FF122+ Nightly]
/**************************************************************************************** /****************************************************************************************
* OPTION: SMOOTH SCROLLING * * OPTION: SMOOTH SCROLLING *
@@ -55,8 +58,8 @@ user_pref("general.smoothScroll.msdPhysics.enabled", true);
user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600); user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650); user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25); user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2.0); user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2);
user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250); user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
user_pref("general.smoothScroll.currentVelocityWeighting", 1.0); user_pref("general.smoothScroll.currentVelocityWeighting", 1);
user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0); user_pref("general.smoothScroll.stopDecelerationWeighting", 1);
user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400; adjust this number to your liking user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400; adjust this number to your liking
+1 -9
View File
@@ -21,13 +21,6 @@
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true); user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
user_pref("browser.sessionhistory.max_total_viewers", 4); // only remember # of pages in Back-Forward cache user_pref("browser.sessionhistory.max_total_viewers", 4); // only remember # of pages in Back-Forward cache
/** speculative load test ***/
user_pref("network.dns.disablePrefetchFromHTTPS", false);
//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);
/** 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
user_pref("signon.rememberSignons", false); // disable password manager user_pref("signon.rememberSignons", false); // disable password manager
@@ -39,7 +32,7 @@ user_pref("browser.urlbar.groupLabels.enabled", false); // hide Firefox Suggest
user_pref("signon.management.page.breach-alerts.enabled", false); // extra hardening user_pref("signon.management.page.breach-alerts.enabled", false); // extra hardening
user_pref("signon.autofillForms", false); // unselect "Autofill logins and passwords" for clean UI user_pref("signon.autofillForms", false); // unselect "Autofill logins and passwords" for clean UI
user_pref("signon.generation.enabled", false); // unselect "Suggest and generate strong passwords" for clean UI 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("signon.firefoxRelay.feature", ""); // unselect suggestions from Firefox Relay for clean UI
//user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear browsing data on shutdown //user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear browsing data on shutdown
//user_pref("privacy.clearOnShutdown.offlineApps", true); // clear Site Data on shutdown //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.enabled", false); // deny SB to scan downloads to identify suspicious files; local checks only
@@ -47,7 +40,6 @@ user_pref("browser.safebrowsing.downloads.remote.url", ""); // enforce no remote
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); // clean up UI; not needed in user.js if remote downloads are disabled user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); // clean up UI; not needed in user.js if remote downloads are disabled
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); // clean up UI; not needed in user.js if remote downloads are disabled user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); // clean up UI; not needed in user.js if remote downloads are disabled
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("browser.search.update", false); // do not update opensearch engines user_pref("browser.search.update", false); // do not update opensearch engines
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
+3 -6
View File
@@ -10,7 +10,7 @@
/**************************************************************************** /****************************************************************************
* Betterfox * * Betterfox *
* "Ad meliora" * * "Ad meliora" *
* version: 122 * * version: 126 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
****************************************************************************/ ****************************************************************************/
@@ -37,25 +37,23 @@ user_pref("media.cache_resume_threshold", 3600);
user_pref("image.mem.decode_bytes_at_a_time", 32768); user_pref("image.mem.decode_bytes_at_a_time", 32768);
/** NETWORK ***/ /** 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-connections", 1800);
user_pref("network.http.max-persistent-connections-per-server", 10); user_pref("network.http.max-persistent-connections-per-server", 10);
user_pref("network.http.max-urgent-start-excessive-connections-per-host", 5); user_pref("network.http.max-urgent-start-excessive-connections-per-host", 5);
user_pref("network.http.pacing.requests.enabled", false); user_pref("network.http.pacing.requests.enabled", false);
user_pref("network.dnsCacheExpiration", 3600); user_pref("network.dnsCacheExpiration", 3600);
user_pref("network.dns.max_high_priority_threads", 8);
user_pref("network.ssl_tokens_cache_capacity", 10240); user_pref("network.ssl_tokens_cache_capacity", 10240);
/** SPECULATIVE LOADING ***/ /** SPECULATIVE LOADING ***/
user_pref("network.dns.disablePrefetch", true); user_pref("network.dns.disablePrefetch", true);
user_pref("network.dns.disablePrefetchFromHTTPS", true);
user_pref("network.prefetch-next", false); user_pref("network.prefetch-next", false);
user_pref("network.predictor.enabled", false); user_pref("network.predictor.enabled", false);
user_pref("network.predictor.enable-prefetch", false);
/** EXPERIMENTAL ***/ /** EXPERIMENTAL ***/
user_pref("layout.css.grid-template-masonry-value.enabled", true); user_pref("layout.css.grid-template-masonry-value.enabled", true);
user_pref("dom.enable_web_task_scheduling", true); user_pref("dom.enable_web_task_scheduling", true);
user_pref("layout.css.has-selector.enabled", true);
user_pref("dom.security.sanitizer.enabled", true); user_pref("dom.security.sanitizer.enabled", true);
/**************************************************************************** /****************************************************************************
@@ -151,7 +149,6 @@ user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
user_pref("toolkit.telemetry.coverage.opt-out", true); user_pref("toolkit.telemetry.coverage.opt-out", true);
user_pref("toolkit.coverage.opt-out", true); user_pref("toolkit.coverage.opt-out", true);
user_pref("toolkit.coverage.endpoint.base", ""); user_pref("toolkit.coverage.endpoint.base", "");
user_pref("browser.ping-centre.telemetry", false);
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false); user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
user_pref("browser.newtabpage.activity-stream.telemetry", false); user_pref("browser.newtabpage.activity-stream.telemetry", false);