Skip to content

Commit 14de7b1

Browse files
authored
v120-122 (#268)
1 parent 27bcd88 commit 14de7b1

File tree

7 files changed

+101
-69
lines changed

7 files changed

+101
-69
lines changed

Fastfox.js

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

@@ -75,6 +75,9 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s)
7575
// PREF: disable preSkeletonUI on startup [WINDOWS]
7676
//user_pref("browser.startup.preXulSkeletonUI", false);
7777

78+
// PREF: lazy load iframes
79+
//user_pref("dom.iframe_lazy_loading.enabled", true); // DEFAULT [FF121+]
80+
7881
/****************************************************************************
7982
* SECTION: GFX RENDERING TWEAKS *
8083
****************************************************************************/

Peskyfox.js

+47-29
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
* Peskyfox *
44
* "Aquila non capit muscas" *
55
* priority: remove annoyances *
6-
* version: 119 *
6+
* version: 122 *
77
* url: https://github.com/yokoffing/Betterfox *
8+
* credit: Some prefs are reproduced and adapted from the arkenfox project *
9+
* credit urL: https://github.com/arkenfox/user.js *
810
***************************************************************************/
911

1012
/****************************************************************************
@@ -32,7 +34,8 @@ user_pref("browser.discovery.enabled", false);
3234
// [2] https://github.com/arkenfox/user.js/issues/1730
3335
// [3] https://www.fakespot.com/
3436
// [4] https://www.ghacks.net/2023/10/12/firefox-will-soon-tell-you-if-product-reviews-are-reliable/
35-
//user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false]
37+
//user_pref("browser.shopping.experience2023.enabled", false); // DEFAULT
38+
//user_pref("browser.shopping.experience2023.ads.exposure", false); // DEFAULT [FF121+]
3639

3740
// PREF: disable Firefox from asking to set as the default browser
3841
// [1] https://github.com/yokoffing/Betterfox/issues/166
@@ -46,12 +49,6 @@ user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features",
4649
// PREF: hide "More from Mozilla" in Settings
4750
user_pref("browser.preferences.moreFromMozilla", false);
4851

49-
// PREF: only show List All Tabs icon when needed
50-
// true=always show tab overflow dropdown (FF106+ default)
51-
// false=only display tab dropdown when there are too many tabs
52-
// [1] https://www.ghacks.net/2022/10/19/how-to-hide-firefoxs-list-all-tabs-icon/
53-
user_pref("browser.tabs.tabmanager.enabled", false);
54-
5552
// PREF: tab and about:config warnings
5653
//user_pref("browser.tabs.warnOnClose", false); // DEFAULT [FF94+]
5754
//user_pref("browser.tabs.warnOnCloseOtherTabs", true); // DEFAULT
@@ -68,6 +65,15 @@ user_pref("browser.aboutwelcome.enabled", false); // disable Intro screens
6865
// PREF: disable "What's New" toolbar icon [FF69+]
6966
//user_pref("browser.messaging-system.whatsNewPanel.enabled", false);
7067

68+
// PREF: only show List All Tabs icon when needed
69+
// true=always show tab overflow dropdown (FF106+ default)
70+
// false=only display tab dropdown when there are too many tabs
71+
// [1] https://www.ghacks.net/2022/10/19/how-to-hide-firefoxs-list-all-tabs-icon/
72+
user_pref("browser.tabs.tabmanager.enabled", false);
73+
74+
// PREF: enable new screenshot tool [FF122+]
75+
//user_pref("screenshots.browser.component.enabled", true);
76+
7177
/****************************************************************************
7278
* SECTION: THEME ADJUSTMENTS *
7379
****************************************************************************/
@@ -102,6 +108,10 @@ user_pref("browser.privateWindowSeparation.enabled", false);
102108
// PREF: reduce the size of the "private window" indicator in tab bar [FF106+]
103109
//user_pref("browser.privatebrowsing.enable-new-indicator", false); // REMOVED [FF119+]
104110

