-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Broken Rice Films
committed
Jul 2, 2024
1 parent
854a748
commit 78e6443
Showing
3 changed files
with
129 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
// | ||
/* You may copy+paste this file and use it as it is. | ||
* | ||
* If you make changes to your about:config while the program is running, the | ||
* changes will be overwritten by the user.js when the application restarts. | ||
* | ||
* To make lasting changes to preferences, you will have to edit the user.js. | ||
*/ | ||
|
||
/**************************************************************************** | ||
* Betterfox * | ||
* "Ad meliora" * | ||
* version: 126 * | ||
* url: https://github.com/yokoffing/Betterfox * | ||
****************************************************************************/ | ||
|
||
/**************************************************************************** | ||
* SECTION: FASTFOX * | ||
****************************************************************************/ | ||
/** GENERAL ***/ | ||
user_pref("content.notify.interval", 100000); | ||
|
||
/** GFX ***/ | ||
user_pref("gfx.canvas.accelerated.cache-items", 4096); | ||
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); | ||
|
||
/** MEDIA CACHE ***/ | ||
user_pref("media.memory_cache_max_size", 65536); | ||
user_pref("media.cache_readahead_limit", 7200); | ||
user_pref("media.cache_resume_threshold", 3600); | ||
|
||
/** IMAGE CACHE ***/ | ||
user_pref("image.mem.decode_bytes_at_a_time", 32768); | ||
|
||
/** NETWORK ***/ | ||
user_pref("network.http.max-connections", 1800); | ||
user_pref("network.http.max-persistent-connections-per-server", 10); | ||
user_pref("network.http.max-urgent-start-excessive-connections-per-host", 5); | ||
user_pref("network.http.pacing.requests.enabled", false); | ||
user_pref("network.dnsCacheExpiration", 3600); | ||
user_pref("network.ssl_tokens_cache_capacity", 10240); | ||
|
||
/** SPECULATIVE LOADING ***/ | ||
user_pref("network.dns.disablePrefetch", true); | ||
user_pref("network.dns.disablePrefetchFromHTTPS", true); | ||
user_pref("network.prefetch-next", false); | ||
user_pref("network.predictor.enabled", false); | ||
user_pref("network.predictor.enable-prefetch", false); | ||
|
||
/** EXPERIMENTAL ***/ | ||
user_pref("layout.css.grid-template-masonry-value.enabled", true); | ||
user_pref("dom.enable_web_task_scheduling", true); | ||
user_pref("dom.security.sanitizer.enabled", true); | ||
|
||
/**************************************************************************** | ||
* SECTION: PESKYFOX * | ||
****************************************************************************/ | ||
/** MOZILLA UI ***/ | ||
user_pref("browser.privatebrowsing.vpnpromourl", ""); | ||
user_pref("extensions.getAddons.showPane", false); | ||
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); | ||
user_pref("browser.discovery.enabled", false); | ||
user_pref("browser.shell.checkDefaultBrowser", false); | ||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); | ||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); | ||
user_pref("browser.preferences.moreFromMozilla", false); | ||
user_pref("browser.tabs.tabmanager.enabled", false); | ||
user_pref("browser.aboutConfig.showWarning", false); | ||
user_pref("browser.aboutwelcome.enabled", false); | ||
|
||
/** THEME ADJUSTMENTS ***/ | ||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); | ||
user_pref("browser.compactmode.show", true); | ||
user_pref("browser.display.focus_ring_on_anything", true); | ||
user_pref("browser.display.focus_ring_style", 0); | ||
user_pref("browser.display.focus_ring_width", 0); | ||
user_pref("layout.css.prefers-color-scheme.content-override", 2); | ||
user_pref("browser.privateWindowSeparation.enabled", false); // WINDOWS | ||
|
||
/** COOKIE BANNER HANDLING ***/ | ||
user_pref("cookiebanners.service.mode", 1); | ||
user_pref("cookiebanners.service.mode.privateBrowsing", 1); | ||
|
||
/** FULLSCREEN NOTICE ***/ | ||
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.warning.delay", -1); | ||
user_pref("full-screen-api.warning.timeout", 0); | ||
|
||
/** URL BAR ***/ | ||
user_pref("browser.urlbar.suggest.calculator", true); | ||
user_pref("browser.urlbar.unitConversion.enabled", true); | ||
user_pref("browser.urlbar.trending.featureGate", false); | ||
|
||
/** NEW TAB PAGE ***/ | ||
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); | ||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); | ||
|
||
/** POCKET ***/ | ||
user_pref("extensions.pocket.enabled", false); | ||
|
||
/** DOWNLOADS ***/ | ||
user_pref("browser.download.always_ask_before_handling_new_types", true); | ||
user_pref("browser.download.manager.addToRecentDocs", false); | ||
|
||
/** PDF ***/ | ||
user_pref("browser.download.open_pdf_attachments_inline", true); | ||
|
||
/** TAB BEHAVIOR ***/ | ||
user_pref("browser.bookmarks.openInTabClosesMenu", false); | ||
user_pref("browser.menu.showViewImageInfo", true); | ||
user_pref("findbar.highlightAll", true); | ||
user_pref("layout.word_select.eat_space_to_next_word", false); | ||
|
||
/**************************************************************************** | ||
* START: MY OVERRIDES * | ||
****************************************************************************/ | ||
// visit https://github.com/yokoffing/Betterfox/wiki/Common-Overrides | ||
// visit https://github.com/yokoffing/Betterfox/wiki/Optional-Hardening | ||
// Enter your personal overrides below this line: | ||
|
||
user_pref("ui.key.menuAccessKeyFocuses", false); | ||
user_pref("gfx.canvas.accelerated", true); |