Skip to content

Commit c5fca2d

Browse files
authored
v127-128 (#301)
1 parent 9756922 commit c5fca2d

File tree

6 files changed

+231
-155
lines changed

6 files changed

+231
-155
lines changed

Fastfox.js

+15-35
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Fastfox *
44
* "Non ducor duco" *
55
* priority: speedy browsing *
6-
* version: 126 *
6+
* version: 128 *
77
* url: https://github.com/yokoffing/Betterfox *
88
***************************************************************************************/
99

@@ -98,14 +98,6 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s)
9898
//user_pref("gfx.webrender.software", true); // Software Webrender uses CPU instead of GPU
9999
//user_pref("gfx.webrender.software.opengl", true); // LINUX
100100

101-
// PREF: NVIDIA RTX Video Super Resolution and RTX Video HDR [WINDOWS] [FF125+]
102-
// Super Resolution activiates on video content 720p or below.
103-
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1823135
104-
// [2] https://www.reddit.com/r/firefox/comments/17a0noa/nvidia_video_super_resolution_not_working_on/
105-
// [3] https://blogs.nvidia.com/blog/ai-decoded-rtxvideo-firefox/
106-
// [4] https://www.mozilla.org/en-US/firefox/126.0/releasenotes/
107-
//user_pref("gfx.webrender.super-resolution.nvidia", true); // [REMOVED]
108-
109101
// PREF: GPU-accelerated Canvas2D
110102
// Use gpu-canvas instead of to skia-canvas.
111103
// [WARNING] May cause issues on some Windows machines using integrated GPUs [2] [3]
@@ -409,18 +401,26 @@ user_pref("network.ssl_tokens_cache_capacity", 10240); // default=2048; more TLS
409401
// [5] https://3perf.com/blog/link-rels/#prefetch
410402
//user_pref("network.http.speculative-parallel-limit", 20); // DEFAULT (FF127+?)
411403

412-
// PREF: DNS prefetching <link rel="dns-prefetch">
404+
// PREF: DNS prefetching for HTMLLinkElement <link rel="dns-prefetch">
413405
// Used for cross-origin connections to provide small performance improvements.
414-
// Disable DNS prefetching to prevent Firefox from proactively resolving
415-
// hostnames for other domains linked on a page. This may eliminate
416-
// unnecessary DNS lookups, but can increase latency when following external links.
406+
// You can enable rel=dns-prefetch for the HTTPS document without prefetching
407+
// DNS for anchors, whereas the latter makes more specualtive requests [5].
417408
// [1] https://bitsup.blogspot.com/2008/11/dns-prefetching-for-firefox.html
418409
// [2] https://css-tricks.com/prefetching-preloading-prebrowsing/#dns-prefetching
419410
// [3] https://www.keycdn.com/blog/resource-hints#2-dns-prefetching
420411
// [4] http://www.mecs-press.org/ijieeb/ijieeb-v7-n5/IJIEEB-V7-N5-2.pdf
421-
// [5] https://bugzilla.mozilla.org/show_bug.cgi?id=1596935
412+
// [5] https://bugzilla.mozilla.org/show_bug.cgi?id=1596935#c28
422413
user_pref("network.dns.disablePrefetch", true);
423-
user_pref("network.dns.disablePrefetchFromHTTPS", true); // (FF127+ false)
414+
user_pref("network.dns.disablePrefetchFromHTTPS", true); // [FF127+ false]
415+
416+
// PREF: DNS prefetch for HTMLAnchorElement (speculative DNS)
417+
// Disable speculative DNS calls to prevent Firefox from resolving
418+
// hostnames for other domains linked on a page. This may eliminate
419+
// unnecessary DNS lookups, but can increase latency when following external links.
420+
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1596935#c28
421+
// [2] https://github.com/arkenfox/user.js/issues/1870#issuecomment-2220773972
422+
//user_pref("dom.prefetch_dns_for_anchor_http_document", false); // [FF128+]
423+
//user_pref("dom.prefetch_dns_for_anchor_https_document", false); // DEFAULT [FF128+]
424424

425425
// PREF: enable <link rel="preconnect"> tag and Link: rel=preconnect response header handling
426426
//user_pref("network.preconnect", true); // DEFAULT
@@ -438,26 +438,6 @@ user_pref("network.dns.disablePrefetchFromHTTPS", true); // (FF127+ false)
438438
// Whether to warm up network connections for places:menus and places:toolbar.
439439
//user_pref("browser.places.speculativeConnect.enabled", false);
440440

441-
// PREF: network preload <link rel="preload"> [REMOVED]
442-
// Used to load high-priority resources faster on the current page, for strategic
443-
// performance improvements.
444-
// Instructs the browser to immediately fetch and cache high-priority resources
445-
// for the current page to improve performance. The browser downloads resources
446-
// but does not execute scripts or apply stylesheets - it just caches them for
447-
// instant availability later.
448-
// Unlike other pre-connection tags (except modulepreload), this tag is
449-
// mandatory for the browser.
450-
// [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload
451-
// [2] https://w3c.github.io/preload/
452-
// [3] https://3perf.com/blog/link-rels/#preload
453-
// [4] https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf
454-
// [5] https://www.smashingmagazine.com/2016/02/preload-what-is-it-good-for/#how-can-preload-do-better
455-
// [6] https://www.keycdn.com/blog/resource-hints#preload
456-
// [7] https://github.com/arkenfox/user.js/issues/1098#issue-791949341
457-
// [8] https://yashints.dev/blog/2018/10/06/web-perf-2#preload
458-
// [9] https://web.dev/preload-critical-assets/
459-
//user_pref("network.preload", true); // [REMOVED]
460-
461441
// PREF: network module preload <link rel="modulepreload"> [FF115+]
462442
// High-priority loading of current page JavaScript modules.
463443
// Used to preload high-priority JavaScript modules for strategic performance improvements.