111+
// PREF: show search bar [FF122+]
112+
// Mozilla has removed the search bar option from the settings window.
113+
//user_pref("browser.search.widget.inNavBar", true);
114+
105115
/****************************************************************************
106116
* SECTION: COOKIE BANNER HANDLING *
107117
****************************************************************************/
@@ -121,7 +131,8 @@ user_pref("cookiebanners.service.mode.privateBrowsing", 1);
121131
// PREF: Cookie Banner global rules
122132
// Global rules that can handle a list of cookie banner libraries and providers on any site.
123133
// This is used for click rules that can handle common Consent Management Providers (CMP).
124-
user_pref("cookiebanners.service.enableGlobalRules", true);
134+
//user_pref("cookiebanners.service.enableGlobalRules", true); // DEFAULT [FF121+]
135+
//user_pref("cookiebanners.service.enableGlobalRules.subFrames", true); // DEFAULT [FF121+]
125136

126137
/****************************************************************************
127138
* SECTION: TRANSLATIONS *
@@ -179,15 +190,16 @@ user_pref("full-screen-api.warning.timeout", 0); // default=3000
179190

180191
// PREF: minimize URL bar suggestions (bookmarks, history, open tabs)
181192
// Dropdown options in the URL bar:
182-
//user_pref("browser.urlbar.suggest.bookmark", true); // DEFAULT
183-
user_pref("browser.urlbar.suggest.engines", false);
184193
//user_pref("browser.urlbar.suggest.history", false);
194+
//user_pref("browser.urlbar.suggest.bookmark", true); // DEFAULT
195+
//user_pref("browser.urlbar.suggest.clipboard", false);
185196
//user_pref("browser.urlbar.suggest.openpage", false);
186-
//user_pref("browser.urlbar.suggest.searches", false);
197+
user_pref("browser.urlbar.suggest.engines", false);
198+
//user_pref("browser.urlbar.suggest.searches", false);
199+
//user_pref("browser.urlbar.quickactions.enabled", false);
200+
//user_pref("browser.urlbar.shortcuts.quickactions", false);
187201
//user_pref("browser.urlbar.suggest.weather", true); // DEFAULT [FF108]
188202
//user_pref("browser.urlbar.weather.ignoreVPN", false); // DEFAULT
189-
//user_pref("browser.urlbar.quickactions.enabled", false); // NIGHTLY
190-
//user_pref("browser.urlbar.shortcuts.quickactions", false); // NIGHTLY
191203
user_pref("browser.urlbar.suggest.calculator", true);
192204
user_pref("browser.urlbar.unitConversion.enabled", true);
193205

@@ -204,9 +216,7 @@ user_pref("browser.urlbar.trending.featureGate", false);
204216
//user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF]
205217
//user_pref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false]
206218
//user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false]
207-
208-
// PREF: disable urlbar clipboard suggestions [FF118+]
209-
//user_pref("browser.urlbar.clipboard.featureGate", false); // [DEFAULT: false]
219+
//user_pref("browser.urlbar.clipboard.featureGate", false); // [FF118+] [DEFAULT: false]
210220

211221
// PREF: disable tab-to-search [FF85+]
212222
// Alternatively, you can exclude on a per-engine basis by unchecking them in Options>Search
@@ -312,31 +322,33 @@ user_pref("extensions.pocket.enabled", false);
312322
* SECTION: DOWNLOADS *
313323
******************************************************************************/
314324

315-
// PREF: autohide the downloads button
316-
//user_pref("browser.download.autohideButton", true); // DEFAULT
317-
318325
// PREF: choose download location
319326
// [SETTING] To set your default "downloads": General>Downloads>Save files to...
320327
// 0=desktop, 1=downloads (default), 2=last used
321328
//user_pref("browser.download.folderList", 1); // DEFAULT
322329

