mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
Add files via upload
This commit is contained in:
+73
-68
@@ -1,8 +1,17 @@
|
|||||||
//
|
//
|
||||||
|
/* Do not COPY+PASTE this file. If you do, only COPY+PASTE the user_pref itself.
|
||||||
|
*
|
||||||
|
* If you make changes to your about:config while the program is running, the
|
||||||
|
* changes will be overwritten when the application restarts.
|
||||||
|
*
|
||||||
|
* To make a change to preferences, you will have to edit the user.js file.
|
||||||
|
*/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* FasterFox *
|
* FasterFox *
|
||||||
|
* "Non ducor duco." *
|
||||||
* priority: speedy browsing *
|
* priority: speedy browsing *
|
||||||
* version: 28 March 2020 *
|
* version: 29 July 2020 *
|
||||||
* url: https://github.com/yokoffing/Better-Fox *
|
* url: https://github.com/yokoffing/Better-Fox *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
@@ -14,76 +23,17 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// PREF: Activate Webrender, Firefox's new rendering engine
|
// PREF: Activate Webrender, Firefox's new rendering engine
|
||||||
// [!] Webrender is still under active development.
|
// ! Webrender is still under active development.
|
||||||
// [BUG] Occasionally gives you "judder scroll" on sites with a lot of
|
// BUG: Occasionally gives you "judder scroll" on sites with a lot of images.
|
||||||
// images. But the tradeoff is worth it.
|
// 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/
|
|
||||||
// default=false (blacklisted on some machines still, especially macOS)
|
// default=false (blacklisted on some machines still, especially macOS)
|
||||||
user_pref("gfx.webrender.all", true);
|
user_pref("gfx.webrender.all", true);
|
||||||
|
|
||||||
// PREF: Paint visuals on the webpage as fast as possible
|
|
||||||
// Lower values will make a page initially display more quickly, but they
|
|
||||||
// will make the page take longer to finish rendering. Higher values will
|
|
||||||
// have the opposite effect (i.e. page initially displays slower, but less
|
|
||||||
// time is spent watching it render).
|
|
||||||
// [1] http://kb.mozillazine.org/Nglayout.initialpaint.delay
|
|
||||||
// [2] https://botw.org/articles/firefox-about-config.htm
|
|
||||||
// default=250
|
|
||||||
user_pref("nglayout.initialpaint.delay", 0);
|
|
||||||
|
|
||||||
// PREF: Prioritize page load over immediate responsiveness
|
|
||||||
// [!] Only use if you have a high-speed connection
|
|
||||||
// [NOTE] Both are hidden by defeault.
|
|
||||||
// default=true
|
|
||||||
user_pref("content.notify.ontimer", false);
|
|
||||||
user_pref("content.interrupt.parsing", false);
|
|
||||||
|
|
||||||
// PREF: Increase active connections
|
|
||||||
// According to the default value, there will be 6 active connections kept
|
|
||||||
// for future requests to a server. If, at some point, more connections are
|
|
||||||
// needed, a delay will occur until there is a slot available. To avoid any
|
|
||||||
// idle periods, we can set more alive connections, thus forcing the browser
|
|
||||||
// to load several elements of a website.
|
|
||||||
// [1] https://www.download3k.com/articles/How-To-Optimize-Firefox-By-Tweaking-Hidden-Settings-In-The-about-config-Page-01955#Network.http.max-connections
|
|
||||||
// [!] Assumes high-speed connection
|
|
||||||
// [!] Don't go past 10 or websites may temporarily blacklist your IP!
|
|
||||||
// default=6
|
|
||||||
user_pref("network.http.max-persistent-connections-per-server", 10);
|
|
||||||
|
|
||||||
// PREF: Increase communication channels
|
|
||||||
// Increased browser speed shall be mainly observed in pages that contain
|
|
||||||
// images and videos, which normally slow down loading times. The range of
|
|
||||||
// value for this setting goes from 1 to 65535. However, it is rather
|
|
||||||
// unreasonable to increase it to the maximum allowed value, and
|
|
||||||
// subsequently strain the system.
|
|
||||||
// [!] Users on slower connections may want to reduce this number to help
|
|
||||||
// prevent HTTP connection timeouts. Users on faster connections may want to
|
|
||||||
// increase it, but the default value is usually fine for normal usage.
|
|
||||||
// [1] https://www.download3k.com/articles/How-To-Optimize-Firefox-By-Tweaking-Hidden-Settings-In-The-about-config-Page-01955#Network.http.max-persistent-connections-per-server
|
|
||||||
// default=900
|
|
||||||
user_pref("network.http.max-connections", 2000);
|
|
||||||
|
|
||||||
// PREF: Increase memory capacity in order to load more pages faster
|
|
||||||
// If you enter a high value, but you don’t have a lot of RAM in your
|
|
||||||
// computer (e.g. 2GB), then you’ll just decrease the overall system speed.
|
|
||||||
// So pick wisely, and test the browser (and overall system) performance
|
|
||||||
// before leaving this value changed permanently.
|
|
||||||
// [1] https://www.download3k.com/articles/How-To-Optimize-Firefox-By-Tweaking-Hidden-Settings-In-The-about-config-Page-01955
|
|
||||||
// default=250 -> 250KB, 51200 -> 50MB
|
|
||||||
// user_pref("browser.cache.disk.metadata_memory_limit", 51200);
|
|
||||||
|
|
||||||
// PREF: Prevent FF from going offline
|
|
||||||
// Firefox manages network connectivity poorly. It'll stall your browsing if
|
|
||||||
// your connectivity goes out, even for a second. It can make you think your
|
|
||||||
// wifi is down, etc. Best to disable unless you need it.
|
|
||||||
// [1] https://lifehacker.com/stop-firefox-from-automatically-entering-work-offline-5714560 ***/
|
|
||||||
user_pref("network.manage-offline-status", false);
|
|
||||||
|
|
||||||
// PREF: Lazy Image Loading
|
// PREF: Lazy Image Loading
|
||||||
// [1] 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);
|
user_pref("dom.image-lazy-loading.enabled", true); /*default*/
|
||||||
|
|
||||||
// PREF: Reduce animation time for fullscreen animations for HTML5 content
|
// PREF: Reduce animation time for fullscreen animations for HTML5 content
|
||||||
user_pref("full-screen-api.transition-duration.enter", "0 0");
|
user_pref("full-screen-api.transition-duration.enter", "0 0");
|
||||||
@@ -93,10 +43,65 @@ user_pref("full-screen-api.transition-duration.leave", "0 0");
|
|||||||
// default=1000
|
// default=1000
|
||||||
user_pref("security.dialog_enable_delay", 0);
|
user_pref("security.dialog_enable_delay", 0);
|
||||||
|
|
||||||
|
// PREF: Paint visuals on the webpage as fast as possible
|
||||||
|
// The number of milliseconds to wait before first displaying the page.
|
||||||
|
// Lower values will make a page initially display more quickly, but they will
|
||||||
|
// make thepage take longer to finish rendering. Higher values will have the
|
||||||
|
// opposite effect (i.e. page initially displays slower, but less time is spent
|
||||||
|
// watching it render).
|
||||||
|
// http://kb.mozillazine.org/Nglayout.initialpaint.delay
|
||||||
|
// https://botw.org/articles/firefox-about-config.htm
|
||||||
|
// user_pref("nglayout.initialpaint.delay", 0); // default=250
|
||||||
|
|
||||||
|
// PREF: Prioritize page load over immediate responsiveness
|
||||||
|
// ! Only use if you have a high-speed connection
|
||||||
|
// user_pref("content.notify.ontimer", false); // [HIDDEN]
|
||||||
|
// user_pref("content.interrupt.parsing", false); // [HIDDEN]
|
||||||
|
|
||||||
|
// PREF: Increase active connections
|
||||||
|
// ! Assumes high-speed connection
|
||||||
|
// ! Don't go past 10 or websites may temporarily blacklist your IP!
|
||||||
|
// According to the default value, there will be 6 active connections kept
|
||||||
|
// for future requests to a server. If, at some point, more connections are
|
||||||
|
// needed, a delay will occur until there is a slot available. To avoid any
|
||||||
|
// idle periods, we can set more alive connections, thus forcing the browser
|
||||||
|
// to load several elements of a website.
|
||||||
|
// https://www.download3k.com/articles/How-To-Optimize-Firefox-By-Tweaking-Hidden-Settings-In-The-about-config-Page-01955#Network.http.max-connections
|
||||||
|
// user_pref("network.http.max-persistent-connections-per-server", 10); // default=6
|
||||||
|
|
||||||
|
// PREF: Increase communication channels
|
||||||
|
// Increased browser speed shall be mainly observed in pages that contain
|
||||||
|
// images and videos, which normally slow down loading times. The range of
|
||||||
|
// value for this setting goes from 1 to 65535. However, it is rather
|
||||||
|
// unreasonable to increase it to the maximum allowed value, and
|
||||||
|
// subsequently strain the system.
|
||||||
|
// ! Users on slower connections may want to reduce this number to help prevent
|
||||||
|
// HTTP connection timeouts. Users on faster connections may want to increase it,
|
||||||
|
// but the default value is usually fine for normal usage.
|
||||||
|
// https://www.download3k.com/articles/How-To-Optimize-Firefox-By-Tweaking-Hidden-Settings-In-The-about-config-Page-01955#Network.http.max-persistent-connections-per-server
|
||||||
|
// user_pref("network.http.max-connections", 2000); // default=900
|
||||||
|
|
||||||
|
// PREF: Increase memory capacity in order to load more pages faster
|
||||||
|
// If you enter a high value, but you don’t have a lot of RAM in your
|
||||||
|
// computer (e.g. 2GB), then you’ll just decrease the overall system speed.
|
||||||
|
// So pick wisely, and test the browser (and overall system) performance
|
||||||
|
// before leaving this value changed permanently.
|
||||||
|
// https://www.download3k.com/articles/How-To-Optimize-Firefox-By-Tweaking-Hidden-Settings-In-The-about-config-Page-01955
|
||||||
|
// default=250 -> 250KB, 51200 -> 50MB
|
||||||
|
// user_pref("browser.cache.disk.metadata_memory_limit", 51200);
|
||||||
|
|
||||||
|
// PREF: Prevent FF from going offline
|
||||||
|
// Firefox manages network connectivity poorly. It'll stall your browsing if
|
||||||
|
// your connectivity goes out, even for a second. It can make you think your
|
||||||
|
// wifi is down, etc. Best to disable unless you need it.
|
||||||
|
// https://lifehacker.com/stop-firefox-from-automatically-entering-work-offline-5714560
|
||||||
|
// user_pref("network.manage-offline-status", false);
|
||||||
|
|
||||||
// PREF: Disable Firefox animations
|
// PREF: Disable Firefox animations
|
||||||
// Use for old, slow hardware if Firefox gives you laggy performance.
|
// Use for old, slow hardware if Firefox gives you laggy performance.
|
||||||
// default=false
|
|
||||||
// user_pref("toolkit.cosmeticAnimations.enabled", true);
|
// user_pref("toolkit.cosmeticAnimations.enabled", true);
|
||||||
|
|
||||||
// PREF: Reduce memory usage when Firefox is minimized [WINDOWS-only]
|
// PREF: Reduce memory usage when Firefox is minimized [WINDOWS-only]
|
||||||
// user_pref("config.trim_on_minimize", true);
|
// user_pref("config.trim_on_minimize", true);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+78
@@ -0,0 +1,78 @@
|
|||||||
|
//
|
||||||
|
/****************************************************************************
|
||||||
|
* Betterfox *
|
||||||
|
* name: Litefox *
|
||||||
|
* version: 29 July 2020 *
|
||||||
|
* url: https://github.com/yokoffing/Better-Fox *
|
||||||
|
* license: https://github.com/yokoffing/Better-Fox/blob/master/LICENSE *
|
||||||
|
* README: https://github.com/yokoffing/Better-Fox/blob/master/README.md *
|
||||||
|
* "Facile est inventis addere." *
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* START: FASTFOX MINIMAL *
|
||||||
|
****************************************************************************/
|
||||||
|
user_pref("gfx.webrender.all", true);
|
||||||
|
user_pref("full-screen-api.transition-duration.enter", "0 0");
|
||||||
|
user_pref("full-screen-api.transition-duration.leave", "0 0");
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* START: SECUREFOX MINIMAL *
|
||||||
|
****************************************************************************/
|
||||||
|
user_pref("privacy.trackingprotection.enabled", false);
|
||||||
|
user_pref("privacy.trackingprotection.pbmode.enabled", true);
|
||||||
|
user_pref("privacy.trackingprotection.socialtracking.enabled", false);
|
||||||
|
user_pref("privacy.socialtracking.block_cookies.enabled", true);
|
||||||
|
user_pref("privacy.trackingprotection.cryptomining.enabled", true);
|
||||||
|
user_pref("privacy.trackingprotection.fingerprinting.enabled", true);
|
||||||
|
user_pref("network.cookie.cookieBehavior", 1);
|
||||||
|
user_pref("browser.search.separatePrivateDefault", true);
|
||||||
|
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
||||||
|
user_pref("browser.safebrowsing.allowOverride", true);
|
||||||
|
user_pref("browser.safebrowsing.appRepURL", "");
|
||||||
|
user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.downloads.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
|
||||||
|
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
|
||||||
|
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.downloads.remote.url", "");
|
||||||
|
user_pref("browser.safebrowsing.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.malware.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.phishing.enabled", false);
|
||||||
|
user_pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
||||||
|
user_pref("dom.battery.enabled", false);
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* START: PESKYFOX MINIMAL *
|
||||||
|
****************************************************************************/
|
||||||
|
user_pref("browser.download.manager.addToRecentDocs", false);
|
||||||
|
user_pref("browser.startup.page", 3);
|
||||||
|
user_pref("extensions.pocket.enabled", false);
|
||||||
|
user_pref("toolkit.zoomManager.zoomValues", ".3,.5,.67,.8,.9,1,1.1,1.2,1.3,1.4,1.5,1.6,1.7,2,2.4,3");
|
||||||
|
user_pref("full-screen-api.warning.delay", 0);
|
||||||
|
user_pref("full-screen-api.warning.timeout", 0);
|
||||||
|
user_pref("dom.forms.autocomplete.formautofill", false);
|
||||||
|
user_pref("extensions.formautofill.addresses.enabled", false);
|
||||||
|
user_pref("extensions.formautofill.available", "off");
|
||||||
|
user_pref("extensions.formautofill.creditCards.enabled", false);
|
||||||
|
user_pref("signon.rememberSignons", false);
|
||||||
|
user_pref("signon.formlessCapture.enabled", false);
|
||||||
|
user_pref("browser.shell.checkDefaultBrowser", false);
|
||||||
|
user_pref("permissions.default.desktop-notification", 2);
|
||||||
|
user_pref("media.autoplay.default", 5);
|
||||||
|
user_pref("layout.spellcheckDefault", 2);
|
||||||
|
user_pref("findbar.highlightAll", true);
|
||||||
|
user_pref("view_source.wrap_long_lines", true);
|
||||||
|
user_pref("devtools.debugger.ui.editor-wrapping", true);
|
||||||
|
user_pref("devtools.theme", "dark");
|
||||||
|
user_pref("browser.link.open_newwindow", 3);
|
||||||
|
user_pref("browser.link.open_newwindow.restriction", 3);
|
||||||
|
user_pref("browser.link.open_newwindow.override.external", -1);
|
||||||
|
user_pref("browser.tabs.closeWindowWithLastTab", false);
|
||||||
|
user_pref("browser.tabs.loadBookmarksInBackground", true);
|
||||||
|
user_pref("browser.tabs.loadBookmarksInTabs", true);
|
||||||
|
user_pref("editor.truncate_user_pastes", false);
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* END: LITEFOX *
|
||||||
|
****************************************************************************/
|
||||||
@@ -15,8 +15,9 @@ about:config tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/f
|
|||||||
| [Fastfox](https://github.com/yokoffing/Better-Fox/blob/master/FastFox.js) | Immensely increase Firefox's browsing speed. Give Chrome a run for its money!|
|
| [Fastfox](https://github.com/yokoffing/Better-Fox/blob/master/FastFox.js) | Immensely increase Firefox's browsing speed. Give Chrome a run for its money!|
|
||||||
| [PeskyFox](https://github.com/yokoffing/Better-Fox/blob/master/PeskyFox.js) | Unclutter the new tab page. Remove Pocket and form autofill. Prevent Firefox from serving annoying webpage notifications.|
|
| [PeskyFox](https://github.com/yokoffing/Better-Fox/blob/master/PeskyFox.js) | Unclutter the new tab page. Remove Pocket and form autofill. Prevent Firefox from serving annoying webpage notifications.|
|
||||||
| [SmoothFox](https://github.com/yokoffing/Better-Fox/blob/master/SmoothFox.js) | Get Microsoft Edge-like smooth scrolling on your favorite browser|
|
| [SmoothFox](https://github.com/yokoffing/Better-Fox/blob/master/SmoothFox.js) | Get Microsoft Edge-like smooth scrolling on your favorite browser|
|
||||||
| [SecureFox](https://github.com/yokoffing/Better-Fox/blob/master/SecureFox.js) | Remove Telemetry, Mozilla experiments, Google Safe Browsing, and search engine suggestions in URL bar. Auto-upgrade mixed content to HTTPS. Add various privacy enhancements — all without breaking webpages. You read that right. No breakage 😁 |
|
| [SecureFox](https://github.com/yokoffing/Better-Fox/blob/master/SecureFox.js) | Remove Telemetry, Mozilla experiments, Google Safe Browsing, and search engine suggestions in URL bar. Auto-upgrade mixed content to HTTPS. Various privacy enhancements. |
|
||||||
| [user.js](https://github.com/yokoffing/Better-Fox/blob/master/user.js) | Unified list, minus some of my personal preferences. Users may download this list as their own user.js. |
|
| [user.js](https://github.com/yokoffing/Better-Fox/blob/master/user.js) | Unified list, minus some of my personal preferences. Users may download this list as their own user.js. |
|
||||||
|
| [LiteFox](https://github.com/yokoffing/Better-Fox/blob/master/LiteFox.js) | All the essentails without any of the breakage. Use these preferences as your foundation to add to each category as desired, or use it by itself. |
|
||||||
|
|
||||||
## Who is this setup for?
|
## Who is this setup for?
|
||||||
**If you want a secure, blazing fast browsing experience, and don't want to deal with breakage, this setup is for you.** My objective is to make the defaults sufficient enough for the average privacy-minded user, but remain trouble-free enough that my grandmother could use it. <strike>(That puts a whole new twist on being a foxy grandma!)</strike> Edit: Sorry for the dad joke 😓
|
**If you want a secure, blazing fast browsing experience, and don't want to deal with breakage, this setup is for you.** My objective is to make the defaults sufficient enough for the average privacy-minded user, but remain trouble-free enough that my grandmother could use it. <strike>(That puts a whole new twist on being a foxy grandma!)</strike> Edit: Sorry for the dad joke 😓
|
||||||
@@ -33,6 +34,8 @@ TL;DR: If your threat level calls for anonymity and not just reasonable privacy,
|
|||||||
|
|
||||||
Add the custom list [dbl.oisd.nl](https://abp.oisd.nl/) for the best in-browser protection. It's most comprehensive, unified domain blocklist available, actively maintained to prevent false positives and to keep the web usable! Use it alongside your usual lists. [Read More](https://www.reddit.com/r/oisd_blocklist/comments/dwxgld/dbloisdnl_internets_1_domain_blocklist/?sort=new) [[DNS format](https://dbl.oisd.nl) | [ABP format](https://abp.oisd.nl)]
|
Add the custom list [dbl.oisd.nl](https://abp.oisd.nl/) for the best in-browser protection. It's most comprehensive, unified domain blocklist available, actively maintained to prevent false positives and to keep the web usable! Use it alongside your usual lists. [Read More](https://www.reddit.com/r/oisd_blocklist/comments/dwxgld/dbloisdnl_internets_1_domain_blocklist/?sort=new) [[DNS format](https://dbl.oisd.nl) | [ABP format](https://abp.oisd.nl)]
|
||||||
|
|
||||||
|
Also check out [NoTracking](https://github.com/notracking/hosts-blocklists/#general-blocklist-policies) [ABP format](https://raw.githubusercontent.com/notracking/hosts-blocklists/master/adblock/adblock.txt)
|
||||||
|
|
||||||
2. **[Bitwarden](https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager)**: encrypted password manager.
|
2. **[Bitwarden](https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager)**: encrypted password manager.
|
||||||
|
|
||||||
3. **[ClearURLs](https://addons.mozilla.org/en-US/firefox/addon/clearurls)**: clean tracking parameters from URLs, Google searches, etc.
|
3. **[ClearURLs](https://addons.mozilla.org/en-US/firefox/addon/clearurls)**: clean tracking parameters from URLs, Google searches, etc.
|
||||||
@@ -43,4 +46,4 @@ TL;DR: If your threat level calls for anonymity and not just reasonable privacy,
|
|||||||
|
|
||||||
|
|
||||||
## Credit
|
## Credit
|
||||||
Hours spent reviewing, condensing, and testing [ghacks user.js](https://github.com/ghacksuserjs/ghacks-user.js), about:config suggestions from websites and blogs, and keeping up with [Mozilla updates](https://wiki.mozilla.org/Firefox/Roadmap/Updates). (Where there is similiarity to other authors, credit goes to them.)
|
Where there is similiarity to other authors, credit goes to them.
|
||||||
|
|||||||
+26
-45
@@ -11,7 +11,7 @@
|
|||||||
* SecureFox *
|
* SecureFox *
|
||||||
* "Natura non constristatur." *
|
* "Natura non constristatur." *
|
||||||
* priority: increase security and privacy without causing site breakage *
|
* priority: increase security and privacy without causing site breakage *
|
||||||
* version: 5 June 2020 *
|
* version: 29 July 2020 *
|
||||||
* url: https://github.com/yokoffing/Better-Fox *
|
* url: https://github.com/yokoffing/Better-Fox *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
@@ -22,12 +22,12 @@
|
|||||||
// PREF: Enable complete Tracking Protection in Private Browsing mode
|
// PREF: Enable complete Tracking Protection in Private Browsing mode
|
||||||
user_pref("privacy.trackingprotection.pbmode.enabled", true);
|
user_pref("privacy.trackingprotection.pbmode.enabled", true);
|
||||||
|
|
||||||
// PREF: Disable Tracking Protection for regular windows
|
// PREF: Firefox's Enhanced Tracking Protection for regular windows
|
||||||
// ALTERNATIVE: Allow uBlock Origin protect against social tracking instead.
|
// ALTERNATIVE: Allow an extension like uBlock Origin or Ghostery to protect you
|
||||||
// There is no exception with Firefox's Tracking Protection to allow certain
|
// against social tracking instead. Firefox's Tracking Protection does not make
|
||||||
// content (i.e. Twitter's embedded tweets on articles).
|
// exceptions to allow certain content (i.e. Twitter's embedded tweets on articles).
|
||||||
// user_pref("privacy.trackingprotection.enabled", false);
|
// user_pref("privacy.trackingprotection.enabled", true);
|
||||||
// user_pref("privacy.trackingprotection.socialtracking.enabled", false);
|
// user_pref("privacy.trackingprotection.socialtracking.enabled", true);
|
||||||
|
|
||||||
// PREF: Regardless, Firefox will continue to block cryptominers, fingerprinters, etc.
|
// PREF: Regardless, Firefox will continue to block cryptominers, fingerprinters, etc.
|
||||||
user_pref("privacy.socialtracking.block_cookies.enabled", true);
|
user_pref("privacy.socialtracking.block_cookies.enabled", true);
|
||||||
@@ -53,9 +53,9 @@ user_pref("network.cookie.thirdparty.sessionOnly", true);
|
|||||||
user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true);
|
user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true);
|
||||||
|
|
||||||
// PREF: Delete all cookies after a certain period of time
|
// PREF: Delete all cookies after a certain period of time
|
||||||
// Alternative: use a cookie manager extension
|
// ALTERNATIVE: Use a cookie manager extension
|
||||||
// user_pref("network.cookie.lifetimePolicy", 3);
|
user_pref("network.cookie.lifetimePolicy", 3);
|
||||||
// user_pref("network.cookie.lifetime.days", 5);
|
user_pref("network.cookie.lifetime.days", 7);
|
||||||
|
|
||||||
// PREF: Purge site data of sites associated with tracking cookies automatically
|
// PREF: Purge site data of sites associated with tracking cookies automatically
|
||||||
// Identify sites that set tracking cookies, remove those cookies (and other site data)
|
// Identify sites that set tracking cookies, remove those cookies (and other site data)
|
||||||
@@ -74,8 +74,8 @@ user_pref("browser.cache.offline.enable", false);
|
|||||||
|
|
||||||
// PREF: Disable media cache from writing to disk in Private Browsing
|
// PREF: Disable media cache from writing to disk in Private Browsing
|
||||||
// NOTE: MSE (Media Source Extensions) are already stored in-memory in PB
|
// NOTE: MSE (Media Source Extensions) are already stored in-memory in PB
|
||||||
user_pref("browser.privatebrowsing.forceMediaMemoryCache", true);
|
// user_pref("browser.privatebrowsing.forceMediaMemoryCache", true);
|
||||||
user_pref("media.memory_cache_max_size", 16384);
|
// user_pref("media.memory_cache_max_size", 16384);
|
||||||
|
|
||||||
// PREF: Disable all speculative connections
|
// PREF: Disable all speculative connections
|
||||||
// Prefetching causes cookies from the prefetched site to be loaded and other potentially unwanted behavior.
|
// Prefetching causes cookies from the prefetched site to be loaded and other potentially unwanted behavior.
|
||||||
@@ -153,7 +153,7 @@ user_pref("browser.fixup.typo.scheme", false);
|
|||||||
// This prevents others from intercepting the TLS SNI extension and using it
|
// This prevents others from intercepting the TLS SNI extension and using it
|
||||||
// to determine what websites you are browsing.
|
// to determine what websites you are browsing.
|
||||||
// [1] https://www.eff.org/deeplinks/2018/09/esni-privacy-protecting-upgrade-https/
|
// [1] https://www.eff.org/deeplinks/2018/09/esni-privacy-protecting-upgrade-https/
|
||||||
user_pref("network.security.esni.enabled", true);
|
// user_pref("network.security.esni.enabled", true);
|
||||||
|
|
||||||
// PREF: Force FF to always use your custom DNS resolver
|
// PREF: Force FF to always use your custom DNS resolver
|
||||||
// You will type between the "" for both prefs.
|
// You will type between the "" for both prefs.
|
||||||
@@ -231,24 +231,17 @@ user_pref("network.IDN_show_punycode", true);
|
|||||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1320061
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=1320061
|
||||||
user_pref("browser.urlbar.decodeURLsOnCopy", true);
|
user_pref("browser.urlbar.decodeURLsOnCopy", true);
|
||||||
|
|
||||||
// PREF: When webGL is enabled, do not expose information about the graphics driver
|
|
||||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1171228
|
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info
|
|
||||||
user_pref("webgl.enable-debug-renderer-info", false);
|
|
||||||
|
|
||||||
// PREF: WebGL
|
|
||||||
user_pref("webgl.disable-fail-if-major-performance-caveat", true);
|
|
||||||
|
|
||||||
// PREF: Enforce Firefox's built-in PDF reader
|
// PREF: Enforce Firefox's built-in PDF reader
|
||||||
// This setting controls if the option "Display in Firefox" is available in the setting below
|
// This setting controls if the option "Display in Firefox" is available in the setting below
|
||||||
// and by effect controls whether PDFs are handled in-browser or externally ("Ask" or "Open With").
|
// and by effect controls whether PDFs are handled in-browser or externally ("Ask" or "Open With").
|
||||||
// default=false
|
// default=false
|
||||||
user_pref("pdfjs.disabled", false);
|
user_pref("pdfjs.disabled", false); /*default*/
|
||||||
|
|
||||||
// PREF: Enable QUIC protocol / HTTP3
|
// PREF: Enable QUIC protocol / HTTP3
|
||||||
|
// WARNING: Very experimental!
|
||||||
// https://www.litespeedtech.com/
|
// https://www.litespeedtech.com/
|
||||||
// https://quic.rocks
|
// https://quic.rocks
|
||||||
user_pref("network.http.http3.enabled", true);
|
// user_pref("network.http.http3.enabled", true);
|
||||||
|
|
||||||
// PREF: Disable Windows jumplist [WINDOWS-only]
|
// PREF: Disable Windows jumplist [WINDOWS-only]
|
||||||
// user_pref("browser.taskbar.lists.enabled", false);
|
// user_pref("browser.taskbar.lists.enabled", false);
|
||||||
@@ -292,11 +285,21 @@ user_pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/
|
|||||||
user_pref("extensions.blocklist.enabled", true);
|
user_pref("extensions.blocklist.enabled", true);
|
||||||
user_pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%APP_ID%/%APP_VERSION%/");
|
user_pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%APP_ID%/%APP_VERSION%/");
|
||||||
|
|
||||||
|
// PREF: Alert when using a breached password
|
||||||
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=1569848
|
||||||
|
user_pref("signon.management.page.vulnerable-passwords.enabled", true);
|
||||||
|
|
||||||
// PREF: Disable extension metadata
|
// PREF: Disable extension metadata
|
||||||
// Used when installing/updating an extension, and in daily background update checks.
|
// Used when installing/updating an extension, and in daily background update checks.
|
||||||
// When false, extension detail tabs will have no description.
|
// When false, extension detail tabs will have no description.
|
||||||
// user_pref("extensions.getAddons.cache.enabled", false);
|
// user_pref("extensions.getAddons.cache.enabled", false);
|
||||||
|
|
||||||
|
// PREF: Allow HTTPS-only connections [FF76+]
|
||||||
|
// There is currently no way to relax this setting browser-side to make an exception.
|
||||||
|
// https://www.ghacks.net/2020/03/24/firefox-76-gets-optional-https-only-mode
|
||||||
|
// Alternative: HTTPZ extension https://addons.mozilla.org/en-US/firefox/addon/httpz/
|
||||||
|
// user_pref("dom.security.https_only_mode", true);
|
||||||
|
|
||||||
// PREF: Disable all Mozilla telemetry, data collection, experiments, phoning home, etc.
|
// PREF: Disable all Mozilla telemetry, data collection, experiments, phoning home, etc.
|
||||||
user_pref("app.normandy.api_url", "");
|
user_pref("app.normandy.api_url", "");
|
||||||
user_pref("app.normandy.enabled", false);
|
user_pref("app.normandy.enabled", false);
|
||||||
@@ -356,25 +359,3 @@ user_pref("toolkit.telemetry.updatePing.enabled", false);
|
|||||||
// [1] [find source]
|
// [1] [find source]
|
||||||
// user_pref("network.dns.disableIPv6", true);
|
// user_pref("network.dns.disableIPv6", true);
|
||||||
// user_pref("network.notify.IPv6", false);
|
// user_pref("network.notify.IPv6", false);
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
* SECTION: FIREFOX 76 *
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
// PREF: Allow HTTPS-only connections [FF76+]
|
|
||||||
// There is currently no way to relax this setting browser-side to make an exception.
|
|
||||||
// https://www.ghacks.net/2020/03/24/firefox-76-gets-optional-https-only-mode
|
|
||||||
// Alternative: HTTPZ extension https://addons.mozilla.org/en-US/firefox/addon/httpz/
|
|
||||||
// user_pref("dom.security.https_only_mode", true);
|
|
||||||
|
|
||||||
// PREF: Alert when using a breached password
|
|
||||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1569848
|
|
||||||
user_pref("signon.management.page.vulnerable-passwords.enabled", true);
|
|
||||||
|
|
||||||
/******************************************************************************
|
|
||||||
* SECTION: NIGHTLY-ONLY *
|
|
||||||
******************************************************************************/
|
|
||||||
|
|
||||||
// PREF: Project Fisson
|
|
||||||
// A new process model that enables full site isolation
|
|
||||||
// user_pref("fission.autostart", true);
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* BetterFox *
|
* BetterFox *
|
||||||
* name: yokoffing user.js *
|
* name: yokoffing user.js *
|
||||||
* version: 5 June 2020 *
|
* version: 29 July 2020 *
|
||||||
* url: https://github.com/yokoffing/Better-Fox *
|
* url: https://github.com/yokoffing/Better-Fox *
|
||||||
* license: https://github.com/yokoffing/Better-Fox/blob/master/LICENSE *
|
* license: https://github.com/yokoffing/Better-Fox/blob/master/LICENSE *
|
||||||
* README: https://github.com/yokoffing/Better-Fox/blob/master/README.md *
|
* README: https://github.com/yokoffing/Better-Fox/blob/master/README.md *
|
||||||
@@ -13,12 +13,6 @@
|
|||||||
* START: FASTFOX *
|
* START: FASTFOX *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
user_pref("gfx.webrender.all", true);
|
user_pref("gfx.webrender.all", true);
|
||||||
user_pref("nglayout.initialpaint.delay", 0);
|
|
||||||
user_pref("content.notify.ontimer", false);
|
|
||||||
user_pref("content.interrupt.parsing", false);
|
|
||||||
user_pref("network.http.max-persistent-connections-per-server", 10);
|
|
||||||
user_pref("network.http.max-connections", 2000);
|
|
||||||
user_pref("network.manage-offline-status", false);
|
|
||||||
user_pref("dom.image-lazy-loading.enabled", true);
|
user_pref("dom.image-lazy-loading.enabled", true);
|
||||||
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");
|
||||||
@@ -72,10 +66,7 @@ user_pref("dom.targetBlankNoOpener.enabled", true);
|
|||||||
user_pref("network.ftp.enabled", false);
|
user_pref("network.ftp.enabled", false);
|
||||||
user_pref("network.IDN_show_punycode", true);
|
user_pref("network.IDN_show_punycode", true);
|
||||||
user_pref("browser.urlbar.decodeURLsOnCopy", true);
|
user_pref("browser.urlbar.decodeURLsOnCopy", true);
|
||||||
user_pref("webgl.enable-debug-renderer-info", false);
|
|
||||||
user_pref("webgl.disable-fail-if-major-performance-caveat", true);
|
|
||||||
user_pref("pdfjs.disabled", false);
|
user_pref("pdfjs.disabled", false);
|
||||||
user_pref("network.http.http3.enabled", true);
|
|
||||||
user_pref("browser.safebrowsing.allowOverride", true);
|
user_pref("browser.safebrowsing.allowOverride", true);
|
||||||
user_pref("browser.safebrowsing.appRepURL", "");
|
user_pref("browser.safebrowsing.appRepURL", "");
|
||||||
user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
||||||
@@ -201,8 +192,6 @@ user_pref("media.videocontrols.picture-in-picture.audio-toggle.enabled", true);
|
|||||||
user_pref("media.videocontrols.picture-in-picture.video-toggle.flyout-enabled", true);
|
user_pref("media.videocontrols.picture-in-picture.video-toggle.flyout-enabled", true);
|
||||||
user_pref("accessibility.blockautorefresh", true);
|
user_pref("accessibility.blockautorefresh", true);
|
||||||
user_pref("browser.meta_refresh_when_inactive.disabled", true);
|
user_pref("browser.meta_refresh_when_inactive.disabled", true);
|
||||||
user_pref("gfx.color_management.mode", 1);
|
|
||||||
user_pref("gfx.color_management.enablev4", true);
|
|
||||||
user_pref("browser.helperApps.showOpenOptionForPdfJS", true);
|
user_pref("browser.helperApps.showOpenOptionForPdfJS", true);
|
||||||
user_pref("editor.truncate_user_pastes", false);
|
user_pref("editor.truncate_user_pastes", false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user