mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d81cd4094 | |||
| ad9a3b4693 | |||
| 9727810114 | |||
| e66de491ac | |||
| 82553f0167 |
+9
-9
@@ -78,6 +78,15 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s)
|
|||||||
// PREF: lazy load iframes
|
// PREF: lazy load iframes
|
||||||
//user_pref("dom.iframe_lazy_loading.enabled", true); // DEFAULT [FF121+]
|
//user_pref("dom.iframe_lazy_loading.enabled", true); // DEFAULT [FF121+]
|
||||||
|
|
||||||
|
// PREF: Prioritized Task Scheduling API
|
||||||
|
// [1] https://github.com/yokoffing/Betterfox/issues/355
|
||||||
|
// [2] https://blog.mozilla.org/performance/2022/06/02/prioritized-task-scheduling-api-is-prototyped-in-nightly/
|
||||||
|
// [3] https://medium.com/airbnb-engineering/building-a-faster-web-experience-with-the-posttask-scheduler-276b83454e91
|
||||||
|
// [4] https://github.com/WICG/scheduling-apis/blob/main/explainers/prioritized-post-task.md
|
||||||
|
// [5] https://wicg.github.io/scheduling-apis/
|
||||||
|
// [6] https://caniuse.com/mdn-api_taskcontroller
|
||||||
|
//user_pref("dom.enable_web_task_scheduling", true); // DEFAULT [FF142+]
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: GFX RENDERING TWEAKS *
|
* SECTION: GFX RENDERING TWEAKS *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -543,15 +552,6 @@ user_pref("network.predictor.enabled", false);
|
|||||||
// [2] https://www.smashingmagazine.com/native-css-masonry-layout-css-grid/
|
// [2] https://www.smashingmagazine.com/native-css-masonry-layout-css-grid/
|
||||||
user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
||||||
|
|
||||||
// PREF: Prioritized Task Scheduling API [NIGHTLY]
|
|
||||||
// [1] https://github.com/yokoffing/Betterfox/issues/355
|
|
||||||
// [2] https://blog.mozilla.org/performance/2022/06/02/prioritized-task-scheduling-api-is-prototyped-in-nightly/
|
|
||||||
// [3] https://medium.com/airbnb-engineering/building-a-faster-web-experience-with-the-posttask-scheduler-276b83454e91
|
|
||||||
// [4] https://github.com/WICG/scheduling-apis/blob/main/explainers/prioritized-post-task.md
|
|
||||||
// [5] https://wicg.github.io/scheduling-apis/
|
|
||||||
// [6] https://caniuse.com/mdn-api_taskcontroller
|
|
||||||
//user_pref("dom.enable_web_task_scheduling", true);
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: TAB UNLOAD *
|
* SECTION: TAB UNLOAD *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
+27
-14
@@ -3,7 +3,7 @@
|
|||||||
* Peskyfox *
|
* Peskyfox *
|
||||||
* "Aquila non capit muscas" *
|
* "Aquila non capit muscas" *
|
||||||
* priority: remove annoyances *
|
* priority: remove annoyances *
|
||||||
* version: 137 *
|
* version: 142 *
|
||||||
* 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 *
|
||||||
@@ -29,14 +29,6 @@ user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
|||||||
// [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to make personalized extension recommendations
|
// [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to make personalized extension recommendations
|
||||||
user_pref("browser.discovery.enabled", false);
|
user_pref("browser.discovery.enabled", false);
|
||||||
|
|
||||||
// PREF: disable Fakespot integration [FF116+]
|
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1840156#c0
|
|
||||||
// [2] https://github.com/arkenfox/user.js/issues/1730
|
|
||||||
// [3] https://www.fakespot.com/
|
|
||||||
// [4] https://www.ghacks.net/2023/10/12/firefox-will-soon-tell-you-if-product-reviews-are-reliable/
|
|
||||||
//user_pref("browser.shopping.experience2023.enabled", false); // DEFAULT
|
|
||||||
//user_pref("browser.shopping.experience2023.ads.exposure", false); // DEFAULT [FF121+]
|
|
||||||
|
|
||||||
// PREF: disable Firefox from asking to set as the default browser
|
// PREF: disable Firefox from asking to set as the default browser
|
||||||
// [1] https://github.com/yokoffing/Betterfox/issues/166
|
// [1] https://github.com/yokoffing/Betterfox/issues/166
|
||||||
user_pref("browser.shell.checkDefaultBrowser", false);
|
user_pref("browser.shell.checkDefaultBrowser", false);
|
||||||
@@ -104,6 +96,23 @@ user_pref("browser.privateWindowSeparation.enabled", false);
|
|||||||
// PREF: new tab page wallpapers
|
// PREF: new tab page wallpapers
|
||||||
//user_pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", true); // [DEFAULT FF132+]
|
//user_pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", true); // [DEFAULT FF132+]
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* SECTION: AI *
|
||||||
|
****************************************************************************/
|
||||||
|
// PREF: AI master switch
|
||||||
|
// [1] https://github.com/yokoffing/Betterfox/issues/416
|
||||||
|
user_pref("browser.ml.enable", false);
|
||||||
|
|
||||||
|
// PREF: AI chat
|
||||||
|
user_pref("browser.ml.chat.enabled", false);
|
||||||
|
|
||||||
|
// PREF: link previews
|
||||||
|
//user_pref("browser.ml.linkPreview.enabled", false);
|
||||||
|
|
||||||
|
// PREF: AI-enhanced tab groups
|
||||||
|
// [1] https://support.mozilla.org/kb/how-use-ai-enhanced-tab-groups
|
||||||
|
//user_pref("browser.tabs.groups.smart.enabled", false);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: COOKIE BANNER HANDLING *
|
* SECTION: COOKIE BANNER HANDLING *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -195,7 +204,7 @@ user_pref("browser.urlbar.suggest.engines", false);
|
|||||||
//user_pref("browser.urlbar.suggest.weather", true); // DEFAULT [FF108]
|
//user_pref("browser.urlbar.suggest.weather", true); // DEFAULT [FF108]
|
||||||
//user_pref("browser.urlbar.weather.ignoreVPN", false); // DEFAULT
|
//user_pref("browser.urlbar.weather.ignoreVPN", false); // DEFAULT
|
||||||
//user_pref("browser.urlbar.suggest.calculator", true); // [DEFAULT FF137+]
|
//user_pref("browser.urlbar.suggest.calculator", true); // [DEFAULT FF137+]
|
||||||
user_pref("browser.urlbar.unitConversion.enabled", true);
|
//user_pref("browser.urlbar.unitConversion.enabled", true); // [DEFAULT FF141+]
|
||||||
|
|
||||||
// PREF: disable dropdown suggestions with empty query
|
// PREF: disable dropdown suggestions with empty query
|
||||||
//user_pref("browser.urlbar.suggest.topsites", false);
|
//user_pref("browser.urlbar.suggest.topsites", false);
|
||||||
@@ -207,10 +216,11 @@ user_pref("browser.urlbar.trending.featureGate", false);
|
|||||||
|
|
||||||
// PREF: disable urlbar suggestions
|
// PREF: disable urlbar suggestions
|
||||||
//user_pref("browser.urlbar.addons.featureGate", false); // [FF115+]
|
//user_pref("browser.urlbar.addons.featureGate", false); // [FF115+]
|
||||||
|
//user_pref("browser.urlbar.amp.featureGate", false); // [FF141+] adMarketplace
|
||||||
//user_pref("browser.urlbar.fakespot.featureGate", false); // [FF130+] [DEFAULT: false]
|
//user_pref("browser.urlbar.fakespot.featureGate", false); // [FF130+] [DEFAULT: 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.weather.featureGate", false); // [FF108+] [DEFAULT: false]
|
//user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false]
|
||||||
|
//user_pref("browser.urlbar.wikipedia.featureGate", false); // [FF141+]
|
||||||
//user_pref("browser.urlbar.clipboard.featureGate", false); // [FF118+] [DEFAULT: true FF125+]
|
//user_pref("browser.urlbar.clipboard.featureGate", false); // [FF118+] [DEFAULT: true FF125+]
|
||||||
//user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+] [DEFAULT: false]
|
//user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+] [DEFAULT: false]
|
||||||
|
|
||||||
@@ -238,11 +248,13 @@ user_pref("browser.urlbar.trending.featureGate", false);
|
|||||||
//user_pref("browser.urlbar.maxRichResults", 5); // default=10
|
//user_pref("browser.urlbar.maxRichResults", 5); // default=10
|
||||||
|
|
||||||
// PREF: text fragments
|
// PREF: text fragments
|
||||||
|
// [WARNING] Enabling can cause tab crashes [4]
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1753933#c6
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1753933#c6
|
||||||
// [2] https://developer.mozilla.org/en-US/docs/Web/Text_fragments
|
// [2] https://developer.mozilla.org/en-US/docs/Web/Text_fragments
|
||||||
// [3] https://web.dev/articles/text-fragments
|
// [3] https://web.dev/articles/text-fragments
|
||||||
|
// [4] https://github.com/yokoffing/Betterfox/issues/397
|
||||||
//user_pref("dom.text_fragments.enabled", true); // [DEFAULT]
|
//user_pref("dom.text_fragments.enabled", true); // [DEFAULT]
|
||||||
user_pref("dom.text_fragments.create_text_fragment.enabled", true);
|
//user_pref("dom.text_fragments.create_text_fragment.enabled", true);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: AUTOPLAY *
|
* SECTION: AUTOPLAY *
|
||||||
@@ -290,11 +302,12 @@ user_pref("dom.text_fragments.create_text_fragment.enabled", true);
|
|||||||
//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); // Shortcuts > Sponsored shortcuts [FF83+]
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Sponsored shortcuts [FF83+]
|
||||||
//user_pref("browser.newtabpage.activity-stream.showWeather", false); // Weather [FF130+]
|
//user_pref("browser.newtabpage.activity-stream.showWeather", false); // Weather [FF130+]
|
||||||
//user_pref("browser.newtabpage.activity-stream.system.showWeather", false); // hides Weather as an UI option
|
//user_pref("browser.newtabpage.activity-stream.system.showWeather", false); // hides Weather as an UI option
|
||||||
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.showSponsoredCheckboxes", false); // [FF140+] Support Firefox
|
||||||
//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]
|
||||||
//user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false);
|
//user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false);
|
||||||
//user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false);
|
//user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[](https://github.com/yokoffing/betterfox/stargazers)
|
[](https://github.com/yokoffing/betterfox/stargazers)
|
||||||
|
|
||||||
# Betterfox
|
# 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/).
|
||||||
@@ -103,7 +103,3 @@ If you like the project, leave a :star: (top right) and become a [stargazer](htt
|
|||||||
* Thanks to [Denperidge](https://github.com/Denperidge) for adding [`install.py`](https://github.com/yokoffing/Betterfox/blob/main/install.py) for advanced users in v.131.
|
* Thanks to [Denperidge](https://github.com/Denperidge) for adding [`install.py`](https://github.com/yokoffing/Betterfox/blob/main/install.py) for advanced users in v.131.
|
||||||
* A special thanks to [Alex Kontos](https://github.com/MrAlex94) of [Waterfox](https://github.com/WaterfoxCo/Waterfox) for his collaboration in v.116.
|
* A special thanks to [Alex Kontos](https://github.com/MrAlex94) of [Waterfox](https://github.com/WaterfoxCo/Waterfox) for his collaboration in v.116.
|
||||||
* Many thanks to the 2021 [Ghostery](https://github.com/ghostery) team for testing Betterfox at scale in its early days.
|
* Many thanks to the 2021 [Ghostery](https://github.com/ghostery) team for testing Betterfox at scale in its early days.
|
||||||
|
|
||||||
<div align='center'>
|
|
||||||
<a href='https://www.websitecounterfree.com'><img src='https://www.websitecounterfree.com/c.php?d=9&id=19653&s=1' border='0' alt='Free Website Counter'></a><br / >
|
|
||||||
since 23 July 2022</div>
|
|
||||||
|
|||||||
+17
-4
@@ -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: 138 *
|
* version: 142 *
|
||||||
* 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 *
|
||||||
@@ -22,6 +22,9 @@
|
|||||||
// [1] https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop
|
// [1] https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop
|
||||||
// [2] https://www.reddit.com/r/firefox/comments/l7xetb/network_priority_for_firefoxs_enhanced_tracking/gle2mqn/?web2x&context=3
|
// [2] https://www.reddit.com/r/firefox/comments/l7xetb/network_priority_for_firefoxs_enhanced_tracking/gle2mqn/?web2x&context=3
|
||||||
user_pref("browser.contentblocking.category", "strict"); // [HIDDEN]
|
user_pref("browser.contentblocking.category", "strict"); // [HIDDEN]
|
||||||
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1970647
|
||||||
|
user_pref("privacy.trackingprotection.allow_list.baseline.enabled", true); // [FF142+]
|
||||||
|
user_pref("privacy.trackingprotection.allow_list.convenience.enabled", true); // [FF142+]
|
||||||
//user_pref("privacy.trackingprotection.enabled", true); // enabled with "Strict"
|
//user_pref("privacy.trackingprotection.enabled", true); // enabled with "Strict"
|
||||||
//user_pref("privacy.trackingprotection.pbmode.enabled", true); // DEFAULT
|
//user_pref("privacy.trackingprotection.pbmode.enabled", true); // DEFAULT
|
||||||
//user_pref("browser.contentblocking.customBlockList.preferences.ui.enabled", false); // DEFAULT
|
//user_pref("browser.contentblocking.customBlockList.preferences.ui.enabled", false); // DEFAULT
|
||||||
@@ -71,6 +74,7 @@ user_pref("browser.contentblocking.category", "strict"); // [HIDDEN]
|
|||||||
// [TEST - truthsocial embed] https://www.newsweek.com/donald-trump-congratulates-patrick-brittany-mahomes-new-baby-2027097
|
// [TEST - truthsocial embed] https://www.newsweek.com/donald-trump-congratulates-patrick-brittany-mahomes-new-baby-2027097
|
||||||
// [1] https://www.reddit.com/r/firefox/comments/l79nxy/firefox_dev_is_ignoring_social_tracking_preference/gl84ukk
|
// [1] https://www.reddit.com/r/firefox/comments/l79nxy/firefox_dev_is_ignoring_social_tracking_preference/gl84ukk
|
||||||
// [2] https://www.reddit.com/r/firefox/comments/pvds9m/reddit_embeds_not_loading/
|
// [2] https://www.reddit.com/r/firefox/comments/pvds9m/reddit_embeds_not_loading/
|
||||||
|
// [3] https://github.com/yokoffing/Betterfox/issues/413
|
||||||
//user_pref("urlclassifier.trackingSkipURLs", "embed.reddit.com, *.twitter.com, *.twimg.com"); // MANUAL [FF136+]
|
//user_pref("urlclassifier.trackingSkipURLs", "embed.reddit.com, *.twitter.com, *.twimg.com"); // MANUAL [FF136+]
|
||||||
//user_pref("urlclassifier.features.socialtracking.skipURLs", "*.twitter.com, *.twimg.com"); // MANUAL [FF136+]
|
//user_pref("urlclassifier.features.socialtracking.skipURLs", "*.twitter.com, *.twimg.com"); // MANUAL [FF136+]
|
||||||
|
|
||||||
@@ -316,6 +320,13 @@ user_pref("security.pki.crlite_mode", 2);
|
|||||||
//user_pref("browser.contentanalysis.enabled", false); // [FF121+] [DEFAULT]
|
//user_pref("browser.contentanalysis.enabled", false); // [FF121+] [DEFAULT]
|
||||||
//user_pref("browser.contentanalysis.default_result", 0; // [FF127+] [DEFAULT]
|
//user_pref("browser.contentanalysis.default_result", 0; // [FF127+] [DEFAULT]
|
||||||
|
|
||||||
|
// PREF: disable referrer and storage access for resources injected by content scripts [FF139+]
|
||||||
|
//user_pref("privacy.antitracking.isolateContentScriptResources", true);
|
||||||
|
|
||||||
|
// PREF: disable CSP Level 2 Reporting [FF140+]
|
||||||
|
// [1] https://github.com/yokoffing/Betterfox/issues/415
|
||||||
|
user_pref("security.csp.reporting.enabled", false);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: SSL (Secure Sockets Layer) / TLS (Transport Layer Security) *
|
* SECTION: SSL (Secure Sockets Layer) / TLS (Transport Layer Security) *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -582,11 +593,13 @@ user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
|||||||
//user_pref("browser.search.separatePrivateDefault", true); // DEFAULT
|
//user_pref("browser.search.separatePrivateDefault", true); // DEFAULT
|
||||||
|
|
||||||
// PREF: enable option to add custom search engine
|
// PREF: enable option to add custom search engine
|
||||||
|
// Before FF140, this pref was hidden.
|
||||||
// [SETTINGS] Settings -> Search -> Search Shortcuts -> Add
|
// [SETTINGS] Settings -> Search -> Search Shortcuts -> Add
|
||||||
// [EXAMPLE] https://search.brave.com/search?q=%s
|
// [EXAMPLE] https://search.brave.com/search?q=%s
|
||||||
// [EXAMPLE] https://lite.duckduckgo.com/lite/?q=%s
|
// [EXAMPLE] https://lite.duckduckgo.com/lite/?q=%s
|
||||||
// [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
|
// [2] https://www.mozilla.org/en-US/firefox/140.0/releasenotes/
|
||||||
|
//user_pref("browser.urlbar.update2.engineAliasRefresh", true); // [DEFAULT FF140+]
|
||||||
|
|
||||||
// PREF: disable live search 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.
|
||||||
@@ -977,9 +990,9 @@ user_pref("extensions.enabledScopes", 5); // [HIDDEN PREF]
|
|||||||
// Users may see a notification when running add-ons that are not monitored by Mozilla when they visit certain sites.
|
// Users may see a notification when running add-ons that are not monitored by Mozilla when they visit certain sites.
|
||||||
// The notification informs them that “some extensions are not allowed” and were blocked from running on that site.
|
// The notification informs them that “some extensions are not allowed” and were blocked from running on that site.
|
||||||
// There's no details as to which sites are affected.
|
// There's no details as to which sites are affected.
|
||||||
// [1] https://support.mozilla.org/en-US/kb/quarantined-domains
|
// [1] https://support.mozilla.org/kb/quarantined-domains
|
||||||
// [2] https://www.ghacks.net/2023/07/04/firefox-115-new-esr-base-and-some-add-ons-may-be-blocked-from-running-on-certain-sites/
|
// [2] https://www.ghacks.net/2023/07/04/firefox-115-new-esr-base-and-some-add-ons-may-be-blocked-from-running-on-certain-sites/
|
||||||
//user_pref("extensions.quarantinedDomains.enabled", false);
|
//user_pref("extensions.quarantinedDomains.enabled", true); // [DEFAULT: true]
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: HEADERS / REFERERS *
|
* SECTION: HEADERS / REFERERS *
|
||||||
|
|||||||
+5
-2
@@ -73,10 +73,10 @@ def _get_default_firefox_version_and_root():
|
|||||||
print("Searching for Firefox installation...")
|
print("Searching for Firefox installation...")
|
||||||
for installation in INSTALLATIONS_TO_CHECK:
|
for installation in INSTALLATIONS_TO_CHECK:
|
||||||
try:
|
try:
|
||||||
print(f" '{" ".join(installation["command"])}': ", end="")
|
print(f" '{' '.join(installation['command'])}': ", end="")
|
||||||
version = _get_firefox_version(installation["command"])
|
version = _get_firefox_version(installation["command"])
|
||||||
print("YES")
|
print("YES")
|
||||||
print(f"Root: {installation["root"]}")
|
print(f"Root: {installation['root']}")
|
||||||
return version, installation["root"]
|
return version, installation["root"]
|
||||||
except Exception:
|
except Exception:
|
||||||
print("no")
|
print("no")
|
||||||
@@ -166,6 +166,8 @@ def extract_betterfox(data, profile_folder):
|
|||||||
zipfile = ZipFile(data)
|
zipfile = ZipFile(data)
|
||||||
userjs_zipinfo = None
|
userjs_zipinfo = None
|
||||||
for file in zipfile.filelist:
|
for file in zipfile.filelist:
|
||||||
|
if "/zen/" in file.filename and not args.zen:
|
||||||
|
continue
|
||||||
if file.filename.endswith("user.js"):
|
if file.filename.endswith("user.js"):
|
||||||
userjs_zipinfo = file
|
userjs_zipinfo = file
|
||||||
userjs_zipinfo.filename = Path(userjs_zipinfo.filename).name
|
userjs_zipinfo.filename = Path(userjs_zipinfo.filename).name
|
||||||
@@ -205,6 +207,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
)
|
)
|
||||||
argparser.add_argument("--overrides", "-o", default=default_profile_folder.joinpath("user-overrides.js"), help="if the provided file exists, add overrides to user.js. Defaults to " + str(default_profile_folder.joinpath("user-overrides.js"))),
|
argparser.add_argument("--overrides", "-o", default=default_profile_folder.joinpath("user-overrides.js"), help="if the provided file exists, add overrides to user.js. Defaults to " + str(default_profile_folder.joinpath("user-overrides.js"))),
|
||||||
|
argparser.add_argument("--zen", "-z", action="store_true", default=False, help="Install user.js for the Zen browser instead. Defaults to False"),
|
||||||
|
|
||||||
|
|
||||||
advanced = argparser.add_argument_group("Advanced")
|
advanced = argparser.add_argument_group("Advanced")
|
||||||
|
|||||||
@@ -54,6 +54,9 @@ user_pref("identity.fxaccounts.enabled", false); // disable Firefox Sync
|
|||||||
user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}"); // disable the Firefox View tour from popping up for new profiles
|
user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}"); // disable the Firefox View tour from popping up for new profiles
|
||||||
user_pref("accessibility.force_disabled", 1); // disable Accessibility features
|
user_pref("accessibility.force_disabled", 1); // disable Accessibility features
|
||||||
user_pref("security.cert_pinning.enforcement_level", 2); // strict public key pinning
|
user_pref("security.cert_pinning.enforcement_level", 2); // strict public key pinning
|
||||||
|
user_pref("captivedetect.canonicalURL", ""); // disable captive portal detection
|
||||||
|
user_pref("network.captive-portal-service.enabled", false); // disable captive portal detection
|
||||||
|
user_pref("network.connectivity-service.enabled", false); // disable captive portal detection
|
||||||
|
|
||||||
/** PESKYFOX ***/
|
/** PESKYFOX ***/
|
||||||
user_pref("devtools.accessibility.enabled", false); // removes un-needed "Inspect Accessibility Properties" on right-click
|
user_pref("devtools.accessibility.enabled", false); // removes un-needed "Inspect Accessibility Properties" on right-click
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Betterfox *
|
* Betterfox *
|
||||||
* "Ad meliora" *
|
* "Ad meliora" *
|
||||||
* version: 138 *
|
* version: 142 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
@@ -54,7 +54,6 @@ user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
|||||||
user_pref("browser.places.speculativeConnect.enabled", false);
|
user_pref("browser.places.speculativeConnect.enabled", false);
|
||||||
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);
|
||||||
@@ -64,6 +63,8 @@ user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
/** TRACKING PROTECTION ***/
|
/** TRACKING PROTECTION ***/
|
||||||
user_pref("browser.contentblocking.category", "strict");
|
user_pref("browser.contentblocking.category", "strict");
|
||||||
|
user_pref("privacy.trackingprotection.allow_list.baseline.enabled", true);
|
||||||
|
user_pref("privacy.trackingprotection.allow_list.convenience.enabled", true);
|
||||||
user_pref("browser.download.start_downloads_in_tmp_dir", true);
|
user_pref("browser.download.start_downloads_in_tmp_dir", true);
|
||||||
user_pref("browser.helperApps.deleteTempFileOnExit", true);
|
user_pref("browser.helperApps.deleteTempFileOnExit", true);
|
||||||
user_pref("browser.uitour.enabled", false);
|
user_pref("browser.uitour.enabled", false);
|
||||||
@@ -72,6 +73,7 @@ user_pref("privacy.globalprivacycontrol.enabled", true);
|
|||||||
/** OCSP & CERTS / HPKP ***/
|
/** OCSP & CERTS / HPKP ***/
|
||||||
user_pref("security.OCSP.enabled", 0);
|
user_pref("security.OCSP.enabled", 0);
|
||||||
user_pref("security.pki.crlite_mode", 2);
|
user_pref("security.pki.crlite_mode", 2);
|
||||||
|
user_pref("security.csp.reporting.enabled", false);
|
||||||
|
|
||||||
/** SSL / TLS ***/
|
/** SSL / TLS ***/
|
||||||
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
|
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
|
||||||
@@ -90,7 +92,6 @@ user_pref("privacy.history.custom", true);
|
|||||||
user_pref("browser.urlbar.trimHttps", true);
|
user_pref("browser.urlbar.trimHttps", true);
|
||||||
user_pref("browser.urlbar.untrimOnUserInteraction.featureGate", true);
|
user_pref("browser.urlbar.untrimOnUserInteraction.featureGate", true);
|
||||||
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
||||||
user_pref("browser.urlbar.update2.engineAliasRefresh", true);
|
|
||||||
user_pref("browser.search.suggest.enabled", false);
|
user_pref("browser.search.suggest.enabled", false);
|
||||||
user_pref("browser.urlbar.quicksuggest.enabled", false);
|
user_pref("browser.urlbar.quicksuggest.enabled", false);
|
||||||
user_pref("browser.urlbar.groupLabels.enabled", false);
|
user_pref("browser.urlbar.groupLabels.enabled", false);
|
||||||
@@ -176,21 +177,24 @@ user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
|||||||
user_pref("browser.compactmode.show", true);
|
user_pref("browser.compactmode.show", true);
|
||||||
user_pref("browser.privateWindowSeparation.enabled", false); // WINDOWS
|
user_pref("browser.privateWindowSeparation.enabled", false); // WINDOWS
|
||||||
|
|
||||||
|
/** AI ***/
|
||||||
|
user_pref("browser.ml.enable", false);
|
||||||
|
user_pref("browser.ml.chat.enabled", false);
|
||||||
|
|
||||||
/** FULLSCREEN NOTICE ***/
|
/** FULLSCREEN NOTICE ***/
|
||||||
user_pref("full-screen-api.transition-duration.enter", "0 0");
|
user_pref("full-screen-api.transition-duration.enter", "0 0");
|
||||||
user_pref("full-screen-api.transition-duration.leave", "0 0");
|
user_pref("full-screen-api.transition-duration.leave", "0 0");
|
||||||
user_pref("full-screen-api.warning.timeout", 0);
|
user_pref("full-screen-api.warning.timeout", 0);
|
||||||
|
|
||||||
/** URL BAR ***/
|
/** URL BAR ***/
|
||||||
user_pref("browser.urlbar.unitConversion.enabled", true);
|
|
||||||
user_pref("browser.urlbar.trending.featureGate", false);
|
user_pref("browser.urlbar.trending.featureGate", false);
|
||||||
user_pref("dom.text_fragments.create_text_fragment.enabled", true);
|
|
||||||
|
|
||||||
/** NEW TAB PAGE ***/
|
/** NEW TAB PAGE ***/
|
||||||
user_pref("browser.newtabpage.activity-stream.default.sites", "");
|
user_pref("browser.newtabpage.activity-stream.default.sites", "");
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsored", false);
|
user_pref("browser.newtabpage.activity-stream.showSponsored", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.showSponsoredCheckboxes", false);
|
||||||
|
|
||||||
/** POCKET ***/
|
/** POCKET ***/
|
||||||
user_pref("extensions.pocket.enabled", false);
|
user_pref("extensions.pocket.enabled", false);
|
||||||
@@ -227,3 +231,8 @@ user_pref("layout.word_select.eat_space_to_next_word", false);
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* END: BETTERFOX *
|
* END: BETTERFOX *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+3
-5
@@ -10,7 +10,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* BetterZen *
|
* BetterZen *
|
||||||
* "Ex nihilo nihil fit" *
|
* "Ex nihilo nihil fit" *
|
||||||
* version: 138 *
|
* version: 142 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
@@ -38,6 +38,8 @@ user_pref("network.predictor.enable-prefetch", false);
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
/** TRACKING PROTECTION ***/
|
/** TRACKING PROTECTION ***/
|
||||||
user_pref("browser.contentblocking.category", "strict");
|
user_pref("browser.contentblocking.category", "strict");
|
||||||
|
user_pref("privacy.trackingprotection.allow_list.baseline.enabled", true);
|
||||||
|
user_pref("privacy.trackingprotection.allow_list.convenience.enabled", true);
|
||||||
user_pref("browser.download.start_downloads_in_tmp_dir", true);
|
user_pref("browser.download.start_downloads_in_tmp_dir", true);
|
||||||
|
|
||||||
/** OCSP & CERTS / HPKP ***/
|
/** OCSP & CERTS / HPKP ***/
|
||||||
@@ -90,10 +92,6 @@ user_pref("dom.text_fragments.create_text_fragment.enabled", true);
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
// Remove the slashes to enable the prefs
|
// Remove the slashes to enable the prefs
|
||||||
|
|
||||||
// PREF: reduce CPU and GPU use until bug is fixed
|
|
||||||
// [1] https://github.com/zen-browser/desktop/issues/6302
|
|
||||||
user_pref("zen.view.experimental-rounded-view", false);
|
|
||||||
|
|
||||||
// PREF: re-enable Windows efficiency mode
|
// PREF: re-enable Windows efficiency mode
|
||||||
//user_pref("dom.ipc.processPriorityManager.backgroundUsesEcoQoS", true);
|
//user_pref("dom.ipc.processPriorityManager.backgroundUsesEcoQoS", true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user