323-
// PREF: always ask where to download
330+
// PREF: always ask how to handle new mimetypes [FF101+]
324331
// Enforce user interaction for greater security.
332+
// [SETTING] General>Files and Applications>Applications>What should Firefox do with other files?
333+
// false=Save files
334+
// true=Ask whether to open or save files
335+
user_pref("browser.download.always_ask_before_handling_new_types", true);
336+
337+
// PREF: always ask where to download
338+
// [OPTIONAL HARDENING] Enforce user interaction for greater security.
325339
// [SETTING] General>Files and Applications>Downloads>Always ask you where to save files
326340
// [DIALOGUE] "Ask whether to open or save files"
327341
// true=direct download (default)
328342
// false=the user is asked what to do
329-
// [1] https://github.com/yokoffing/Betterfox/issues/216
330-
user_pref("browser.download.useDownloadDir", false);
343+
// [1] https://github.com/yokoffing/Betterfox/issues/267
344+
//user_pref("browser.download.useDownloadDir", false);
331345
//user_pref("browser.download.dir", "C:\Users\<YOUR_USERNAME>\AppData\Local\Temp"); // [WINDOWS]
332346

333-
// PREF: always ask how to handle new mimetypes
334-
// Enforce user interaction for greater security.
335-
// [SETTING] General>Files and Applications>Applications>What should Firefox do with other files?>Ask whether to open or save files
336-
user_pref("browser.download.always_ask_before_handling_new_types", true);
347+
// PREF: autohide the downloads button
348+
//user_pref("browser.download.autohideButton", true); // DEFAULT
337349

338-
// PREF: disable downloads panel opening on every download
339-
// Controls whether to open the downloads panel every time a download begins.
350+
// PREF: disable download panel opening on every download [non-functional?]
351+
// Controls whether to open the download panel every time a download begins.
340352
// [NOTE] The first download ever ran in a new profile will still open the panel.
341353
//user_pref("browser.download.alwaysOpenPanel", false);
342354

@@ -484,6 +496,9 @@ user_pref("layout.word_select.eat_space_to_next_word", false);
484496
//user_pref("dom.disable_open_during_load", true); // DEFAULT
485497
//user_pref("privacy.popups.showBrowserMessage", true); // DEFAULT
486498

499+
// PREF: enable Tab Preview [FF122+]
500+
//user_pref("browser.tabs.cardPreview.enabled", true);
501+
487502
/****************************************************************************
488503
* SECTION: UNCATEGORIZED *
489504
****************************************************************************/
@@ -573,3 +588,6 @@ user_pref("layout.word_select.eat_space_to_next_word", false);
573588
// Still needed for Stylus?
574589
// [1] https://reddit.com/r/FirefoxCSS/comments/8x2q97/reenabling_mozdocument_rules_in_firefox_61/
575590
//user_pref("layout.css.moz-document.content.enabled", true);
591+
592+
// PREF: always underline links [FF120+]
593+
//user_pref("layout.css.always_underline_links", false); // DEFAULT

README.md

+14-8
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212

1313
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).
1414

15-
## Getting started
15+
## Required reading
1616
*If you don't have it already: [Get Firefox](https://www.mozilla.org/en-US/firefox/all/#product-desktop-release)*
1717

18-
1) Create a [backup profile](https://github.com/yokoffing/Betterfox/wiki/Backup).
19-
2) Download the user.js file [here](https://raw.githubusercontent.com/yokoffing/Betterfox/main/user.js) (Right click > `Save Link As…`).
20-
3) Review [Common Overrides](https://github.com/yokoffing/Betterfox/wiki/Common-Overrides) and make any necessary changes.
18+
0) Create a [backup profile](https://github.com/yokoffing/Betterfox/wiki/Backup).
19+
1) Download the user.js file [here](https://raw.githubusercontent.com/yokoffing/Betterfox/main/user.js) (Right click > `Save Link As…`).
20+
2) Review [Common Overrides](https://github.com/yokoffing/Betterfox/wiki/Common-Overrides) and make any necessary changes.
2121
* See also [Optional Hardening](https://github.com/yokoffing/Betterfox/wiki/Optional-Hardening) for other recommendations.
22-
4) Open Firefox. In the URL bar, type `about:profiles` and press **Enter**.
23-
5) For the profile you want to use (or use default), click **Open Folder** in the **Root Directory** section.
24-
6) Move the `user.js` file into the folder.
22+
3) Open Firefox. In the URL bar, type `about:profiles` and press **Enter**.
23+
4) For the profile you want to use (or use default), click **Open Folder** in the **Root Directory** section.
24+
5) Move the `user.js` file into the folder.
2525

