1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 07:30:47 +05:30
This commit is contained in:
yokoffing
2024-12-09 14:25:38 -05:00
committed by GitHub
parent d70e3cdebe
commit 09dd87a3ab
5 changed files with 21 additions and 15 deletions
+5 -4
View File
@@ -3,7 +3,7 @@
* Fastfox * * Fastfox *
* "Non ducor duco" * * "Non ducor duco" *
* priority: speedy browsing * * priority: speedy browsing *
* version: 131 * * version: 133 *
* url: https://github.com/yokoffing/Betterfox * * 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 // More efficient to keep the browser cache instead of having to
// re-download objects for the websites you visit frequently. // re-download objects for the websites you visit frequently.
// [1] https://www.janbambas.cz/new-firefox-http-cache-enabled/ // [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 // PREF: disk cache size
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=913808,968106,968101 // [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) //user_pref("browser.cache.disk.max_priority_chunks_memory_usage", 40960); // DEFAULT (40 MB)
// PREF: how often to validate document in cache // 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 // 0 = once-per-session
// 1 = each-time
// 2 = never
// 3 = when-appropriate/automatically (default) // 3 = when-appropriate/automatically (default)
//user_pref("browser.cache.check_doc_frequency", 3); // 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) // 0 = do not compress (default)
// 1 = minimal compression // 1 = minimal compression
// 9 = maximal 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] // 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 // -1 makes page load times marginally longer when a page is being loaded for the first time, while
+3 -2
View File
@@ -3,7 +3,7 @@
* Peskyfox * * Peskyfox *
* "Aquila non capit muscas" * * "Aquila non capit muscas" *
* priority: remove annoyances * * priority: remove annoyances *
* version: 131 * * version: 133 *
* 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 *
@@ -102,7 +102,7 @@ user_pref("browser.privateWindowSeparation.enabled", false);
//user_pref("browser.search.widget.inNavBar", true); //user_pref("browser.search.widget.inNavBar", true);
// PREF: new tab page wallpapers // 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 * * SECTION: COOKIE BANNER HANDLING *
@@ -204,6 +204,7 @@ 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.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.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]
+1
View File
@@ -107,6 +107,7 @@ If you like the project, leave a :star: (top right) and become a [stargazer](htt
## Credit ## 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. * 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. * 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. * 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.
+8 -4
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: 131 * * version: 133 *
* 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 *
@@ -473,6 +473,9 @@ user_pref("browser.sessionstore.interval", 60000); // 1 minute; default=15000 (1
//user_pref("privacy.cpd.siteSettings", false); //user_pref("privacy.cpd.siteSettings", false);
//user_pref("privacy.clearHistory.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 * * SECTION: SHUTDOWN & SANITIZING *
******************************************************************************/ ******************************************************************************/
@@ -1298,15 +1301,16 @@ user_pref("permissions.default.geo", 2);
//user_pref("extensions.update.enabled", false); //user_pref("extensions.update.enabled", false);
// PREF: disable search engine updates (e.g. OpenSearch) // 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. // [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+] // PREF: remove special permissions for certain mozilla domains [FF35+]
// default = resource://app/defaults/permissions // default = resource://app/defaults/permissions
user_pref("permissions.manager.defaultsUrl", ""); user_pref("permissions.manager.defaultsUrl", "");
// PREF: remove webchannel whitelist // PREF: remove webchannel whitelist
user_pref("webchannel.allowObject.urlWhitelist", ""); //user_pref("webchannel.allowObject.urlWhitelist", ""); // [DEFAULT FF132+]
/****************************************************************************** /******************************************************************************
* SECTION: TELEMETRY * * SECTION: TELEMETRY *
@@ -1373,7 +1377,7 @@ user_pref("browser.tabs.crashReporting.sendReport", false);
// PREF: enforce no submission of backlogged crash reports // PREF: enforce no submission of backlogged crash reports
// [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to send 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 * * SECTION: DETECTION *
+4 -5
View File
@@ -10,7 +10,7 @@
/**************************************************************************** /****************************************************************************
* Betterfox * * Betterfox *
* "Ad meliora" * * "Ad meliora" *
* version: 131 * * version: 133 *
* url: https://github.com/yokoffing/Betterfox * * 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); user_pref("gfx.content.skia-font-cache-size", 20);
/** DISK CACHE ***/ /** DISK CACHE ***/
user_pref("browser.cache.jsbc_compression_level", 3); user_pref("browser.cache.disk.enable", true);
/** MEDIA CACHE ***/ /** MEDIA CACHE ***/
user_pref("media.memory_cache_max_size", 65536); user_pref("media.memory_cache_max_size", 65536);
@@ -82,6 +82,7 @@ user_pref("browser.privatebrowsing.forceMediaMemoryCache", true);
user_pref("browser.sessionstore.interval", 60000); user_pref("browser.sessionstore.interval", 60000);
/** SHUTDOWN & SANITIZING ***/ /** SHUTDOWN & SANITIZING ***/
user_pref("browser.privatebrowsing.resetPBM.enabled", true);
user_pref("privacy.history.custom", true); user_pref("privacy.history.custom", true);
/** SEARCH / URL BAR ***/ /** SEARCH / URL BAR ***/
@@ -125,8 +126,8 @@ user_pref("browser.safebrowsing.downloads.remote.enabled", false);
/** MOZILLA ***/ /** MOZILLA ***/
user_pref("permissions.default.desktop-notification", 2); user_pref("permissions.default.desktop-notification", 2);
user_pref("permissions.default.geo", 2); user_pref("permissions.default.geo", 2);
user_pref("browser.search.update", false);
user_pref("permissions.manager.defaultsUrl", ""); user_pref("permissions.manager.defaultsUrl", "");
user_pref("webchannel.allowObject.urlWhitelist", "");
/** TELEMETRY ***/ /** TELEMETRY ***/
user_pref("datareporting.policy.dataSubmissionEnabled", false); user_pref("datareporting.policy.dataSubmissionEnabled", false);
@@ -154,7 +155,6 @@ user_pref("app.normandy.api_url", "");
/** CRASH REPORTS ***/ /** CRASH REPORTS ***/
user_pref("breakpad.reportURL", ""); user_pref("breakpad.reportURL", "");
user_pref("browser.tabs.crashReporting.sendReport", false); user_pref("browser.tabs.crashReporting.sendReport", false);
user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
/** DETECTION ***/ /** DETECTION ***/
user_pref("captivedetect.canonicalURL", ""); user_pref("captivedetect.canonicalURL", "");
@@ -181,7 +181,6 @@ user_pref("browser.profiles.enabled", true);
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); 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
user_pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", true);
/** COOKIE BANNER HANDLING ***/ /** COOKIE BANNER HANDLING ***/
user_pref("cookiebanners.service.mode", 1); user_pref("cookiebanners.service.mode", 1);