Peskyfox.js

+7-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Peskyfox *
44
* "Aquila non capit muscas" *
55
* priority: remove annoyances *
6-
* version: 126 *
6+
* version: 128 *
77
* url: https://github.com/yokoffing/Betterfox *
88
* credit: Some prefs are reproduced and adapted from the arkenfox project *
99
* credit urL: https://github.com/arkenfox/user.js *
@@ -105,9 +105,6 @@ user_pref("layout.css.prefers-color-scheme.content-override", 2);
105105
// PREF: prevent private windows being separate from normal windows in taskbar [WINDOWS] [FF106+]
106106
user_pref("browser.privateWindowSeparation.enabled", false);
107107

108-
// PREF: reduce the size of the "private window" indicator in tab bar [FF106+]
109-
//user_pref("browser.privatebrowsing.enable-new-indicator", false); // REMOVED [FF119+]
110-
111108
// PREF: show search bar [FF122+]
112109
// Mozilla has removed the search bar option from the settings window.
113110
//user_pref("browser.search.widget.inNavBar", true);
@@ -238,7 +235,9 @@ user_pref("browser.urlbar.trending.featureGate", false);
238235
//user_pref("browser.urlbar.maxRichResults", 5); // default=10
239236

240237
// PREF: text fragments [FF126+ NIGHTLY]
241-
// [1] https://developer.mozilla.org/en-US/docs/Web/Text_fragments
238+
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1753933#c6
239+
// [2] https://developer.mozilla.org/en-US/docs/Web/Text_fragments
240+
// [3] https://web.dev/articles/text-fragments
242241
//user_pref("dom.text_fragments.enabled", true);
243242

244243
/****************************************************************************
@@ -601,3 +600,6 @@ user_pref("layout.word_select.eat_space_to_next_word", false);
601600

602601
// PREF: always underline links [FF120+]
603602
//user_pref("layout.css.always_underline_links", false); // DEFAULT
603+
604+
// PREF: hide frequent sites on right-click of taskbar icon [WINDOWS?]
605+
//user_pref("browser.taskbar.lists.frequent.enabled", false);

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
## Made for everyday browsing
1313
**A secure, blazing fast browsing experience. Without breakage.**
1414

15-
Betterfox is an opinionated preference list inspired by the [law of diminishing returns](http://psychologyofwellbeing.com/wp-content/uploads/2017/01/Diminishing-Returns.gif) and the [minimum effective dose](https://medium.com/the-mission/less-is-more-the-minimum-effective-dose-e6d56625931e).
15+
Betterfox is an opinionated preference list inspired by the [law of diminishing returns](https://web.archive.org/web/20231108092752if_/https://pmctraining.com/site/wp-content/uploads/2018/04/Law-of-Diminishing-Returns-CHART.png) and the [minimum effective dose](https://medium.com/the-mission/less-is-more-the-minimum-effective-dose-e6d56625931e).
1616

1717
## Required reading
1818
*If you don't have it already: [Get Firefox](https://www.mozilla.org/en-US/firefox/all/#product-desktop-release)*
@@ -86,9 +86,10 @@ The `user.js` — a configuration file that controls Firefox settings — is cur
8686
* “I use this one ... The performance is absolutely amazing. There’s definitely a huge difference when it comes to loading sites.” - [DIRIKtv](https://youtu.be/N8IOJiOFVEk?t=16)
8787
* "BetterFox ... will provide good-enough privacy and help with performance." - [Qdoit12Super](https://old.reddit.com/r/browsers/comments/139h4my/suggestion_for_finding_3_good_privacy_focus/jj3n3qn/?context=2)
8888
* "...drastically changed the experience with Firefox for me. Improved speed, security, smoothness, and removed clutter." - [AppDate](https://www.appdate.lk/technology/2023-browser-showdown/#:~:text=Used%20the%20BetterFox%20user%20config%20settings%20with%20some%20overrides%20which%20drastically%20changed%20the%20experience)
89+
* "Firefox with uBlock Origin extension and tuned with Betterfox is faster than Safari." - [cugeloid](https://elephas.app/blog/best-browsers-mac#what-is-the-best-browser-for-mac-according-to-redditandnbsp)
8990
* "I don't think I could use Firefox without Betterfox." - [Professional_Fun4616](https://old.reddit.com/r/nextdns/comments/15y815f/the_people_behind_betterfox_have_this_awesome/jxb7cir/?context=3)
9091
* "The best collection of tweaks available." - [AuRiMaS](https://old.reddit.com/r/MozillaFirefox/comments/15cc1vk/about_changes_in_aboutconfig/jtyx910/?context=3)
91-
* "FF is now much snappier! Thanks a lot for the suggestions!" - [whotheff](https://old.reddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz/)
92+
* "FF is now much snappier!" - [whotheff](https://old.reddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz/)
9293
* "...the experience is so good now I don’t think I’ll go back to any of the chromium based browsers." - [Mr_Compromise](https://old.reddit.com/r/pcmasterrace/comments/zwioe1/what_browser_will_you_be_using_in_2023_please/j1wmbxo/)
9394

9495
## Support

0 commit comments

Comments
 (0)