2626
*After restarting Firefox:*
2727
1) Get an **ad blocker** like [uBlock Origin](https://addons.mozilla.org/blog/ublock-origin-everything-you-need-to-know-about-the-ad-blocker/) with our [recommended filters](https://github.com/yokoffing/filterlists#guidelines).
@@ -51,6 +51,7 @@ The `user.js` — a configuration file that controls Firefox settings — is cur
5151
## Recognition
5252

5353
### Browser Integration
54+
* [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?)
5455
* [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)
5556
* [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)
5657
* [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)
@@ -67,6 +68,8 @@ The `user.js` — a configuration file that controls Firefox settings — is cur
6768
* [GhoSTORIES with Franz & Pete](https://anchor.fm/ghostories/episodes/S2E6-We-Talking-Ghostery-Dawn----Again-er0q02/a-a4o5vmh) | 17:05–18:40 (Feb 2021)
6869

6970
### Articles
71+
* [Browsers for Daily Using](https://anhkhoakz.neocities.org/blog/browsers-for-daily-using) (Jan 2024)
72+
* [Avoiding Manifest V3 – Escaping the Ad-Pocalypse](https://www.xbitlabs.com/avoiding-manifest-v3/) (Dec 2023)
7073
* [German] [Pulse Browser Review: Firefox fork with Turbo tweaks and Opera sidebar](https://www.computerbild.de/artikel/cb-Tipps-Software-Pulse-Browser-Review-ein-Firefox-Fork-mit-Seitenleiste-wie-bei-Opera-35644139.html#:~:text=Noch%20mehr%20Speed%2DFeatures) (Apr 2023)
7174
* [2023 Browser Showdown: Comparing Chrome, Brave, Firefox, Vivaldi, and Opera](https://www.appdate.lk/technology/2023-browser-showdown/) (Jan 2023)
7275

@@ -91,8 +94,11 @@ If you like the project, leave a :star: (top right) and become a [stargazer](htt
9194

9295
[![Stargazers repo roster for @yokoffing/Betterfox](https://reporoster.com/stars/dark/yokoffing/Betterfox)](https://github.com/yokoffing/Betterfox/stargazers)
9396

97+
<a href='https://ko-fi.com/Q5Q5G8EPH' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi2.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
98+
<noscript><a href="https://liberapay.com/yokoffing/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></noscript>
99+
94100
## Credit
95-
* Betterfox builds on the ongoing work and research provided by [arkenfox](https://github.com/arkenfox/user.js). Where there are questions regarding originality, credit belongs to arkenfox.
101+
* Betterfox mirrors the ongoing work provided by [arkenfox](https://github.com/arkenfox/user.js). Additionally, this repository includes content reproduced or adapted from other sources. Credit for overlapping material goes to the original authors.
96102
* Appreciation goes to the [Firefox](https://www.mozilla.org/en-US/firefox/new/) team and developers working on [Bugzilla](https://bugzilla.mozilla.org/home), fighting for the open web.
97103
* A special thanks to [Alex Kontos](https://github.com/MrAlex94) of [Waterfox](https://github.com/WaterfoxCo/Waterfox) for his collaboration in v.116.
98104
* Many thanks to the 2021 [Ghostery](https://github.com/ghostery) team for testing Betterfox at scale in its early days.

0 commit comments

Comments
 (0)