From 09dd87a3abcb15a88798941e5ed74e4aa593108c Mon Sep 17 00:00:00 2001 From: yokoffing <11689349+yokoffing@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:25:38 -0500 Subject: [PATCH] v132-133 (#350) --- Fastfox.js | 9 +++++---- Peskyfox.js | 5 +++-- README.md | 1 + Securefox.js | 12 ++++++++---- user.js | 9 ++++----- 5 files changed, 21 insertions(+), 15 deletions(-) diff --git a/Fastfox.js b/Fastfox.js index 9924c8adc..6857c69fe 100644 --- a/Fastfox.js +++ b/Fastfox.js @@ -3,7 +3,7 @@ * Fastfox * * "Non ducor duco" * * priority: speedy browsing * - * version: 131 * + * version: 133 * * url: https://github.com/yokoffing/Betterfox * ***************************************************************************************/ @@ -144,7 +144,7 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s) // More efficient to keep the browser cache instead of having to // re-download objects for the websites you visit frequently. // [1] https://www.janbambas.cz/new-firefox-http-cache-enabled/ -//user_pref("browser.cache.disk.enable", true); // DEFAULT +user_pref("browser.cache.disk.enable", true); // PREF: disk cache size // [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=913808,968106,968101 @@ -210,8 +210,9 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s) //user_pref("browser.cache.disk.max_priority_chunks_memory_usage", 40960); // DEFAULT (40 MB) // PREF: how often to validate document in cache -// [1] https://searchfox.org/mozilla-release/source/modules/libpref/init/StaticPrefList.yaml#1092-1096 // 0 = once-per-session +// 1 = each-time +// 2 = never // 3 = when-appropriate/automatically (default) //user_pref("browser.cache.check_doc_frequency", 3); // DEFAULT @@ -230,7 +231,7 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s) // 0 = do not compress (default) // 1 = minimal compression // 9 = maximal compression -user_pref("browser.cache.jsbc_compression_level", 3); +//user_pref("browser.cache.jsbc_compression_level", 3); // PREF: strategy to use for when the bytecode should be encoded and saved [TESTING ONLY] // -1 makes page load times marginally longer when a page is being loaded for the first time, while diff --git a/Peskyfox.js b/Peskyfox.js index 54d7e6624..d972e1f09 100644 --- a/Peskyfox.js +++ b/Peskyfox.js @@ -3,7 +3,7 @@ * Peskyfox * * "Aquila non capit muscas" * * priority: remove annoyances * - * version: 131 * + * version: 133 * * url: https://github.com/yokoffing/Betterfox * * credit: Some prefs are reproduced and adapted from the arkenfox project * * credit urL: https://github.com/arkenfox/user.js * @@ -102,7 +102,7 @@ user_pref("browser.privateWindowSeparation.enabled", false); //user_pref("browser.search.widget.inNavBar", true); // PREF: new tab page wallpapers -user_pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", true); +//user_pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", true); // [DEFAULT FF132+] /**************************************************************************** * SECTION: COOKIE BANNER HANDLING * @@ -204,6 +204,7 @@ user_pref("browser.urlbar.trending.featureGate", false); // PREF: disable urlbar suggestions //user_pref("browser.urlbar.addons.featureGate", false); // [FF115+] +//user_pref("browser.urlbar.fakespot.featureGate", false); // [FF130+] [DEFAULT: false] //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] diff --git a/README.md b/README.md index b67769dcf..64d24bfa9 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ If you like the project, leave a :star: (top right) and become a [stargazer](htt ## Credit * 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. * 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. +* 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. * Many thanks to the 2021 [Ghostery](https://github.com/ghostery) team for testing Betterfox at scale in its early days. diff --git a/Securefox.js b/Securefox.js index 3fe5bbfb6..c2110b2b7 100644 --- a/Securefox.js +++ b/Securefox.js @@ -3,7 +3,7 @@ * Securefox * * "Natura non contristatur" * * priority: provide sensible security and privacy * - * version: 131 * + * version: 133 * * url: https://github.com/yokoffing/Betterfox * * credit: Most prefs are reproduced and adapted from the arkenfox project * * credit urL: https://github.com/arkenfox/user.js * @@ -473,6 +473,9 @@ user_pref("browser.sessionstore.interval", 60000); // 1 minute; default=15000 (1 //user_pref("privacy.cpd.siteSettings", false); //user_pref("privacy.clearHistory.siteSettings", false); +// PREF: purge session icon in Private Browsing windows +user_pref("browser.privatebrowsing.resetPBM.enabled", true); + /****************************************************************************** * SECTION: SHUTDOWN & SANITIZING * ******************************************************************************/ @@ -1298,15 +1301,16 @@ user_pref("permissions.default.geo", 2); //user_pref("extensions.update.enabled", false); // PREF: disable search engine updates (e.g. OpenSearch) +// Prevent Firefox from adding back search engines after you removed them. // [NOTE] This does not affect Mozilla's built-in or Web Extension search engines. -//user_pref("browser.search.update", false); +user_pref("browser.search.update", false); // PREF: remove special permissions for certain mozilla domains [FF35+] // default = resource://app/defaults/permissions user_pref("permissions.manager.defaultsUrl", ""); // PREF: remove webchannel whitelist -user_pref("webchannel.allowObject.urlWhitelist", ""); +//user_pref("webchannel.allowObject.urlWhitelist", ""); // [DEFAULT FF132+] /****************************************************************************** * SECTION: TELEMETRY * @@ -1373,7 +1377,7 @@ user_pref("browser.tabs.crashReporting.sendReport", false); // PREF: enforce no submission of backlogged crash reports // [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to send backlogged crash reports -user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); +//user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DEFAULT FF132+] /****************************************************************************** * SECTION: DETECTION * diff --git a/user.js b/user.js index c55d939a0..fe17ddcd2 100644 --- a/user.js +++ b/user.js @@ -10,7 +10,7 @@ /**************************************************************************** * Betterfox * * "Ad meliora" * - * version: 131 * + * version: 133 * * url: https://github.com/yokoffing/Betterfox * ****************************************************************************/ @@ -26,7 +26,7 @@ user_pref("gfx.canvas.accelerated.cache-size", 512); user_pref("gfx.content.skia-font-cache-size", 20); /** DISK CACHE ***/ -user_pref("browser.cache.jsbc_compression_level", 3); +user_pref("browser.cache.disk.enable", true); /** MEDIA CACHE ***/ user_pref("media.memory_cache_max_size", 65536); @@ -82,6 +82,7 @@ user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); user_pref("browser.sessionstore.interval", 60000); /** SHUTDOWN & SANITIZING ***/ +user_pref("browser.privatebrowsing.resetPBM.enabled", true); user_pref("privacy.history.custom", true); /** SEARCH / URL BAR ***/ @@ -125,8 +126,8 @@ user_pref("browser.safebrowsing.downloads.remote.enabled", false); /** MOZILLA ***/ user_pref("permissions.default.desktop-notification", 2); user_pref("permissions.default.geo", 2); +user_pref("browser.search.update", false); user_pref("permissions.manager.defaultsUrl", ""); -user_pref("webchannel.allowObject.urlWhitelist", ""); /** TELEMETRY ***/ user_pref("datareporting.policy.dataSubmissionEnabled", false); @@ -154,7 +155,6 @@ user_pref("app.normandy.api_url", ""); /** CRASH REPORTS ***/ user_pref("breakpad.reportURL", ""); user_pref("browser.tabs.crashReporting.sendReport", false); -user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); /** DETECTION ***/ user_pref("captivedetect.canonicalURL", ""); @@ -181,7 +181,6 @@ user_pref("browser.profiles.enabled", true); user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); user_pref("browser.compactmode.show", true); user_pref("browser.privateWindowSeparation.enabled", false); // WINDOWS -user_pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", true); /** COOKIE BANNER HANDLING ***/ user_pref("cookiebanners.service.mode", 1);