1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 15:40:48 +05:30

FasterFox (#9)

* Remove Warp options (no longer in Firefox)

* hyperlinks

* caps
This commit is contained in:
yokoffing
2021-02-19 17:30:11 -05:00
committed by GitHub
parent 3f0134464d
commit 9309ce9f9f
+17 -21
View File
@@ -11,7 +11,7 @@
* FasterFox * * FasterFox *
* "Non ducor duco." * * "Non ducor duco." *
* priority: speedy browsing * * priority: speedy browsing *
* version: 29 January 2021 * * version: 19 February 2021 *
* url: https://github.com/yokoffing/Better-Fox * * url: https://github.com/yokoffing/Better-Fox *
***************************************************************************/ ***************************************************************************/
@@ -22,49 +22,45 @@
* * * *
****************************************************************************/ ****************************************************************************/
// PREF: Activate Webrender, Firefox's new rendering engine // PREF: force enable all Webrender prefs
// https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-fps-how-webrender-gets-rid-of-jank/ // [1] https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-fps-how-webrender-gets-rid-of-jank/
// https://wiki.mozilla.org/Platform/GFX/WebRender_Where // [2] https://wiki.mozilla.org/Platform/GFX/WebRender_Where
// https://www.reddit.com/r/firefox/comments/fo1jwz/make_firefox_faster/flhh5l2/ // [3] https://www.reddit.com/r/firefox/comments/fo1jwz/make_firefox_faster/flhh5l2/
user_pref("gfx.webrender.all", true); // user_pref("gfx.webrender.all", true);
// If your hardware doesn't support Webrender, you can fallback to Webrender's software renderer. // If your hardware doesn't support Webrender, you can fallback to Webrender's software renderer.
// Both preferences need to be "true" if you're using the software renderer. // [NOTE] Both preferences need to be "true" if you're using the software renderer.
// https://www.ghacks.net/2020/12/14/how-to-find-out-if-webrender-is-enabled-in-firefox-and-how-to-enable-it-if-it-is-not/ // [1] https://www.ghacks.net/2020/12/14/how-to-find-out-if-webrender-is-enabled-in-firefox-and-how-to-enable-it-if-it-is-not/
// user_pref("gfx.webrender.software", true); // user_pref("gfx.webrender.software", true);
// PREF: Improvements to the javascript engine
// https://hacks.mozilla.org/2020/11/warp-improved-js-performance-in-firefox-83/
user_pref("javascript.options.warp", true); /* default */
// PREF: Lazy Image Loading // PREF: Lazy Image Loading
// https://www.ghacks.net/2020/02/15/firefox-75-gets-lazy-loading-support-for-images/ // https://www.ghacks.net/2020/02/15/firefox-75-gets-lazy-loading-support-for-images/
user_pref("dom.image-lazy-loading.enabled", true); /*default*/ user_pref("dom.image-lazy-loading.enabled", true); /*default*/
// PREF: Control how tabs are loaded when a session is restored. // PREF: control how tabs are loaded when a session is restored.
// true=Tabs are not loaded until they are selected (default) // true=Tabs are not loaded until they are selected (default)
// false=Tabs begin to load immediately. // false=Tabs begin to load immediately.
user_pref("browser.sessionstore.restore_on_demand", true); user_pref("browser.sessionstore.restore_on_demand", true);
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true); user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
user_pref("browser.sessionstore.restore_tabs_lazily", true); user_pref("browser.sessionstore.restore_tabs_lazily", true);
// PREF: Disable preSkeletonUI on startup // PREF: disable preSkeletonUI on startup
// May set to "true" if your hardware is very old. // May set to "true" if your hardware is very old.
user_pref("browser.startup.preXulSkeletonUI", false); user_pref("browser.startup.preXulSkeletonUI", false);
// PREF: Process count // PREF: process count
// Having more content processes can improve performance when using multiple tabs but // Having more content processes can improve performance when using multiple tabs but
// it will also use more memory. You can reduce the number of content processes if your // it will also use more memory. You can reduce the number of content processes if your
// computer is running out of memory. If your computer's system information shows more // computer is running out of memory. If your computer's system information shows more
// than 8 GB of RAM, you would likely benefit from a high content process limit. // than 8 GB of RAM, you would likely benefit from a high content process limit.
// https://support.mozilla.org/en-US/kb/performance-settings // [1] https://support.mozilla.org/en-US/kb/performance-settings
// default = 8 // default = 8. -1 allows Firefox to use as many as it wants
// user_pref("dom.ipc.processCount", 16); // user_pref("dom.ipc.processCount", 8);
// PREF: Prevent FF from going offline // PREF: prevent FF from going offline
// https://lifehacker.com/stop-firefox-from-automatically-entering-work-offline-5714560 // [1] https://lifehacker.com/stop-firefox-from-automatically-entering-work-offline-5714560
// user_pref("network.manage-offline-status", false); // user_pref("network.manage-offline-status", false);
// PREF: Disable Firefox animations // PREF: disable animations
// Use for old, slow hardware if Firefox gives you laggy performance. // Use for old, slow hardware if Firefox gives you laggy performance.
// user_pref("toolkit.cosmeticAnimations.enabled", true); // user_pref("toolkit.cosmeticAnimations.enabled", true);