mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c5fca2dbf7 | |||
| 9756922ee9 | |||
| dfb297bbfb | |||
| cf2c13a45f | |||
| c366439145 | |||
| bd128d8d56 | |||
| d4f1744b0c | |||
| 14de7b101d | |||
| 27bcd885b7 | |||
| 64774680a9 | |||
| 4d23050c74 | |||
| 042bcc1c56 | |||
| 396a465b73 | |||
| d7a530164e | |||
| 1653fc9014 | |||
| 6657c83ae2 |
@@ -0,0 +1,13 @@
|
|||||||
|
# These are supported funding model platforms
|
||||||
|
|
||||||
|
github: yokoffing
|
||||||
|
patreon: # Replace with a single Patreon username
|
||||||
|
open_collective: # Replace with a single Open Collective username
|
||||||
|
ko_fi: yokoffing
|
||||||
|
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
||||||
|
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
||||||
|
liberapay: yokoffing
|
||||||
|
issuehunt: # Replace with a single IssueHunt username
|
||||||
|
otechie: # Replace with a single Otechie username
|
||||||
|
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
||||||
|
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
||||||
+49
-48
@@ -3,7 +3,7 @@
|
|||||||
* Fastfox *
|
* Fastfox *
|
||||||
* "Non ducor duco" *
|
* "Non ducor duco" *
|
||||||
* priority: speedy browsing *
|
* priority: speedy browsing *
|
||||||
* version: 119 *
|
* version: 128 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
|
|
||||||
@@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
// PREF: initial paint delay
|
// PREF: initial paint delay
|
||||||
// How long FF will wait before rendering the page (in ms)
|
// How long FF will wait before rendering the page (in ms)
|
||||||
// [NOTE] Older PCs may want to use 250-750.
|
// [NOTE] You may prefer using 250.
|
||||||
// [NOTE] Dark Reader users may want to use 1000-2000 [3].
|
// [NOTE] Dark Reader users may want to use 1000 [3].
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1283302
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1283302
|
||||||
// [2] https://docs.google.com/document/d/1BvCoZzk2_rNZx3u9ESPoFjSADRI0zIPeJRXFLwWXx_4/edit#heading=h.28ki6m8dg30z
|
// [2] https://docs.google.com/document/d/1BvCoZzk2_rNZx3u9ESPoFjSADRI0zIPeJRXFLwWXx_4/edit#heading=h.28ki6m8dg30z
|
||||||
// [3] https://old.reddit.com/r/firefox/comments/o0xl1q/reducing_cpu_usage_of_dark_reader_extension/
|
// [3] https://old.reddit.com/r/firefox/comments/o0xl1q/reducing_cpu_usage_of_dark_reader_extension/
|
||||||
@@ -75,6 +75,9 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s)
|
|||||||
// PREF: disable preSkeletonUI on startup [WINDOWS]
|
// PREF: disable preSkeletonUI on startup [WINDOWS]
|
||||||
//user_pref("browser.startup.preXulSkeletonUI", false);
|
//user_pref("browser.startup.preXulSkeletonUI", false);
|
||||||
|
|
||||||
|
// PREF: lazy load iframes
|
||||||
|
//user_pref("dom.iframe_lazy_loading.enabled", true); // DEFAULT [FF121+]
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: GFX RENDERING TWEAKS *
|
* SECTION: GFX RENDERING TWEAKS *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -95,14 +98,6 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s)
|
|||||||
//user_pref("gfx.webrender.software", true); // Software Webrender uses CPU instead of GPU
|
//user_pref("gfx.webrender.software", true); // Software Webrender uses CPU instead of GPU
|
||||||
//user_pref("gfx.webrender.software.opengl", true); // LINUX
|
//user_pref("gfx.webrender.software.opengl", true); // LINUX
|
||||||
|
|
||||||
// PREF: NVIDIA RTX Video Super Resolution for video overlay [WINDOWS]
|
|
||||||
// [NOTE] May not work on Stable release [2].
|
|
||||||
// This is also a setting in NVIDIA's driver settings, so once this is
|
|
||||||
// stable, it should default to true.
|
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1823135
|
|
||||||
// [2] https://www.reddit.com/r/firefox/comments/17a0noa/nvidia_video_super_resolution_not_working_on/
|
|
||||||
//user_pref("gfx.webrender.super-resolution.nvidia", true);
|
|
||||||
|
|
||||||
// PREF: GPU-accelerated Canvas2D
|
// PREF: GPU-accelerated Canvas2D
|
||||||
// Use gpu-canvas instead of to skia-canvas.
|
// Use gpu-canvas instead of to skia-canvas.
|
||||||
// [WARNING] May cause issues on some Windows machines using integrated GPUs [2] [3]
|
// [WARNING] May cause issues on some Windows machines using integrated GPUs [2] [3]
|
||||||
@@ -162,6 +157,25 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s)
|
|||||||
//user_pref("browser.cache.disk.capacity", 512000); // default=256000; size of disk cache; 1024000=1GB, 2048000=2GB
|
//user_pref("browser.cache.disk.capacity", 512000); // default=256000; size of disk cache; 1024000=1GB, 2048000=2GB
|
||||||
//user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT (50 MB); maximum size of an object in disk cache
|
//user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT (50 MB); maximum size of an object in disk cache
|
||||||
|
|
||||||
|
// PREF: Race Cache With Network (RCWN) [FF59+]
|
||||||
|
// [ABOUT] about:networking#rcwn
|
||||||
|
// Firefox concurrently sends requests for cached resources to both the
|
||||||
|
// local disk cache and the network server. The browser uses whichever
|
||||||
|
// result arrives first and cancels the other request. This approach sometimes
|
||||||
|
// loads pages faster because the network can be quicker than accessing the cache
|
||||||
|
// on a hard drive. When RCWN is enabled, the request might be served from
|
||||||
|
// the server even if you have valid entry in the cache. Set to false if your
|
||||||
|
// intention is to increase cache usage and reduce network usage.
|
||||||
|
// [1] https://slides.com/valentingosu/race-cache-with-network-2017
|
||||||
|
// [2] https://simonhearne.com/2020/network-faster-than-cache/
|
||||||
|
// [3] https://support.mozilla.org/en-US/questions/1267945
|
||||||
|
// [4] https://askubuntu.com/questions/1214862/36-syns-in-a-row-how-to-limit-firefox-connections-to-one-website
|
||||||
|
// [5] https://bugzilla.mozilla.org/show_bug.cgi?id=1622859
|
||||||
|
//user_pref("network.http.rcwn.enabled", true); // DEFAULT
|
||||||
|
|
||||||
|
// PREF: attempt to RCWN only if a resource is smaller than this size
|
||||||
|
//user_pref("network.http.rcwn.small_resource_size_kb", 256); // DEFAULT
|
||||||
|
|
||||||
// PREF: cache memory pool
|
// PREF: cache memory pool
|
||||||
// Cache v2 provides a memory pool that stores metadata (such as response headers)
|
// Cache v2 provides a memory pool that stores metadata (such as response headers)
|
||||||
// for recently read cache entries [1]. It is managed by a cache thread, and caches with
|
// for recently read cache entries [1]. It is managed by a cache thread, and caches with
|
||||||
@@ -201,7 +215,7 @@ user_pref("content.notify.interval", 100000); // (.10s); default=120000 (.12s)
|
|||||||
// [1] https://searchfox.org/mozilla-release/source/modules/libpref/init/StaticPrefList.yaml#1092-1096
|
// [1] https://searchfox.org/mozilla-release/source/modules/libpref/init/StaticPrefList.yaml#1092-1096
|
||||||
// 0 = once-per-session
|
// 0 = once-per-session
|
||||||
// 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
|
||||||
|
|
||||||
// PREF: enforce free space checks
|
// PREF: enforce free space checks
|
||||||
// When smartsizing is disabled, we could potentially fill all disk space by
|
// When smartsizing is disabled, we could potentially fill all disk space by
|
||||||
@@ -306,11 +320,13 @@ user_pref("image.mem.decode_bytes_at_a_time", 32768); // default=16384; alt=6553
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// PREF: use bigger packets
|
// PREF: use bigger packets
|
||||||
|
// [WARNING] Cannot open HTML files bigger than 4MB if changed [2].
|
||||||
// Reduce Firefox's CPU usage by requiring fewer application-to-driver data transfers.
|
// Reduce Firefox's CPU usage by requiring fewer application-to-driver data transfers.
|
||||||
// However, it does not affect the actual packet sizes transmitted over the network.
|
// However, it does not affect the actual packet sizes transmitted over the network.
|
||||||
// [1] https://www.mail-archive.com/support-seamonkey@lists.mozilla.org/msg74561.html
|
// [1] https://www.mail-archive.com/support-seamonkey@lists.mozilla.org/msg74561.html
|
||||||
user_pref("network.buffer.cache.size", 262144); // 256 kb; default=32768 (32 kb)
|
// [2] https://github.com/yokoffing/Betterfox/issues/279
|
||||||
user_pref("network.buffer.cache.count", 128); // default=24
|
//user_pref("network.buffer.cache.size", 262144); // 256 kb; default=32768 (32 kb)
|
||||||
|
//user_pref("network.buffer.cache.count", 128); // default=24
|
||||||
|
|
||||||
// PREF: increase the absolute number of HTTP connections
|
// PREF: increase the absolute number of HTTP connections
|
||||||
// [1] https://kb.mozillazine.org/Network.http.max-connections
|
// [1] https://kb.mozillazine.org/Network.http.max-connections
|
||||||
@@ -346,8 +362,8 @@ user_pref("network.dnsCacheExpiration", 3600); // keep entries for 1 hour
|
|||||||
//user_pref("network.dnsCacheExpirationGracePeriod", 240); // default=60; cache DNS entries for 4 minutes after they expire
|
//user_pref("network.dnsCacheExpirationGracePeriod", 240); // default=60; cache DNS entries for 4 minutes after they expire
|
||||||
|
|
||||||
// PREF: the number of threads for DNS
|
// PREF: the number of threads for DNS
|
||||||
user_pref("network.dns.max_high_priority_threads", 8); // default=5
|
//user_pref("network.dns.max_high_priority_threads", 40); // DEFAULT [FF 123?]
|
||||||
//user_pref("network.dns.max_any_priority_threads", 3); // DEFAULT
|
//user_pref("network.dns.max_any_priority_threads", 24); // DEFAULT [FF 123?]
|
||||||
|
|
||||||
// PREF: increase TLS token caching
|
// PREF: increase TLS token caching
|
||||||
user_pref("network.ssl_tokens_cache_capacity", 10240); // default=2048; more TLS token caching (fast reconnects)
|
user_pref("network.ssl_tokens_cache_capacity", 10240); // default=2048; more TLS token caching (fast reconnects)
|
||||||
@@ -383,24 +399,34 @@ user_pref("network.ssl_tokens_cache_capacity", 10240); // default=2048; more TLS
|
|||||||
// [3] https://searchfox.org/mozilla-central/rev/028c68d5f32df54bca4cf96376f79e48dfafdf08/modules/libpref/init/all.js#1280-1282
|
// [3] https://searchfox.org/mozilla-central/rev/028c68d5f32df54bca4cf96376f79e48dfafdf08/modules/libpref/init/all.js#1280-1282
|
||||||
// [4] https://www.keycdn.com/blog/resource-hints#prefetch
|
// [4] https://www.keycdn.com/blog/resource-hints#prefetch
|
||||||
// [5] https://3perf.com/blog/link-rels/#prefetch
|
// [5] https://3perf.com/blog/link-rels/#prefetch
|
||||||
//user_pref("network.http.speculative-parallel-limit", 6); // DEFAULT
|
//user_pref("network.http.speculative-parallel-limit", 20); // DEFAULT (FF127+?)
|
||||||
|
|
||||||
// PREF: DNS prefetching <link rel="dns-prefetch">
|
// PREF: DNS prefetching for HTMLLinkElement <link rel="dns-prefetch">
|
||||||
// Used for cross-origin connections to provide small performance improvements.
|
// Used for cross-origin connections to provide small performance improvements.
|
||||||
// Disable DNS prefetching to prevent Firefox from proactively resolving
|
// You can enable rel=dns-prefetch for the HTTPS document without prefetching
|
||||||
// hostnames for other domains linked on a page. This may eliminate
|
// DNS for anchors, whereas the latter makes more specualtive requests [5].
|
||||||
// unnecessary DNS lookups, but can increase latency when following external links.
|
|
||||||
// [1] https://bitsup.blogspot.com/2008/11/dns-prefetching-for-firefox.html
|
// [1] https://bitsup.blogspot.com/2008/11/dns-prefetching-for-firefox.html
|
||||||
// [2] https://css-tricks.com/prefetching-preloading-prebrowsing/#dns-prefetching
|
// [2] https://css-tricks.com/prefetching-preloading-prebrowsing/#dns-prefetching
|
||||||
// [3] https://www.keycdn.com/blog/resource-hints#2-dns-prefetching
|
// [3] https://www.keycdn.com/blog/resource-hints#2-dns-prefetching
|
||||||
// [4] http://www.mecs-press.org/ijieeb/ijieeb-v7-n5/IJIEEB-V7-N5-2.pdf
|
// [4] http://www.mecs-press.org/ijieeb/ijieeb-v7-n5/IJIEEB-V7-N5-2.pdf
|
||||||
|
// [5] https://bugzilla.mozilla.org/show_bug.cgi?id=1596935#c28
|
||||||
user_pref("network.dns.disablePrefetch", true);
|
user_pref("network.dns.disablePrefetch", true);
|
||||||
//user_pref("network.dns.disablePrefetchFromHTTPS", true); // DEFAULT
|
user_pref("network.dns.disablePrefetchFromHTTPS", true); // [FF127+ false]
|
||||||
|
|
||||||
|
// PREF: DNS prefetch for HTMLAnchorElement (speculative DNS)
|
||||||
|
// Disable speculative DNS calls to prevent Firefox from resolving
|
||||||
|
// hostnames for other domains linked on a page. This may eliminate
|
||||||
|
// unnecessary DNS lookups, but can increase latency when following external links.
|
||||||
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1596935#c28
|
||||||
|
// [2] https://github.com/arkenfox/user.js/issues/1870#issuecomment-2220773972
|
||||||
|
//user_pref("dom.prefetch_dns_for_anchor_http_document", false); // [FF128+]
|
||||||
|
//user_pref("dom.prefetch_dns_for_anchor_https_document", false); // DEFAULT [FF128+]
|
||||||
|
|
||||||
// PREF: enable <link rel="preconnect"> tag and Link: rel=preconnect response header handling
|
// PREF: enable <link rel="preconnect"> tag and Link: rel=preconnect response header handling
|
||||||
//user_pref("network.preconnect", true); // DEFAULT
|
//user_pref("network.preconnect", true); // DEFAULT
|
||||||
|
|
||||||
// PREF: preconnect to the autocomplete URL in the address bar
|
// PREF: preconnect to the autocomplete URL in the address bar
|
||||||
|
// Whether to warm up network connections for autofill or search results.
|
||||||
// Firefox preloads URLs that autocomplete when a user types into the address bar.
|
// Firefox preloads URLs that autocomplete when a user types into the address bar.
|
||||||
// Connects to destination server ahead of time, to avoid TCP handshake latency.
|
// Connects to destination server ahead of time, to avoid TCP handshake latency.
|
||||||
// [NOTE] Firefox will perform DNS lookup (if enabled) and TCP and TLS handshake,
|
// [NOTE] Firefox will perform DNS lookup (if enabled) and TCP and TLS handshake,
|
||||||
@@ -409,28 +435,9 @@ user_pref("network.dns.disablePrefetch", true);
|
|||||||
//user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
//user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
||||||
|
|
||||||
// PREF: mousedown speculative connections on bookmarks and history [FF98+]
|
// PREF: mousedown speculative connections on bookmarks and history [FF98+]
|
||||||
|
// Whether to warm up network connections for places:menus and places:toolbar.
|
||||||
//user_pref("browser.places.speculativeConnect.enabled", false);
|
//user_pref("browser.places.speculativeConnect.enabled", false);
|
||||||
|
|
||||||
// PREF: network preload <link rel="preload"> [REMOVED]
|
|
||||||
// Used to load high-priority resources faster on the current page, for strategic
|
|
||||||
// performance improvements.
|
|
||||||
// Instructs the browser to immediately fetch and cache high-priority resources
|
|
||||||
// for the current page to improve performance. The browser downloads resources
|
|
||||||
// but does not execute scripts or apply stylesheets - it just caches them for
|
|
||||||
// instant availability later.
|
|
||||||
// Unlike other pre-connection tags (except modulepreload), this tag is
|
|
||||||
// mandatory for the browser.
|
|
||||||
// [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload
|
|
||||||
// [2] https://w3c.github.io/preload/
|
|
||||||
// [3] https://3perf.com/blog/link-rels/#preload
|
|
||||||
// [4] https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf
|
|
||||||
// [5] https://www.smashingmagazine.com/2016/02/preload-what-is-it-good-for/#how-can-preload-do-better
|
|
||||||
// [6] https://www.keycdn.com/blog/resource-hints#preload
|
|
||||||
// [7] https://github.com/arkenfox/user.js/issues/1098#issue-791949341
|
|
||||||
// [8] https://yashints.dev/blog/2018/10/06/web-perf-2#preload
|
|
||||||
// [9] https://web.dev/preload-critical-assets/
|
|
||||||
//user_pref("network.preload", true); // [REMOVED]
|
|
||||||
|
|
||||||
// PREF: network module preload <link rel="modulepreload"> [FF115+]
|
// PREF: network module preload <link rel="modulepreload"> [FF115+]
|
||||||
// High-priority loading of current page JavaScript modules.
|
// High-priority loading of current page JavaScript modules.
|
||||||
// Used to preload high-priority JavaScript modules for strategic performance improvements.
|
// Used to preload high-priority JavaScript modules for strategic performance improvements.
|
||||||
@@ -535,12 +542,6 @@ user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
|||||||
// [2] https://medium.com/airbnb-engineering/building-a-faster-web-experience-with-the-posttask-scheduler-276b83454e91
|
// [2] https://medium.com/airbnb-engineering/building-a-faster-web-experience-with-the-posttask-scheduler-276b83454e91
|
||||||
user_pref("dom.enable_web_task_scheduling", true);
|
user_pref("dom.enable_web_task_scheduling", true);
|
||||||
|
|
||||||
// PREF: CSS :has() selector [NIGHTLY]
|
|
||||||
// Needed for some extensions, filters, and customizations.
|
|
||||||
// [1] https://developer.mozilla.org/en-US/docs/Web/CSS/:has
|
|
||||||
// [2] https://caniuse.com/css-has
|
|
||||||
user_pref("layout.css.has-selector.enabled", true);
|
|
||||||
|
|
||||||
// PREF: HTML Sanitizer API [NIGHTLY]
|
// PREF: HTML Sanitizer API [NIGHTLY]
|
||||||
// [1] https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer
|
// [1] https://developer.mozilla.org/en-US/docs/Web/API/Sanitizer
|
||||||
// [2] https://caniuse.com/mdn-api_sanitizer
|
// [2] https://caniuse.com/mdn-api_sanitizer
|
||||||
|
|||||||
+65
-35
@@ -3,8 +3,10 @@
|
|||||||
* Peskyfox *
|
* Peskyfox *
|
||||||
* "Aquila non capit muscas" *
|
* "Aquila non capit muscas" *
|
||||||
* priority: remove annoyances *
|
* priority: remove annoyances *
|
||||||
* version: 119 *
|
* version: 128 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* 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 *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
@@ -32,7 +34,8 @@ user_pref("browser.discovery.enabled", false);
|
|||||||
// [2] https://github.com/arkenfox/user.js/issues/1730
|
// [2] https://github.com/arkenfox/user.js/issues/1730
|
||||||
// [3] https://www.fakespot.com/
|
// [3] https://www.fakespot.com/
|
||||||
// [4] https://www.ghacks.net/2023/10/12/firefox-will-soon-tell-you-if-product-reviews-are-reliable/
|
// [4] https://www.ghacks.net/2023/10/12/firefox-will-soon-tell-you-if-product-reviews-are-reliable/
|
||||||
//user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false]
|
//user_pref("browser.shopping.experience2023.enabled", false); // DEFAULT
|
||||||
|
//user_pref("browser.shopping.experience2023.ads.exposure", false); // DEFAULT [FF121+]
|
||||||
|
|
||||||
// PREF: disable Firefox from asking to set as the default browser
|
// PREF: disable Firefox from asking to set as the default browser
|
||||||
// [1] https://github.com/yokoffing/Betterfox/issues/166
|
// [1] https://github.com/yokoffing/Betterfox/issues/166
|
||||||
@@ -46,12 +49,6 @@ user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features",
|
|||||||
// PREF: hide "More from Mozilla" in Settings
|
// PREF: hide "More from Mozilla" in Settings
|
||||||
user_pref("browser.preferences.moreFromMozilla", false);
|
user_pref("browser.preferences.moreFromMozilla", false);
|
||||||
|
|
||||||
// PREF: only show List All Tabs icon when needed
|
|
||||||
// true=always show tab overflow dropdown (FF106+ default)
|
|
||||||
// false=only display tab dropdown when there are too many tabs
|
|
||||||
// [1] https://www.ghacks.net/2022/10/19/how-to-hide-firefoxs-list-all-tabs-icon/
|
|
||||||
user_pref("browser.tabs.tabmanager.enabled", false);
|
|
||||||
|
|
||||||
// PREF: tab and about:config warnings
|
// PREF: tab and about:config warnings
|
||||||
//user_pref("browser.tabs.warnOnClose", false); // DEFAULT [FF94+]
|
//user_pref("browser.tabs.warnOnClose", false); // DEFAULT [FF94+]
|
||||||
//user_pref("browser.tabs.warnOnCloseOtherTabs", true); // DEFAULT
|
//user_pref("browser.tabs.warnOnCloseOtherTabs", true); // DEFAULT
|
||||||
@@ -68,6 +65,15 @@ user_pref("browser.aboutwelcome.enabled", false); // disable Intro screens
|
|||||||
// PREF: disable "What's New" toolbar icon [FF69+]
|
// PREF: disable "What's New" toolbar icon [FF69+]
|
||||||
//user_pref("browser.messaging-system.whatsNewPanel.enabled", false);
|
//user_pref("browser.messaging-system.whatsNewPanel.enabled", false);
|
||||||
|
|
||||||
|
// PREF: only show List All Tabs icon when needed
|
||||||
|
// true=always show tab overflow dropdown (FF106+ default)
|
||||||
|
// false=only display tab dropdown when there are too many tabs
|
||||||
|
// [1] https://www.ghacks.net/2022/10/19/how-to-hide-firefoxs-list-all-tabs-icon/
|
||||||
|
user_pref("browser.tabs.tabmanager.enabled", false);
|
||||||
|
|
||||||
|
// PREF: enable new screenshot tool [FF122+]
|
||||||
|
//user_pref("screenshots.browser.component.enabled", true);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: THEME ADJUSTMENTS *
|
* SECTION: THEME ADJUSTMENTS *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -99,8 +105,9 @@ user_pref("layout.css.prefers-color-scheme.content-override", 2);
|
|||||||
// PREF: prevent private windows being separate from normal windows in taskbar [WINDOWS] [FF106+]
|
// PREF: prevent private windows being separate from normal windows in taskbar [WINDOWS] [FF106+]
|
||||||
user_pref("browser.privateWindowSeparation.enabled", false);
|
user_pref("browser.privateWindowSeparation.enabled", false);
|
||||||
|
|
||||||
// PREF: reduce the size of the "private window" indicator in tab bar [FF106+]
|
// PREF: show search bar [FF122+]
|
||||||
//user_pref("browser.privatebrowsing.enable-new-indicator", false); // REMOVED [FF119+]
|
// Mozilla has removed the search bar option from the settings window.
|
||||||
|
//user_pref("browser.search.widget.inNavBar", true);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: COOKIE BANNER HANDLING *
|
* SECTION: COOKIE BANNER HANDLING *
|
||||||
@@ -121,7 +128,8 @@ user_pref("cookiebanners.service.mode.privateBrowsing", 1);
|
|||||||
// PREF: Cookie Banner global rules
|
// PREF: Cookie Banner global rules
|
||||||
// Global rules that can handle a list of cookie banner libraries and providers on any site.
|
// Global rules that can handle a list of cookie banner libraries and providers on any site.
|
||||||
// This is used for click rules that can handle common Consent Management Providers (CMP).
|
// This is used for click rules that can handle common Consent Management Providers (CMP).
|
||||||
user_pref("cookiebanners.service.enableGlobalRules", true);
|
//user_pref("cookiebanners.service.enableGlobalRules", true); // DEFAULT [FF121+]
|
||||||
|
//user_pref("cookiebanners.service.enableGlobalRules.subFrames", true); // DEFAULT [FF121+]
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: TRANSLATIONS *
|
* SECTION: TRANSLATIONS *
|
||||||
@@ -179,15 +187,16 @@ user_pref("full-screen-api.warning.timeout", 0); // default=3000
|
|||||||
|
|
||||||
// PREF: minimize URL bar suggestions (bookmarks, history, open tabs)
|
// PREF: minimize URL bar suggestions (bookmarks, history, open tabs)
|
||||||
// Dropdown options in the URL bar:
|
// Dropdown options in the URL bar:
|
||||||
//user_pref("browser.urlbar.suggest.bookmark", true); // DEFAULT
|
|
||||||
user_pref("browser.urlbar.suggest.engines", false);
|
|
||||||
//user_pref("browser.urlbar.suggest.history", false);
|
//user_pref("browser.urlbar.suggest.history", false);
|
||||||
|
//user_pref("browser.urlbar.suggest.bookmark", true); // DEFAULT
|
||||||
|
//user_pref("browser.urlbar.suggest.clipboard", false);
|
||||||
//user_pref("browser.urlbar.suggest.openpage", false);
|
//user_pref("browser.urlbar.suggest.openpage", false);
|
||||||
//user_pref("browser.urlbar.suggest.searches", false);
|
user_pref("browser.urlbar.suggest.engines", false);
|
||||||
|
//user_pref("browser.urlbar.suggest.searches", false);
|
||||||
|
//user_pref("browser.urlbar.quickactions.enabled", false);
|
||||||
|
//user_pref("browser.urlbar.shortcuts.quickactions", false);
|
||||||
//user_pref("browser.urlbar.suggest.weather", true); // DEFAULT [FF108]
|
//user_pref("browser.urlbar.suggest.weather", true); // DEFAULT [FF108]
|
||||||
//user_pref("browser.urlbar.weather.ignoreVPN", false); // DEFAULT
|
//user_pref("browser.urlbar.weather.ignoreVPN", false); // DEFAULT
|
||||||
//user_pref("browser.urlbar.quickactions.enabled", false); // NIGHTLY
|
|
||||||
//user_pref("browser.urlbar.shortcuts.quickactions", false); // NIGHTLY
|
|
||||||
user_pref("browser.urlbar.suggest.calculator", true);
|
user_pref("browser.urlbar.suggest.calculator", true);
|
||||||
user_pref("browser.urlbar.unitConversion.enabled", true);
|
user_pref("browser.urlbar.unitConversion.enabled", true);
|
||||||
|
|
||||||
@@ -204,9 +213,8 @@ user_pref("browser.urlbar.trending.featureGate", 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]
|
||||||
|
//user_pref("browser.urlbar.clipboard.featureGate", false); // [FF118+] [DEFAULT: true FF125+]
|
||||||
// PREF: disable urlbar clipboard suggestions [FF118+]
|
//user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+] [DEFAULT: false]
|
||||||
//user_pref("browser.urlbar.clipboard.featureGate", false); // [DEFAULT: false]
|
|
||||||
|
|
||||||
// PREF: disable tab-to-search [FF85+]
|
// PREF: disable tab-to-search [FF85+]
|
||||||
// Alternatively, you can exclude on a per-engine basis by unchecking them in Options>Search
|
// Alternatively, you can exclude on a per-engine basis by unchecking them in Options>Search
|
||||||
@@ -226,6 +234,12 @@ user_pref("browser.urlbar.trending.featureGate", false);
|
|||||||
// disable=0
|
// disable=0
|
||||||
//user_pref("browser.urlbar.maxRichResults", 5); // default=10
|
//user_pref("browser.urlbar.maxRichResults", 5); // default=10
|
||||||
|
|
||||||
|
// PREF: text fragments [FF126+ NIGHTLY]
|
||||||
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1753933#c6
|
||||||
|
// [2] https://developer.mozilla.org/en-US/docs/Web/Text_fragments
|
||||||
|
// [3] https://web.dev/articles/text-fragments
|
||||||
|
//user_pref("dom.text_fragments.enabled", true);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: AUTOPLAY *
|
* SECTION: AUTOPLAY *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -248,13 +262,13 @@ user_pref("browser.urlbar.trending.featureGate", false);
|
|||||||
* SECTION: NEW TAB PAGE *
|
* SECTION: NEW TAB PAGE *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// PREF: open windows/tabs from last session
|
// PREF: startup / new tab page
|
||||||
// 0=blank, 1=home, 2=last visited page, 3=resume previous session
|
// 0=blank, 1=home, 2=last visited page, 3=resume previous session
|
||||||
// [NOTE] Session Restore is cleared with history and not used in Private Browsing mode
|
// [NOTE] Session Restore is cleared with history and not used in Private Browsing mode
|
||||||
// [SETTING] General>Startup>Restore previous session
|
// [SETTING] General>Startup>Open previous windows and tabs
|
||||||
//user_pref("browser.startup.page", 3);
|
//user_pref("browser.startup.page", 3);
|
||||||
|
|
||||||
// PREF: set HOME+NEWWINDOW page to blank tab
|
// PREF: set HOME+NEW WINDOW page to blank tab
|
||||||
// about:home=Activity Stream, custom URL, about:blank
|
// about:home=Activity Stream, custom URL, about:blank
|
||||||
// [SETTING] Home>New Windows and Tabs>Homepage and new windows
|
// [SETTING] Home>New Windows and Tabs>Homepage and new windows
|
||||||
// [Custom URLs] Set two or more websites in Home Page Field – delimited by |
|
// [Custom URLs] Set two or more websites in Home Page Field – delimited by |
|
||||||
@@ -272,7 +286,9 @@ user_pref("browser.urlbar.trending.featureGate", false);
|
|||||||
//user_pref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
|
//user_pref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
|
||||||
//user_pref("browser.newtabpage.activity-stream.showSearch", true); // NTP Web Search [DEFAULT]
|
//user_pref("browser.newtabpage.activity-stream.showSearch", true); // NTP Web Search [DEFAULT]
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // Shortcuts
|
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); // Shortcuts
|
||||||
//user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Sponsored shortcuts [FF83+]
|
//user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Shortcuts > Sponsored shortcuts [FF83+]
|
||||||
|
//user_pref("browser.newtabpage.activity-stream.showWeather", false); // Weather [FF128+ NIGHTLY]
|
||||||
|
//user_pref("browser.newtabpage.activity-stream.system.showWeather", false); // Weather [FF128+ NIGHTLY]
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // Recommended by Pocket
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); // Recommended by Pocket
|
||||||
//user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Sponsored Stories [FF58+]
|
//user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Sponsored Stories [FF58+]
|
||||||
//user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); // Recent Activity [DEFAULT]
|
//user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); // Recent Activity [DEFAULT]
|
||||||
@@ -282,6 +298,9 @@ user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
|||||||
//user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false);
|
//user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false);
|
||||||
//user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); // [DEFAULT]
|
//user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); // [DEFAULT]
|
||||||
|
|
||||||
|
// PREF: wallpapers on New Tab [FF128+ NIGHTLY]
|
||||||
|
//user_pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false); // Wallpapers
|
||||||
|
|
||||||
// PREF: clear default topsites
|
// PREF: clear default topsites
|
||||||
// [NOTE] This does not block you from adding your own.
|
// [NOTE] This does not block you from adding your own.
|
||||||
//user_pref("browser.newtabpage.activity-stream.default.sites", "");
|
//user_pref("browser.newtabpage.activity-stream.default.sites", "");
|
||||||
@@ -312,31 +331,33 @@ user_pref("extensions.pocket.enabled", false);
|
|||||||
* SECTION: DOWNLOADS *
|
* SECTION: DOWNLOADS *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
// PREF: autohide the downloads button
|
|
||||||
//user_pref("browser.download.autohideButton", true); // DEFAULT
|
|
||||||
|
|
||||||
// PREF: choose download location
|
// PREF: choose download location
|
||||||
// [SETTING] To set your default "downloads": General>Downloads>Save files to...
|
// [SETTING] To set your default "downloads": General>Downloads>Save files to...
|
||||||
// 0=desktop, 1=downloads (default), 2=last used
|
// 0=desktop, 1=downloads (default), 2=last used
|
||||||
//user_pref("browser.download.folderList", 1); // DEFAULT
|
//user_pref("browser.download.folderList", 1); // DEFAULT
|
||||||
|
|
||||||
// PREF: always ask where to download
|
// PREF: always ask how to handle new mimetypes [FF101+]
|
||||||
// Enforce user interaction for greater security.
|
// Enforce user interaction for greater security.
|
||||||
|
// [SETTING] General>Files and Applications>Applications>What should Firefox do with other files?
|
||||||
|
// false=Save files
|
||||||
|
// true=Ask whether to open or save files
|
||||||
|
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
||||||
|
|
||||||
|
// PREF: always ask where to download
|
||||||
|
// [OPTIONAL HARDENING] Enforce user interaction for greater security.
|
||||||
// [SETTING] General>Files and Applications>Downloads>Always ask you where to save files
|
// [SETTING] General>Files and Applications>Downloads>Always ask you where to save files
|
||||||
// [DIALOGUE] "Ask whether to open or save files"
|
// [DIALOGUE] "Ask whether to open or save files"
|
||||||
// true=direct download (default)
|
// true=direct download (default)
|
||||||
// false=the user is asked what to do
|
// false=the user is asked what to do
|
||||||
// [1] https://github.com/yokoffing/Betterfox/issues/216
|
// [1] https://github.com/yokoffing/Betterfox/issues/267
|
||||||
user_pref("browser.download.useDownloadDir", false);
|
//user_pref("browser.download.useDownloadDir", false);
|
||||||
//user_pref("browser.download.dir", "C:\Users\<YOUR_USERNAME>\AppData\Local\Temp"); // [WINDOWS]
|
//user_pref("browser.download.dir", "C:\Users\<YOUR_USERNAME>\AppData\Local\Temp"); // [WINDOWS]
|
||||||
|
|
||||||
// PREF: always ask how to handle new mimetypes
|
// PREF: autohide the downloads button
|
||||||
// Enforce user interaction for greater security.
|
//user_pref("browser.download.autohideButton", true); // DEFAULT
|
||||||
// [SETTING] General>Files and Applications>Applications>What should Firefox do with other files?>Ask whether to open or save files
|
|
||||||
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
|
||||||
|
|
||||||
// PREF: disable downloads panel opening on every download
|
// PREF: disable download panel opening on every download [non-functional?]
|
||||||
// Controls whether to open the downloads panel every time a download begins.
|
// Controls whether to open the download panel every time a download begins.
|
||||||
// [NOTE] The first download ever ran in a new profile will still open the panel.
|
// [NOTE] The first download ever ran in a new profile will still open the panel.
|
||||||
//user_pref("browser.download.alwaysOpenPanel", false);
|
//user_pref("browser.download.alwaysOpenPanel", false);
|
||||||
|
|
||||||
@@ -484,6 +505,9 @@ user_pref("layout.word_select.eat_space_to_next_word", false);
|
|||||||
//user_pref("dom.disable_open_during_load", true); // DEFAULT
|
//user_pref("dom.disable_open_during_load", true); // DEFAULT
|
||||||
//user_pref("privacy.popups.showBrowserMessage", true); // DEFAULT
|
//user_pref("privacy.popups.showBrowserMessage", true); // DEFAULT
|
||||||
|
|
||||||
|
// PREF: enable Tab Preview [FF122+]
|
||||||
|
//user_pref("browser.tabs.cardPreview.enabled", true);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: UNCATEGORIZED *
|
* SECTION: UNCATEGORIZED *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -573,3 +597,9 @@ user_pref("layout.word_select.eat_space_to_next_word", false);
|
|||||||
// Still needed for Stylus?
|
// Still needed for Stylus?
|
||||||
// [1] https://reddit.com/r/FirefoxCSS/comments/8x2q97/reenabling_mozdocument_rules_in_firefox_61/
|
// [1] https://reddit.com/r/FirefoxCSS/comments/8x2q97/reenabling_mozdocument_rules_in_firefox_61/
|
||||||
//user_pref("layout.css.moz-document.content.enabled", true);
|
//user_pref("layout.css.moz-document.content.enabled", true);
|
||||||
|
|
||||||
|
// PREF: always underline links [FF120+]
|
||||||
|
//user_pref("layout.css.always_underline_links", false); // DEFAULT
|
||||||
|
|
||||||
|
// PREF: hide frequent sites on right-click of taskbar icon [WINDOWS?]
|
||||||
|
//user_pref("browser.taskbar.lists.frequent.enabled", false);
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
[](https://hits.seeyoufarm.com)
|
[](https://hits.seeyoufarm.com)
|
||||||
|
|
||||||
# Betterfox
|
# Betterfox
|
||||||
|
31% faster than regular Firefox<sup>[1](https://medium.com/@mihirgrand/comparing-popular-firefox-forks-6fa83fdfdaad#:~:text=31%25%20more%20than%20vanilla%20Firefox)</sup> :rocket:
|
||||||
|
|
||||||
[about:config](https://support.mozilla.org/en-US/kb/about-config-editor-firefox) tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/firefox/new/).
|
[about:config](https://support.mozilla.org/en-US/kb/about-config-editor-firefox) tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/firefox/new/).
|
||||||
|
|
||||||
:new: Now with [ESR support](https://github.com/yokoffing/Betterfox/tree/esr115#betterfox-esr).
|
:new: Now with [ESR support](https://github.com/yokoffing/Betterfox/tree/esr115#betterfox-esr).
|
||||||
@@ -10,22 +12,23 @@
|
|||||||
## Made for everyday browsing
|
## Made for everyday browsing
|
||||||
**A secure, blazing fast browsing experience. Without breakage.**
|
**A secure, blazing fast browsing experience. Without breakage.**
|
||||||
|
|
||||||
Betterfox is an opinionated preference list inspired by the [law of diminishing returns](https://pmctraining.com/site/wp-content/uploads/2018/04/Law-of-Diminishing-Returns-CHART.png) and the [minimum effective dose](https://medium.com/the-mission/less-is-more-the-minimum-effective-dose-e6d56625931e).
|
Betterfox is an opinionated preference list inspired by the [law of diminishing returns](https://web.archive.org/web/20231108092752if_/https://pmctraining.com/site/wp-content/uploads/2018/04/Law-of-Diminishing-Returns-CHART.png) and the [minimum effective dose](https://medium.com/the-mission/less-is-more-the-minimum-effective-dose-e6d56625931e).
|
||||||
|
|
||||||
## Getting started
|
## Required reading
|
||||||
*If you don't have it already: [Get Firefox](https://www.mozilla.org/en-US/firefox/all/#product-desktop-release)*
|
*If you don't have it already: [Get Firefox](https://www.mozilla.org/en-US/firefox/all/#product-desktop-release)*
|
||||||
|
|
||||||
1) Create a [backup profile](https://github.com/yokoffing/Betterfox/wiki/Backup).
|
0) Create a [backup profile](https://github.com/yokoffing/Betterfox/wiki/Backup).
|
||||||
2) Download the user.js file [here](https://raw.githubusercontent.com/yokoffing/Betterfox/main/user.js) (Right click > `Save Link As…`).
|
1) Download the user.js file [here](https://raw.githubusercontent.com/yokoffing/Betterfox/main/user.js) (Right click > `Save Link As…`).
|
||||||
3) Review [Common Overrides](https://github.com/yokoffing/Betterfox/wiki/Common-Overrides) and make any necessary changes.
|
2) Review [Common Overrides](https://github.com/yokoffing/Betterfox/wiki/Common-Overrides) and make any necessary changes.
|
||||||
* See also [Optional Hardening](https://github.com/yokoffing/Betterfox/wiki/Optional-Hardening) for other recommendations.
|
* See also [Optional Hardening](https://github.com/yokoffing/Betterfox/wiki/Optional-Hardening) for other recommendations.
|
||||||
4) Open Firefox. In the URL bar, type `about:profiles` and press **Enter**.
|
3) Open Firefox. In the URL bar, type `about:profiles` and press **Enter**.
|
||||||
5) For the profile you want to use (or use default), click **Open Folder** in the **Root Directory** section.
|
4) For the profile you want to use (or use default), click **Open Folder** in the **Root Directory** section.
|
||||||
6) Move the `user.js` file into the folder.
|
5) Move the `user.js` file into the folder.
|
||||||
|
|
||||||
*After restarting Firefox:*
|
*After restarting Firefox:*
|
||||||
1) Get an **ad blocker** like [uBlock Origin](https://addons.mozilla.org/blog/ublock-origin-everything-you-need-to-know-about-the-ad-blocker/) with our [recommended filters](https://github.com/yokoffing/filterlists#guidelines).
|
1) Get an **ad blocker** like [uBlock Origin](https://addons.mozilla.org/blog/ublock-origin-everything-you-need-to-know-about-the-ad-blocker/) with our [recommended filters](https://github.com/yokoffing/filterlists#guidelines).
|
||||||
2) Enable **DNS-level protection** with [NextDNS](https://nextdns.io/?from=xujj63g5), and check out our configuration [guide](https://github.com/yokoffing/NextDNS-Config).
|
2) Enable **DNS-level protection** with [NextDNS](https://nextdns.io/?from=xujj63g5). <sup><i>Use the link and support this page!</i></sup>
|
||||||
|
* Check out our configuration [guide](https://github.com/yokoffing/NextDNS-Config) for the best experience.
|
||||||
* See how to [quickly enable](https://support.mozilla.org/en-US/kb/dns-over-https) **secure DNS** in Firefox.
|
* See how to [quickly enable](https://support.mozilla.org/en-US/kb/dns-over-https) **secure DNS** in Firefox.
|
||||||
|
|
||||||
## Simple goals
|
## Simple goals
|
||||||
@@ -41,15 +44,17 @@ The `user.js` — a configuration file that controls Firefox settings — is cur
|
|||||||
|
|
||||||
| List | Description |
|
| List | Description |
|
||||||
|:---------:|-------------|
|
|:---------:|-------------|
|
||||||
| [Fastfox](https://github.com/yokoffing/Betterfox/blob/main/Fastfox.js) | Immensely increase Firefox's browsing speed. Give Chrome a run for its money!|
|
| [Fastfox](https://github.com/yokoffing/Betterfox/blob/main/Fastfox.js) | Increase Firefox's browsing speed. Give Chrome a run for its money!|
|
||||||
| [Securefox](https://github.com/yokoffing/Betterfox/blob/main/Securefox.js) | [Global Privacy Control](https://blog.mozilla.org/netpolicy/2021/10/28/implementing-global-privacy-control/). [HTTPS-by-Default](https://blog.mozilla.org/security/2021/08/10/firefox-91-introduces-https-by-default-in-private-browsing/). [Total Cookie Protection](https://blog.mozilla.org/security/2021/02/23/total-cookie-protection/) with [site isolation](https://blog.mozilla.org/security/2021/05/18/introducing-site-isolation-in-firefox/). Enhanced [state](https://developer.mozilla.org/en-US/docs/Web/Privacy/State_Partitioning) and [network](https://blog.mozilla.org/security/2021/01/26/supercookie-protections/) partitioning. [Telemetry](https://github.com/yokoffing/Betterfox/blob/e66a549985f6b0db4b14226904b8c09eaaea998f/Securefox.js#L1262-L1265) disabled. |
|
| [Securefox](https://github.com/yokoffing/Betterfox/blob/main/Securefox.js) | Protect user data without causing site breakage. |
|
||||||
| [Peskyfox](https://github.com/yokoffing/Betterfox/blob/main/Peskyfox.js) | Unclutter the new tab page. Remove [Pocket](https://support.mozilla.org/en-US/kb/what-pocket). Restore [compact mode](https://support.mozilla.org/en-US/kb/compact-mode-workaround-firefox) as an option. Stop webpage notifications, pop-ups, and other annoyances. |
|
| [Peskyfox](https://github.com/yokoffing/Betterfox/blob/main/Peskyfox.js) | Provide a clean, distraction-free browsing experience. |
|
||||||
| [Smoothfox](https://github.com/yokoffing/Betterfox/blob/main/Smoothfox.js) | Get Edge-like smooth scrolling on your favorite browser — or choose something more your style. |
|
| [Smoothfox](https://github.com/yokoffing/Betterfox/blob/main/Smoothfox.js) | Get Edge-like smooth scrolling on your favorite browser — or choose something more your style. |
|
||||||
| [user.js](https://github.com/yokoffing/Betterfox/blob/main/user.js) | All the essentials. None of the breakage. This is your `user.js`. |
|
| [user.js](https://github.com/yokoffing/Betterfox/blob/main/user.js) | All the essentials. None of the breakage. This is your `user.js`. |
|
||||||
|
|
||||||
## Recognition
|
## Recognition
|
||||||
|
|
||||||
### Browser Integration
|
### Browser Integration
|
||||||
|
* [Midori](https://github.com/goastian/midori-desktop/blob/ESR115/README.md) | [files](https://github.com/goastian/midori-desktop/blob/f3d8d96eb8e08f35a64e3c957bea4e839d7c7730/floorp/browser/components/userjsUtils.sys.mjs#L28-L33) (Dec 2023?)
|
||||||
|
* [Mercury](https://github.com/Alex313031/Mercury/releases/tag/v.115.3.0) | [files](https://github.com/Alex313031/Mercury/commit/eb9600f9fb8f48c8f5b5c6f3264fbcdb5caff7f5) (Sep 2023)
|
||||||
* [Waterfox](https://www.waterfox.net/en-US/docs/releases/G6.0/) | [files](https://github.com/WaterfoxCo/Waterfox/tree/current/waterfox/browser/app/profile) (Sep 2023)
|
* [Waterfox](https://www.waterfox.net/en-US/docs/releases/G6.0/) | [files](https://github.com/WaterfoxCo/Waterfox/tree/current/waterfox/browser/app/profile) (Sep 2023)
|
||||||
* [Floorp](https://github.com/Floorp-Projects/Floorp#-betterfox) <sup>[1](https://github.com/Floorp-Projects/Floorp/issues/233#issuecomment-1543557167) [2](https://blog.ablaze.one/3135/2023-04-01/)</sup> | [files](https://github.com/Floorp-Projects/Floorp/blob/ESR115/floorp/browser/components/preferences/userjs.inc.xhtml) (Apr 2023)
|
* [Floorp](https://github.com/Floorp-Projects/Floorp#-betterfox) <sup>[1](https://github.com/Floorp-Projects/Floorp/issues/233#issuecomment-1543557167) [2](https://blog.ablaze.one/3135/2023-04-01/)</sup> | [files](https://github.com/Floorp-Projects/Floorp/blob/ESR115/floorp/browser/components/preferences/userjs.inc.xhtml) (Apr 2023)
|
||||||
* [Pulse](https://github.com/pulse-browser/browser#%EF%B8%8F-credits) | [files](https://github.com/pulse-browser/browser/tree/alpha/src/browser/app/profile) (Dec 2021)
|
* [Pulse](https://github.com/pulse-browser/browser#%EF%B8%8F-credits) | [files](https://github.com/pulse-browser/browser/tree/alpha/src/browser/app/profile) (Dec 2021)
|
||||||
@@ -66,6 +71,8 @@ The `user.js` — a configuration file that controls Firefox settings — is cur
|
|||||||
* [GhoSTORIES with Franz & Pete](https://anchor.fm/ghostories/episodes/S2E6-We-Talking-Ghostery-Dawn----Again-er0q02/a-a4o5vmh) | 17:05–18:40 (Feb 2021)
|
* [GhoSTORIES with Franz & Pete](https://anchor.fm/ghostories/episodes/S2E6-We-Talking-Ghostery-Dawn----Again-er0q02/a-a4o5vmh) | 17:05–18:40 (Feb 2021)
|
||||||
|
|
||||||
### Articles
|
### Articles
|
||||||
|
* [Browsers for Daily Using](https://anhkhoakz.neocities.org/blog/browsers-for-daily-using) (Jan 2024)
|
||||||
|
* [Avoiding Manifest V3 – Escaping the Ad-Pocalypse](https://www.xbitlabs.com/avoiding-manifest-v3/) (Dec 2023)
|
||||||
* [German] [Pulse Browser Review: Firefox fork with Turbo tweaks and Opera sidebar](https://www.computerbild.de/artikel/cb-Tipps-Software-Pulse-Browser-Review-ein-Firefox-Fork-mit-Seitenleiste-wie-bei-Opera-35644139.html#:~:text=Noch%20mehr%20Speed%2DFeatures) (Apr 2023)
|
* [German] [Pulse Browser Review: Firefox fork with Turbo tweaks and Opera sidebar](https://www.computerbild.de/artikel/cb-Tipps-Software-Pulse-Browser-Review-ein-Firefox-Fork-mit-Seitenleiste-wie-bei-Opera-35644139.html#:~:text=Noch%20mehr%20Speed%2DFeatures) (Apr 2023)
|
||||||
* [2023 Browser Showdown: Comparing Chrome, Brave, Firefox, Vivaldi, and Opera](https://www.appdate.lk/technology/2023-browser-showdown/) (Jan 2023)
|
* [2023 Browser Showdown: Comparing Chrome, Brave, Firefox, Vivaldi, and Opera](https://www.appdate.lk/technology/2023-browser-showdown/) (Jan 2023)
|
||||||
|
|
||||||
@@ -79,9 +86,10 @@ The `user.js` — a configuration file that controls Firefox settings — is cur
|
|||||||
* “I use this one ... The performance is absolutely amazing. There’s definitely a huge difference when it comes to loading sites.” - [DIRIKtv](https://youtu.be/N8IOJiOFVEk?t=16)
|
* “I use this one ... The performance is absolutely amazing. There’s definitely a huge difference when it comes to loading sites.” - [DIRIKtv](https://youtu.be/N8IOJiOFVEk?t=16)
|
||||||
* "BetterFox ... will provide good-enough privacy and help with performance." - [Qdoit12Super](https://old.reddit.com/r/browsers/comments/139h4my/suggestion_for_finding_3_good_privacy_focus/jj3n3qn/?context=2)
|
* "BetterFox ... will provide good-enough privacy and help with performance." - [Qdoit12Super](https://old.reddit.com/r/browsers/comments/139h4my/suggestion_for_finding_3_good_privacy_focus/jj3n3qn/?context=2)
|
||||||
* "...drastically changed the experience with Firefox for me. Improved speed, security, smoothness, and removed clutter." - [AppDate](https://www.appdate.lk/technology/2023-browser-showdown/#:~:text=Used%20the%20BetterFox%20user%20config%20settings%20with%20some%20overrides%20which%20drastically%20changed%20the%20experience)
|
* "...drastically changed the experience with Firefox for me. Improved speed, security, smoothness, and removed clutter." - [AppDate](https://www.appdate.lk/technology/2023-browser-showdown/#:~:text=Used%20the%20BetterFox%20user%20config%20settings%20with%20some%20overrides%20which%20drastically%20changed%20the%20experience)
|
||||||
|
* "Firefox with uBlock Origin extension and tuned with Betterfox is faster than Safari." - [cugeloid](https://elephas.app/blog/best-browsers-mac#what-is-the-best-browser-for-mac-according-to-redditandnbsp)
|
||||||
* "I don't think I could use Firefox without Betterfox." - [Professional_Fun4616](https://old.reddit.com/r/nextdns/comments/15y815f/the_people_behind_betterfox_have_this_awesome/jxb7cir/?context=3)
|
* "I don't think I could use Firefox without Betterfox." - [Professional_Fun4616](https://old.reddit.com/r/nextdns/comments/15y815f/the_people_behind_betterfox_have_this_awesome/jxb7cir/?context=3)
|
||||||
* "The best collection of tweaks available." - [AuRiMaS](https://old.reddit.com/r/MozillaFirefox/comments/15cc1vk/about_changes_in_aboutconfig/jtyx910/?context=3)
|
* "The best collection of tweaks available." - [AuRiMaS](https://old.reddit.com/r/MozillaFirefox/comments/15cc1vk/about_changes_in_aboutconfig/jtyx910/?context=3)
|
||||||
* "FF is now much snappier! Thanks a lot for the suggestions!" - [whotheff](https://old.reddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz/)
|
* "FF is now much snappier!" - [whotheff](https://old.reddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz/)
|
||||||
* "...the experience is so good now I don’t think I’ll go back to any of the chromium based browsers." - [Mr_Compromise](https://old.reddit.com/r/pcmasterrace/comments/zwioe1/what_browser_will_you_be_using_in_2023_please/j1wmbxo/)
|
* "...the experience is so good now I don’t think I’ll go back to any of the chromium based browsers." - [Mr_Compromise](https://old.reddit.com/r/pcmasterrace/comments/zwioe1/what_browser_will_you_be_using_in_2023_please/j1wmbxo/)
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
@@ -90,8 +98,11 @@ If you like the project, leave a :star: (top right) and become a [stargazer](htt
|
|||||||
|
|
||||||
[](https://github.com/yokoffing/Betterfox/stargazers)
|
[](https://github.com/yokoffing/Betterfox/stargazers)
|
||||||
|
|
||||||
|
<a href='https://ko-fi.com/Q5Q5G8EPH' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi2.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
|
||||||
|
<noscript><a href="https://liberapay.com/yokoffing/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></noscript>
|
||||||
|
|
||||||
## Credit
|
## Credit
|
||||||
* This repository benefits from the ongoing research provided by [arkenfox](https://github.com/arkenfox/user.js).
|
* 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.
|
||||||
* 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.
|
||||||
|
|||||||
+220
-110
@@ -3,8 +3,10 @@
|
|||||||
* Securefox *
|
* Securefox *
|
||||||
* "Natura non contristatur" *
|
* "Natura non contristatur" *
|
||||||
* priority: provide sensible security and privacy *
|
* priority: provide sensible security and privacy *
|
||||||
* version: 119 *
|
* version: 128 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* 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 *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
@@ -87,7 +89,7 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
|
|||||||
// 0=disabled, 1=enabled (default)
|
// 0=disabled, 1=enabled (default)
|
||||||
//user_pref("security.sandbox.gpu.level", 1); // DEFAULT WINDOWS
|
//user_pref("security.sandbox.gpu.level", 1); // DEFAULT WINDOWS
|
||||||
|
|
||||||
// PREF: State Paritioning [Dynamic First-Party Isolation (dFPI), Total Cookie Protection (TCP)]
|
// PREF: State Partitioning [Dynamic First-Party Isolation (dFPI), Total Cookie Protection (TCP)]
|
||||||
// Firefox manages client-side state (i.e., data stored in the browser) to mitigate the ability of websites to abuse state
|
// Firefox manages client-side state (i.e., data stored in the browser) to mitigate the ability of websites to abuse state
|
||||||
// for cross-site tracking. This effort aims to achieve that by providing what is effectively a "different", isolated storage
|
// for cross-site tracking. This effort aims to achieve that by providing what is effectively a "different", isolated storage
|
||||||
// location to every website a user visits.
|
// location to every website a user visits.
|
||||||
@@ -118,7 +120,7 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
|
|||||||
// [3] https://blog.mozilla.org/security/2021/01/26/supercookie-protections/
|
// [3] https://blog.mozilla.org/security/2021/01/26/supercookie-protections/
|
||||||
//user_pref("privacy.partition.network_state", true); // DEFAULT
|
//user_pref("privacy.partition.network_state", true); // DEFAULT
|
||||||
//user_pref("privacy.partition.serviceWorkers", true); // [DEFAULT: true FF105+]
|
//user_pref("privacy.partition.serviceWorkers", true); // [DEFAULT: true FF105+]
|
||||||
//user_pref("privacy.partition.network_state.ocsp_cache", true); // enabled with "Strict"
|
//user_pref("privacy.partition.network_state.ocsp_cache", true); // enabled with "Strict" [DEFAULT: true FF123+]
|
||||||
//user_pref("privacy.partition.bloburl_per_partition_key", true); // [FF118+]
|
//user_pref("privacy.partition.bloburl_per_partition_key", true); // [FF118+]
|
||||||
// enable APS (Always Partitioning Storage) [FF104+]
|
// enable APS (Always Partitioning Storage) [FF104+]
|
||||||
//user_pref("privacy.partition.always_partition_third_party_non_cookie_storage", true); // [DEFAULT: true FF109+]
|
//user_pref("privacy.partition.always_partition_third_party_non_cookie_storage", true); // [DEFAULT: true FF109+]
|
||||||
@@ -130,7 +132,7 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
|
|||||||
// [3] https://searchfox.org/mozilla-central/source/browser/extensions/webcompat/data/shims.js
|
// [3] https://searchfox.org/mozilla-central/source/browser/extensions/webcompat/data/shims.js
|
||||||
//user_pref("extensions.webcompat.enable_shims", true); // enabled with "Strict"
|
//user_pref("extensions.webcompat.enable_shims", true); // enabled with "Strict"
|
||||||
|
|
||||||
// PREF: Redirect Tracking Prevention
|
// PREF: Redirect Tracking Prevention / Cookie Purging
|
||||||
// All storage is cleared (more or less) daily from origins that are known trackers and that
|
// All storage is cleared (more or less) daily from origins that are known trackers and that
|
||||||
// haven’t received a top-level user interaction (including scroll) within the last 45 days.
|
// haven’t received a top-level user interaction (including scroll) within the last 45 days.
|
||||||
// [1] https://www.ghacks.net/2020/08/06/how-to-enable-redirect-tracking-in-firefox/
|
// [1] https://www.ghacks.net/2020/08/06/how-to-enable-redirect-tracking-in-firefox/
|
||||||
@@ -138,8 +140,17 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
|
|||||||
// [3] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Privacy/Redirect_tracking_protection
|
// [3] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Privacy/Redirect_tracking_protection
|
||||||
// [4] https://www.ghacks.net/2020/03/04/firefox-75-will-purge-site-data-if-associated-with-tracking-cookies/
|
// [4] https://www.ghacks.net/2020/03/04/firefox-75-will-purge-site-data-if-associated-with-tracking-cookies/
|
||||||
// [5] https://github.com/arkenfox/user.js/issues/1089
|
// [5] https://github.com/arkenfox/user.js/issues/1089
|
||||||
|
// [6] https://firefox-source-docs.mozilla.org/toolkit/components/antitracking/anti-tracking/cookie-purging/index.html
|
||||||
//user_pref("privacy.purge_trackers.enabled", true); // DEFAULT
|
//user_pref("privacy.purge_trackers.enabled", true); // DEFAULT
|
||||||
|
|
||||||
|
// PREF: Bounce Tracking Protection [FF127+]
|
||||||
|
// A new standardised variant of Cookie Purging that uses heuristics to detect bounce trackers,
|
||||||
|
// rather than relying on tracker lists.
|
||||||
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1895222
|
||||||
|
// [2] https://groups.google.com/a/mozilla.org/g/dev-platform/c/M6erM0SjPTM
|
||||||
|
//user_pref("privacy.bounceTrackingProtection.enabled", true);
|
||||||
|
//user_pref("privacy.bounceTrackingProtection.enableDryRunMode", false); // false enables tracker data purging
|
||||||
|
|
||||||
// PREF: SameSite Cookies
|
// PREF: SameSite Cookies
|
||||||
// Currently, the absence of the SameSite attribute implies that cookies will be
|
// Currently, the absence of the SameSite attribute implies that cookies will be
|
||||||
// attached to any request for a given origin, no matter who initiated that request.
|
// attached to any request for a given origin, no matter who initiated that request.
|
||||||
@@ -210,7 +221,8 @@ user_pref("browser.uitour.enabled", false);
|
|||||||
// [7] https://www.eff.org/gpc-privacy-badger
|
// [7] https://www.eff.org/gpc-privacy-badger
|
||||||
// [8] https://www.eff.org/issues/do-not-track
|
// [8] https://www.eff.org/issues/do-not-track
|
||||||
user_pref("privacy.globalprivacycontrol.enabled", true);
|
user_pref("privacy.globalprivacycontrol.enabled", true);
|
||||||
user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
|
//user_pref("privacy.globalprivacycontrol.functionality.enabled", true); // [FF120+]
|
||||||
|
//user_pref("privacy.globalprivacycontrol.pbmode.enabled", true); // [FF120+]
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: OSCP & CERTS / HPKP (HTTP Public Key Pinning) *
|
* SECTION: OSCP & CERTS / HPKP (HTTP Public Key Pinning) *
|
||||||
@@ -290,6 +302,14 @@ user_pref("security.pki.crlite_mode", 2);
|
|||||||
//user_pref("security.enterprise_roots.enabled", false);
|
//user_pref("security.enterprise_roots.enabled", false);
|
||||||
//user_pref("security.certerrors.mitm.auto_enable_enterprise_roots", false);
|
//user_pref("security.certerrors.mitm.auto_enable_enterprise_roots", false);
|
||||||
|
|
||||||
|
// PREF: disable content analysis by DLP (Data Loss Prevention) agents [FF124+]
|
||||||
|
// DLP agents are background processes on managed computers that allow enterprises to monitor locally running
|
||||||
|
// applications for data exfiltration events, which they can allow/block based on customer defined DLP policies.
|
||||||
|
// [1] https://github.com/chromium/content_analysis_sdk
|
||||||
|
// [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1880314
|
||||||
|
//user_pref("browser.contentanalysis.enabled", false); // [FF121+] [DEFAULT]
|
||||||
|
//user_pref("browser.contentanalysis.default_result", 0; // [FF127+] [DEFAULT]
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: SSL (Secure Sockets Layer) / TLS (Transport Layer Security) *
|
* SECTION: SSL (Secure Sockets Layer) / TLS (Transport Layer Security) *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -310,7 +330,7 @@ user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
|
|||||||
// know that. Setting this pref to true is the only way for the
|
// know that. Setting this pref to true is the only way for the
|
||||||
// browser to ensure there will be no unsafe renegotiations on
|
// browser to ensure there will be no unsafe renegotiations on
|
||||||
// the channel between the browser and the server.
|
// the channel between the browser and the server.
|
||||||
// [STATS] SSL Labs > Renegotiation Support (Feb 2023) reports over 99.3% of top sites have secure renegotiation [4].
|
// [STATS] SSL Labs > Renegotiation Support (May 2024) reports over 99.7% of top sites have secure renegotiation [4].
|
||||||
// [1] https://wiki.mozilla.org/Security:Renegotiation
|
// [1] https://wiki.mozilla.org/Security:Renegotiation
|
||||||
// [2] https://datatracker.ietf.org/doc/html/rfc5746
|
// [2] https://datatracker.ietf.org/doc/html/rfc5746
|
||||||
// [3] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3555
|
// [3] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3555
|
||||||
@@ -330,7 +350,7 @@ user_pref("browser.xul.error_pages.expert_bad_cert", true);
|
|||||||
user_pref("security.tls.enable_0rtt_data", false);
|
user_pref("security.tls.enable_0rtt_data", false);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: FINGERPRINT PROTECTION (RFP) *
|
* SECTION: FINGERPRINT PROTECTION (FPP) *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// PREF: enable FingerPrint Protection (FPP) [WiP]
|
// PREF: enable FingerPrint Protection (FPP) [WiP]
|
||||||
@@ -343,7 +363,7 @@ user_pref("security.tls.enable_0rtt_data", false);
|
|||||||
* SECTION: RESIST FINGERPRINTING (RFP) *
|
* SECTION: RESIST FINGERPRINTING (RFP) *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// PREF: enable advanced fingerprinting protection
|
// PREF: enable advanced fingerprinting protection (RFP)
|
||||||
// [WARNING] Leave disabled unless you're okay with all the drawbacks
|
// [WARNING] Leave disabled unless you're okay with all the drawbacks
|
||||||
// [1] https://librewolf.net/docs/faq/#what-are-the-most-common-downsides-of-rfp-resist-fingerprinting
|
// [1] https://librewolf.net/docs/faq/#what-are-the-most-common-downsides-of-rfp-resist-fingerprinting
|
||||||
// [2] https://www.reddit.com/r/firefox/comments/wuqpgi/comment/ile3whx/?context=3
|
// [2] https://www.reddit.com/r/firefox/comments/wuqpgi/comment/ile3whx/?context=3
|
||||||
@@ -368,13 +388,6 @@ user_pref("security.tls.enable_0rtt_data", false);
|
|||||||
// [1] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/3.5/ICC_color_correction_in_Firefox
|
// [1] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/3.5/ICC_color_correction_in_Firefox
|
||||||
//user_pref("browser.display.use_system_colors", false);
|
//user_pref("browser.display.use_system_colors", false);
|
||||||
|
|
||||||
// PREF: enforce non-native widget theme
|
|
||||||
// Security: removes/reduces system API calls, e.g. win32k API [1]
|
|
||||||
// Fingerprinting: provides a uniform look and feel across platforms [2]
|
|
||||||
// [1] https://bugzilla.mozilla.org/1381938
|
|
||||||
// [2] https://bugzilla.mozilla.org/1411425
|
|
||||||
//user_pref("widget.non-native-theme.enabled", true); // DEFAULT
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: DISK AVOIDANCE *
|
* SECTION: DISK AVOIDANCE *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -383,13 +396,16 @@ user_pref("security.tls.enable_0rtt_data", false);
|
|||||||
// [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);
|
||||||
|
|
||||||
// PREF: set the minimum interval (in milliseconds) between session save operations,
|
// PREF: minimum interval (in ms) between session save operations
|
||||||
// when crashing or restarting to install updates
|
// Firefox periodically saves the user's session so it can restore
|
||||||
// [NOTE] The value is how often FF checks for state changes.
|
// their most recent tabs and windows if the browser crashes or restarts.
|
||||||
// Data is only saved when state changes [2].
|
// The value sets the minimum time between these session save operations.
|
||||||
|
// Firefox only saves session data when the state has changed since the last save [2].
|
||||||
|
// Work has been done to mitigate potential performance drawbacks of frequent session saving [3].
|
||||||
// [1] https://kb.mozillazine.org/Browser.sessionstore.interval
|
// [1] https://kb.mozillazine.org/Browser.sessionstore.interval
|
||||||
// [2] https://bugzilla.mozilla.org/1304389
|
// [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1304389#c64
|
||||||
user_pref("browser.sessionstore.interval", 60000); // 1 minute; default=15000 (15s)
|
// [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1304389#c66
|
||||||
|
user_pref("browser.sessionstore.interval", 60000); // 1 minute; default=15000 (15s); 900000=15 min; 1800000=30 min
|
||||||
|
|
||||||
// PREF: store extra session data when crashing or restarting to install updates
|
// PREF: store extra session data when crashing or restarting to install updates
|
||||||
// Dictates whether sites may save extra session data such as form content,
|
// Dictates whether sites may save extra session data such as form content,
|
||||||
@@ -416,10 +432,10 @@ user_pref("browser.sessionstore.interval", 60000); // 1 minute; default=15000 (1
|
|||||||
//user_pref("browser.pagethumbnails.capturing_disabled", true); // [HIDDEN PREF]
|
//user_pref("browser.pagethumbnails.capturing_disabled", true); // [HIDDEN PREF]
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: CLEARING DATA DEFAULTS *
|
* SECTION: SANITIZE HISTORY *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
// PREF: reset default 'Time range to clear' for 'Clear Recent History'.
|
// PREF: reset default 'Time range to clear' for "Clear Data" and "Clear History"
|
||||||
// Firefox remembers your last choice. This will reset the value when you start Firefox.
|
// Firefox remembers your last choice. This will reset the value when you start Firefox.
|
||||||
// 0=everything, 1=last hour, 2=last two hours, 3=last four hours,
|
// 0=everything, 1=last hour, 2=last two hours, 3=last four hours,
|
||||||
// 4=today, 5=last five minutes, 6=last twenty-four hours
|
// 4=today, 5=last five minutes, 6=last twenty-four hours
|
||||||
@@ -427,18 +443,33 @@ user_pref("browser.sessionstore.interval", 60000); // 1 minute; default=15000 (1
|
|||||||
// blank value if they are used, but they do work as advertised.
|
// blank value if they are used, but they do work as advertised.
|
||||||
//user_pref("privacy.sanitize.timeSpan", 0);
|
//user_pref("privacy.sanitize.timeSpan", 0);
|
||||||
|
|
||||||
// PREF: reset default items to clear with Ctrl-Shift-Del
|
// PREF: sanitize site data: set manual "Clear Data" items [FF128+]
|
||||||
// This dialog can also be accessed from the menu History>Clear Recent History
|
// Firefox remembers your last choices. This will reset them when you start Firefox
|
||||||
|
// [SETTING] Privacy & Security>Browser Privacy>Cookies and Site Data>Clear Data
|
||||||
|
//user_pref("privacy.clearSiteData.cache", true);
|
||||||
|
//user_pref("privacy.clearSiteData.cookiesAndStorage", false); // keep false until it respects "allow" site exceptions
|
||||||
|
//user_pref("privacy.clearSiteData.historyFormDataAndDownloads", true);
|
||||||
|
//user_pref("privacy.clearSiteData.siteSettings", false);
|
||||||
|
|
||||||
|
// PREF: sanitize history: set manual "Clear History" items, also via Ctrl-Shift-Del | clearHistory migration is FF128+
|
||||||
// Firefox remembers your last choices. This will reset them when you start Firefox.
|
// Firefox remembers your last choices. This will reset them when you start Firefox.
|
||||||
// Regardless of what you set privacy.cpd.downloads to, as soon as the dialog
|
// [NOTE] Regardless of what you set "downloads" to, as soon as the dialog
|
||||||
// for "Clear Recent History" is opened, it is synced to the same as 'history'.
|
// for "Clear Recent History" is opened, it is synced to the same as "history".
|
||||||
//user_pref("privacy.cpd.history", true); // Browsing & Download History [DEFAULT]
|
// [SETTING] Privacy & Security>History>Custom Settings>Clear History
|
||||||
//user_pref("privacy.cpd.formdata", true); // Form & Search History [DEFAULT]
|
//user_pref("privacy.cpd.cache", true); // [DEFAULT]
|
||||||
//user_pref("privacy.cpd.cache", true); // Cache [DEFAULT]
|
//user_pref("privacy.clearHistory.cache", true);
|
||||||
//user_pref("privacy.cpd.cookies", true); // Cookies [DEFAULT]
|
//user_pref("privacy.cpd.formdata", true); // [DEFAULT]
|
||||||
//user_pref("privacy.cpd.sessions", false); // Active Logins [DEFAULT]
|
//user_pref("privacy.cpd.history", true); // [DEFAULT]
|
||||||
//user_pref("privacy.cpd.offlineApps", false); // Offline Website Data [DEFAULT]
|
//user_pref("privacy.cpd.downloads", true); // not used; see note above
|
||||||
//user_pref("privacy.cpd.siteSettings", false); // Site Preferences [DEFAULT]
|
//user_pref("privacy.clearHistory.historyFormDataAndDownloads", true);
|
||||||
|
//user_pref("privacy.cpd.cookies", false);
|
||||||
|
//user_pref("privacy.cpd.sessions", true); // [DEFAULT]
|
||||||
|
//user_pref("privacy.cpd.offlineApps", false); // [DEFAULT]
|
||||||
|
//user_pref("privacy.clearHistory.cookiesAndStorage", false);
|
||||||
|
//user_pref("privacy.cpd.openWindows", false); // Session Restore
|
||||||
|
//user_pref("privacy.cpd.passwords", false);
|
||||||
|
//user_pref("privacy.cpd.siteSettings", false);
|
||||||
|
//user_pref("privacy.clearHistory.siteSettings", false);
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: SHUTDOWN & SANITIZING *
|
* SECTION: SHUTDOWN & SANITIZING *
|
||||||
@@ -457,24 +488,43 @@ user_pref("privacy.history.custom", true);
|
|||||||
// Clearing "offlineApps" may affect login items after browser restart [2].
|
// Clearing "offlineApps" may affect login items after browser restart [2].
|
||||||
// [1] https://en.wikipedia.org/wiki/Basic_access_authentication
|
// [1] https://en.wikipedia.org/wiki/Basic_access_authentication
|
||||||
// [2] https://github.com/arkenfox/user.js/issues/1291
|
// [2] https://github.com/arkenfox/user.js/issues/1291
|
||||||
|
// [3] https://github.com/yokoffing/Betterfox/issues/272
|
||||||
//user_pref("privacy.sanitize.sanitizeOnShutdown", true);
|
//user_pref("privacy.sanitize.sanitizeOnShutdown", true);
|
||||||
|
|
||||||
// Uncomment individual prefs to disable clearing on shutdown:
|
// PREF: sanitize on shutdown: no site exceptions | v2 migration [FF128+]
|
||||||
// [NOTE] If "history" is true, downloads will also be cleared.
|
// [NOTE] If "history" is true, downloads will also be cleared.
|
||||||
// [NOTE] Even if "downloads" pref is enabled, downloads won't be cleared unless "history" is set to true!
|
//user_pref("privacy.clearOnShutdown.cache", true); // [DEFAULT]
|
||||||
//user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT]
|
//user_pref("privacy.clearOnShutdown_v2.cache", true); // [FF128+] [DEFAULT]
|
||||||
//user_pref("privacy.clearOnShutdown.downloads", true);
|
//user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT]
|
||||||
//user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT]
|
//user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT]
|
||||||
//user_pref("privacy.clearOnShutdown.sessions", true); // [DEFAULT]
|
//user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT]
|
||||||
//user_pref("privacy.clearOnShutdown.offlineApps", true);
|
//user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true); // [FF128+] [DEFAULT]
|
||||||
//user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT]
|
//user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT]
|
||||||
|
//user_pref("privacy.clearOnShutdown_v2.siteSettings", false); // [FF128+] [DEFAULT]
|
||||||
|
|
||||||
|
// PREF: set Session Restore to clear on shutdown [FF34+]
|
||||||
|
// [NOTE] Not needed if Session Restore is not used or it is already cleared with history (2811)
|
||||||
|
// [NOTE] However, if true, this pref prevents resuming from crashes.
|
||||||
|
//user_pref("privacy.clearOnShutdown.openWindows", true);
|
||||||
|
|
||||||
|
// PREF: sanitize on shutdown: respects allow site exceptions | v2 migration [FF128+]
|
||||||
|
// Set cookies, site data, cache, etc. to clear on shutdown.
|
||||||
|
// [SETTING] Privacy & Security>History>Custom Settings>Clear history when Firefox closes>Settings
|
||||||
|
// [NOTE] "sessions": Active Logins (has no site exceptions): refers to HTTP Basic Authentication [1], not logins via cookies.
|
||||||
|
// [NOTE] "offlineApps": Offline Website Data: localStorage, service worker cache, QuotaManager (IndexedDB, asm-cache).
|
||||||
|
// Clearing "offlineApps" may affect login items after browser restart.
|
||||||
|
// [1] https://en.wikipedia.org/wiki/Basic_access_authentication
|
||||||
|
//user_pref("privacy.clearOnShutdown.cookies", true); // Cookies
|
||||||
|
//user_pref("privacy.clearOnShutdown.offlineApps", true); // Site Data
|
||||||
|
//user_pref("privacy.clearOnShutdown.sessions", true); // Active Logins [DEFAULT]
|
||||||
|
//user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); // Cookies, Site Data, Active Logins [FF128+]
|
||||||
|
|
||||||
// PREF: configure site exceptions
|
// PREF: configure site exceptions
|
||||||
// [NOTE] Currently, there is no way to add sites via about:config
|
// [NOTE] Currently, there is no way to add sites via about:config.
|
||||||
// [SETTING] to manage site exceptions: Options>Privacy & Security>Cookies & Site Data>Manage Exceptions
|
// [SETTING] to add site exceptions: Ctrl+I>Permissions>Cookies>Allow (when on the website in question)
|
||||||
// or when on the website in question: Ctrl+I>Permissions>Cookies>Allow
|
// [SETTING] To manage site exceptions: Options>Privacy & Security>Cookies & Site Data>Manage Exceptions
|
||||||
// For cross-domain logins, add exceptions for both sites:
|
// [NOTE] Exceptions: A "cookie" permission also controls "offlineApps" (see note below). For cross-domain logins,
|
||||||
// e.g. https://www.youtube.com (site) + https://accounts.google.com (single sign on)
|
// add exceptions for both sites e.g. https://www.youtube.com (site) + https://accounts.google.com (single sign on)
|
||||||
// [WARNING] Be selective with what cookies you keep, as they also disable partitioning [1]
|
// [WARNING] Be selective with what cookies you keep, as they also disable partitioning [1]
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1767271
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1767271
|
||||||
|
|
||||||
@@ -482,8 +532,9 @@ user_pref("privacy.history.custom", true);
|
|||||||
* SECTION: SEARCH / URL BAR *
|
* SECTION: SEARCH / URL BAR *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
// PREF: trim certain parts of the URL
|
// PREF: darken certain parts of the URL [FF75+]
|
||||||
// Makes the domain name more prominent by graying out other parts of the URL.
|
// Makes the domain name more prominent by graying out other parts of the URL.
|
||||||
|
// Also hidse https:// and www parts from the suggestion URL.
|
||||||
// [1] https://udn.realityripple.com/docs/Mozilla/Preferences/Preference_reference/browser.urlbar.trimURLs
|
// [1] https://udn.realityripple.com/docs/Mozilla/Preferences/Preference_reference/browser.urlbar.trimURLs
|
||||||
// [2] https://winaero.com/firefox-75-strips-https-and-www-from-address-bar-results/
|
// [2] https://winaero.com/firefox-75-strips-https-and-www-from-address-bar-results/
|
||||||
//user_pref("browser.urlbar.trimURLs", true); // DEFAULT
|
//user_pref("browser.urlbar.trimURLs", true); // DEFAULT
|
||||||
@@ -495,26 +546,27 @@ user_pref("privacy.history.custom", true);
|
|||||||
// so it's not like we need to see https. It's not a privacy issue, so you can add to your overrides.
|
// so it's not like we need to see https. It's not a privacy issue, so you can add to your overrides.
|
||||||
// [TEST] http://www.http2demo.io/
|
// [TEST] http://www.http2demo.io/
|
||||||
// [1] https://www.ghacks.net/2023/09/19/firefox-119-will-launch-with-an-important-address-bar-change/
|
// [1] https://www.ghacks.net/2023/09/19/firefox-119-will-launch-with-an-important-address-bar-change/
|
||||||
//user_pref("browser.urlbar.trimHttps", true);
|
user_pref("browser.urlbar.trimHttps", true);
|
||||||
|
|
||||||
|
// PREF: reveal HTTPS in the URL upon double click [FF127+]
|
||||||
|
//user_pref("browser.urlbar.untrimOnUserInteraction.featureGate", true);
|
||||||
|
|
||||||
// PREF: display "Not Secure" text on HTTP sites
|
// PREF: display "Not Secure" text on HTTP sites
|
||||||
// Needed with HTTPS-First Policy; not needed with HTTPS-Only Mode.
|
// Needed with HTTPS-First Policy; not needed with HTTPS-Only Mode.
|
||||||
user_pref("security.insecure_connection_text.enabled", true);
|
user_pref("security.insecure_connection_text.enabled", true);
|
||||||
user_pref("security.insecure_connection_text.pbmode.enabled", true);
|
user_pref("security.insecure_connection_text.pbmode.enabled", true);
|
||||||
|
|
||||||
// PREF: do not show search terms in URL bar [FF110+] [FF113+]
|
// PREF: do not show search terms in URL bar [FF110+]
|
||||||
// Show search query instead of URL on search results pages.
|
// Show search query instead of URL on search results pages.
|
||||||
// [SETTING] Search>Search Bar>Use the address bar for search and navigation>Show search terms instead of URL...
|
// [SETTING] Search>Search Bar>Use the address bar for search and navigation>Show search terms instead of URL...
|
||||||
//user_pref("browser.urlbar.showSearchTerms.enabled", false);
|
//user_pref("browser.urlbar.showSearchTerms.enabled", false);
|
||||||
|
//user_pref("browser.urlbar.showSearchTerms.featureGate", false); // DEFAULT
|
||||||
|
|
||||||
// PREF: enable seperate search engine for Private Windows
|
// PREF: enable seperate search engine for Private Windows
|
||||||
// [SETTINGS] Preferences>Search>Default Search Engine>"Use this search engine in Private Windows"
|
// [SETTINGS] Preferences>Search>Default Search Engine>"Use this search engine in Private Windows"
|
||||||
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
||||||
// [SETTINGS] "Choose a different default search engine for Private Windows only"
|
// [SETTINGS] "Choose a different default search engine for Private Windows only"
|
||||||
//user_pref("browser.search.separatePrivateDefault", true); // DEFAULT
|
//user_pref("browser.search.separatePrivateDefault", true); // DEFAULT
|
||||||
// enable prompt for searching in a Private Window when using normal browsing window URL bar
|
|
||||||
// [1] https://www.reddit.com/r/firefox/comments/yg8jyh/different_private_search_option_gone_firefox_106/
|
|
||||||
//user_pref("browser.search.separatePrivateDefault.urlbarResult.enabled", true); // HIDDEN
|
|
||||||
|
|
||||||
// PREF: enable option to add custom search engine
|
// PREF: enable option to add custom search engine
|
||||||
// [SETTINGS] Settings -> Search -> Search Shortcuts -> Add
|
// [SETTINGS] Settings -> Search -> Search Shortcuts -> Add
|
||||||
@@ -523,18 +575,22 @@ user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
|||||||
// [1] https://reddit.com/r/firefox/comments/xkzswb/adding_firefox_search_engine_manually/
|
// [1] https://reddit.com/r/firefox/comments/xkzswb/adding_firefox_search_engine_manually/
|
||||||
user_pref("browser.urlbar.update2.engineAliasRefresh", true); // HIDDEN
|
user_pref("browser.urlbar.update2.engineAliasRefresh", true); // HIDDEN
|
||||||
|
|
||||||
// PREF: disable urlbar live search engine suggestions (Google, Bing, etc.)
|
// PREF: disable live search suggestions (Google, Bing, etc.)
|
||||||
// [WARNING] Search engines keylog every character you type from the URL bar.
|
// [WARNING] Search engines keylog every character you type from the URL bar.
|
||||||
|
// Override these if you trust and use a privacy respecting search engine.
|
||||||
|
// [NOTE] Both prefs must be true for live search to work in the location bar.
|
||||||
|
// [SETTING] Search>Provide search suggestions > Show search suggestions in address bar result
|
||||||
user_pref("browser.search.suggest.enabled", false);
|
user_pref("browser.search.suggest.enabled", false);
|
||||||
//user_pref("browser.search.suggest.enabled.private", false); // DEFAULT
|
//user_pref("browser.search.suggest.enabled.private", false); // DEFAULT
|
||||||
|
user_pref("browser.urlbar.suggest.searches", false);
|
||||||
|
|
||||||
// PREF: disable Firefox Suggest
|
// PREF: disable Firefox Suggest
|
||||||
// [1] https://github.com/arkenfox/user.js/issues/1257
|
// [1] https://github.com/arkenfox/user.js/issues/1257
|
||||||
//user_pref("browser.urlbar.quicksuggest.enabled", false); // controls whether the UI is shown
|
user_pref("browser.urlbar.quicksuggest.enabled", false); // controls whether the UI is shown
|
||||||
user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false);
|
user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+]
|
||||||
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false);
|
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+]
|
||||||
// hide Firefox Suggest label in URL dropdown box
|
// hide Firefox Suggest label in URL dropdown box
|
||||||
//user_pref("browser.urlbar.groupLabels.enabled", false);
|
user_pref("browser.urlbar.groupLabels.enabled", false);
|
||||||
|
|
||||||
// PREF: disable search and form history
|
// PREF: disable search and form history
|
||||||
// Be aware that autocomplete form data can be read by third parties [1][2].
|
// Be aware that autocomplete form data can be read by third parties [1][2].
|
||||||
@@ -590,8 +646,9 @@ user_pref("network.IDN_show_punycode", true);
|
|||||||
// [4] https://web.dev/why-https-matters/
|
// [4] https://web.dev/why-https-matters/
|
||||||
// [5] https://www.cloudflare.com/learning/ssl/why-use-https/
|
// [5] https://www.cloudflare.com/learning/ssl/why-use-https/
|
||||||
// [6] https://blog.chromium.org/2023/08/towards-https-by-default.html
|
// [6] https://blog.chromium.org/2023/08/towards-https-by-default.html
|
||||||
user_pref("dom.security.https_first", true);
|
user_pref("dom.security.https_first", true); [DEFAULT FF129+]
|
||||||
//user_pref("dom.security.https_first_pbm", true); // DEFAULT
|
//user_pref("dom.security.https_first_pbm", true); // [DEFAULT FF91+]
|
||||||
|
//user_pref("dom.security.https_first_schemeless", true); // [FF120+]
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: HTTPS-ONLY MODE *
|
* SECTION: HTTPS-ONLY MODE *
|
||||||
@@ -647,7 +704,8 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true);
|
|||||||
// [SETTINGS] Privacy & Security > DNS over HTTPS > Enable secure DNS using:
|
// [SETTINGS] Privacy & Security > DNS over HTTPS > Enable secure DNS using:
|
||||||
// [NOTE] Mode 3 has site-exceptions with a nice UI on the error page.
|
// [NOTE] Mode 3 has site-exceptions with a nice UI on the error page.
|
||||||
// [1] https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/
|
// [1] https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/
|
||||||
// [2] https://support.mozilla.org/en-US/kb/dns-over-https#w_protection-levels-explained
|
// [2] https://wiki.mozilla.org/Security/DOH-resolver-policy
|
||||||
|
// [3] https://support.mozilla.org/en-US/kb/dns-over-https#w_protection-levels-explained
|
||||||
// 0= Default Protection: Firefox decides when to use secure DNS (default)
|
// 0= Default Protection: Firefox decides when to use secure DNS (default)
|
||||||
// 2= Increased Protection: use DoH and fall back to native DNS if necessary
|
// 2= Increased Protection: use DoH and fall back to native DNS if necessary
|
||||||
// 3= Max Protection: only use DoH; do not fall back to native DNS
|
// 3= Max Protection: only use DoH; do not fall back to native DNS
|
||||||
@@ -768,7 +826,7 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true);
|
|||||||
// PREF: disable password manager
|
// PREF: disable password manager
|
||||||
// [NOTE] This does not clear any passwords already saved.
|
// [NOTE] This does not clear any passwords already saved.
|
||||||
// [SETTING] Privacy & Security>Logins and Passwords>Ask to save logins and passwords for websites
|
// [SETTING] Privacy & Security>Logins and Passwords>Ask to save logins and passwords for websites
|
||||||
user_pref("signon.rememberSignons", false);
|
//user_pref("signon.rememberSignons", false);
|
||||||
//user_pref("signon.rememberSignons.visibilityToggle", true); // DEFAULT
|
//user_pref("signon.rememberSignons.visibilityToggle", true); // DEFAULT
|
||||||
//user_pref("signon.schemeUpgrades", true); // DEFAULT
|
//user_pref("signon.schemeUpgrades", true); // DEFAULT
|
||||||
//user_pref("signon.showAutoCompleteFooter", true); // DEFAULT
|
//user_pref("signon.showAutoCompleteFooter", true); // DEFAULT
|
||||||
@@ -804,9 +862,13 @@ user_pref("signon.privateBrowsingCapture.enabled", false);
|
|||||||
// [2] https://support.mozilla.org/en-US/kb/firefox-lockwise-managing-account-data
|
// [2] https://support.mozilla.org/en-US/kb/firefox-lockwise-managing-account-data
|
||||||
// user_pref("signon.management.page.breach-alerts.enabled", false);
|
// user_pref("signon.management.page.breach-alerts.enabled", false);
|
||||||
//user_pref("signon.management.page.breachAlertUrl", "");
|
//user_pref("signon.management.page.breachAlertUrl", "");
|
||||||
// user_pref("browser.contentblocking.report.lockwise.enabled", false);
|
//user_pref("browser.contentblocking.report.lockwise.enabled", false);
|
||||||
//user_pref("browser.contentblocking.report.lockwise.how_it_works.url", "");
|
//user_pref("browser.contentblocking.report.lockwise.how_it_works.url", "");
|
||||||
|
|
||||||
|
// PREF: disable Firefox Relay
|
||||||
|
// Privacy & Security > Passwords > Suggest Firefox Relay email masks to protect your email address
|
||||||
|
//user_pref("signon.firefoxRelay.feature", "");
|
||||||
|
|
||||||
// PREF: disable websites autocomplete
|
// PREF: disable websites autocomplete
|
||||||
// Don't let sites dictate use of saved logins and passwords.
|
// Don't let sites dictate use of saved logins and passwords.
|
||||||
//user_pref("signon.storeWhenAutocompleteOff", false);
|
//user_pref("signon.storeWhenAutocompleteOff", false);
|
||||||
@@ -836,38 +898,38 @@ user_pref("editor.truncate_user_pastes", false);
|
|||||||
// [NOTE] stored data is not secure (uses a JSON file)
|
// [NOTE] stored data is not secure (uses a JSON file)
|
||||||
// [1] https://wiki.mozilla.org/Firefox/Features/Form_Autofill
|
// [1] https://wiki.mozilla.org/Firefox/Features/Form_Autofill
|
||||||
// [2] https://www.ghacks.net/2017/05/24/firefoxs-new-form-autofill-is-awesome
|
// [2] https://www.ghacks.net/2017/05/24/firefoxs-new-form-autofill-is-awesome
|
||||||
user_pref("extensions.formautofill.addresses.enabled", false);
|
//user_pref("extensions.formautofill.addresses.enabled", false);
|
||||||
user_pref("extensions.formautofill.creditCards.enabled", false);
|
//user_pref("extensions.formautofill.creditCards.enabled", false);
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: MIXED CONTENT + CROSS-SITE *
|
* SECTION: MIXED CONTENT + CROSS-SITE *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
// [TEST] https://mixed-script.badssl.com/
|
|
||||||
|
|
||||||
// PREF: disable automatic authentication on Microsoft sites [WINDOWS]
|
|
||||||
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1695693,1719301
|
|
||||||
//user_pref("network.http.windows-sso.enabled", false);
|
|
||||||
|
|
||||||
// PREF: block insecure active content (scripts) on HTTPS pages
|
// PREF: block insecure active content (scripts) on HTTPS pages
|
||||||
|
// [TEST] https://mixed-script.badssl.com/
|
||||||
// [1] https://trac.torproject.org/projects/tor/ticket/21323
|
// [1] https://trac.torproject.org/projects/tor/ticket/21323
|
||||||
//user_pref("security.mixed_content.block_active_content", true); // DEFAULT
|
//user_pref("security.mixed_content.block_active_content", true); // DEFAULT
|
||||||
|
|
||||||
// PREF: block insecure passive content (images) on HTTPS pages
|
|
||||||
// Using HTTPS First Policy, Firefox will still make a HTTP connection
|
|
||||||
// if it can't find a secure connection, so this isn't redundant.
|
|
||||||
// There's the small chance that someone does a MITM on the images
|
|
||||||
// and deploys a malicious image. (They're rare, but possible).
|
|
||||||
// [NOTE] You can remove if using HTTPS-Only Mode.
|
|
||||||
user_pref("security.mixed_content.block_display_content", true);
|
|
||||||
|
|
||||||
// PREF: upgrade passive content to use HTTPS on secure pages
|
// PREF: upgrade passive content to use HTTPS on secure pages
|
||||||
// [NOTE] You can remove if using HTTPS-Only Mode.
|
// Firefox will now automatically try to upgrade <img>, <audio>, and <video> elements
|
||||||
user_pref("security.mixed_content.upgrade_display_content", true);
|
// from HTTP to HTTPS if they are embedded within an HTTPS page. If these
|
||||||
// [FF119+]:
|
// mixed content elements do not support HTTPS, they will no longer load.
|
||||||
//user_pref("security.mixed_content.upgrade_display_content.audio", true); // DEFAULT
|
// [NOTE] Enterprise users may need to disable this setting [1].
|
||||||
user_pref("security.mixed_content.upgrade_display_content.image", true);
|
// [1] https://blog.mozilla.org/security/2024/06/05/firefox-will-upgrade-more-mixed-content-in-version-127/
|
||||||
//user_pref("security.mixed_content.upgrade_display_content.video", true); // DEFAULT
|
//user_pref("security.mixed_content.upgrade_display_content", true); // [DEFAULT FF127+]
|
||||||
|
//user_pref("security.mixed_content.upgrade_display_content.audio", true); // [DEFAULT FF119+]
|
||||||
|
//user_pref("security.mixed_content.upgrade_display_content.image", true); // [DEFAULT FF127+]
|
||||||
|
//user_pref("security.mixed_content.upgrade_display_content.video", true); // [DEFAULT FF119+]
|
||||||
|
|
||||||
|
// PREF: block insecure passive content (images) on HTTPS pages
|
||||||
|
// [WARNING] This preference blocks all mixed content, including upgradable.
|
||||||
|
// Firefox still attempts an HTTP connection if it can't find a secure one,
|
||||||
|
// even with HTTPS First Policy. Although rare, this leaves a small risk of
|
||||||
|
// a malicious image being served through a MITM attack.
|
||||||
|
// Disable this pref if using HTTPS-Only Mode.
|
||||||
|
// [NOTE] Enterprise users may need to enable this setting [1].
|
||||||
|
// [1] https://blog.mozilla.org/security/2024/06/05/firefox-will-upgrade-more-mixed-content-in-version-127/
|
||||||
|
user_pref("security.mixed_content.block_display_content", true);
|
||||||
|
|
||||||
// PREF: block insecure downloads from secure sites
|
// PREF: block insecure downloads from secure sites
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1660952
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1660952
|
||||||
@@ -893,6 +955,14 @@ user_pref("extensions.postDownloadThirdPartyPrompt", false);
|
|||||||
// Enable if you're using LINUX.
|
// Enable if you're using LINUX.
|
||||||
//user_pref("browser.tabs.searchclipboardfor.middleclick", false); // DEFAULT WINDOWS macOS
|
//user_pref("browser.tabs.searchclipboardfor.middleclick", false); // DEFAULT WINDOWS macOS
|
||||||
|
|
||||||
|
// PREF: disable content analysis by Data Loss Prevention (DLP) agents
|
||||||
|
// DLP agents are background processes on managed computers that
|
||||||
|
// allow enterprises to monitor locally running applications for
|
||||||
|
// data exfiltration events, which they can allow/block based on
|
||||||
|
// customer-defined DLP policies.
|
||||||
|
// [1] https://github.com/chromium/content_analysis_sdk
|
||||||
|
//user_pref("browser.contentanalysis.default_allow", false); // [FF124+] [DEFAULT: false]
|
||||||
|
|
||||||
// PREF: enforce TLS 1.0 and 1.1 downgrades as session only
|
// PREF: enforce TLS 1.0 and 1.1 downgrades as session only
|
||||||
//user_pref("security.tls.version.enable-deprecated", false); // DEFAULT
|
//user_pref("security.tls.version.enable-deprecated", false); // DEFAULT
|
||||||
|
|
||||||
@@ -906,6 +976,10 @@ user_pref("extensions.postDownloadThirdPartyPrompt", false);
|
|||||||
// string is restored if the tab reverts back to the original page. This change prevents some cross-site attacks.
|
// string is restored if the tab reverts back to the original page. This change prevents some cross-site attacks.
|
||||||
//user_pref("privacy.window.name.update.enabled", true); // DEFAULT
|
//user_pref("privacy.window.name.update.enabled", true); // DEFAULT
|
||||||
|
|
||||||
|
// PREF: disable automatic authentication on Microsoft sites [WINDOWS]
|
||||||
|
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1695693,1719301
|
||||||
|
//user_pref("network.http.windows-sso.enabled", false);
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: HEADERS / REFERERS *
|
* SECTION: HEADERS / REFERERS *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
@@ -979,6 +1053,13 @@ user_pref("privacy.userContext.ui.enabled", true);
|
|||||||
// [SETTING] General>Tabs>Enable Container Tabs>Settings>Select a container for each new tab ***/
|
// [SETTING] General>Tabs>Enable Container Tabs>Settings>Select a container for each new tab ***/
|
||||||
//user_pref("privacy.userContext.newTabContainerOnLeftClick.enabled", true);
|
//user_pref("privacy.userContext.newTabContainerOnLeftClick.enabled", true);
|
||||||
|
|
||||||
|
// PREF: set external links to open in site-specific containers [FF123+]
|
||||||
|
// Depending on your container extension(s) and their settings:
|
||||||
|
// true=Firefox will not choose a container (so your extension can)
|
||||||
|
// false=Firefox will choose the container/no-container (default)
|
||||||
|
// [1] https://bugzilla.mozilla.org/1874599
|
||||||
|
//user_pref("browser.link.force_default_user_context_id_for_external_opens", true);
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: WEBRTC *
|
* SECTION: WEBRTC *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
@@ -1038,12 +1119,6 @@ user_pref("media.peerconnection.ice.default_address_only", true);
|
|||||||
* SECTION: VARIOUS *
|
* SECTION: VARIOUS *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
// PREF: enable FTP protocol
|
|
||||||
// Firefox redirects any attempt to load a FTP resource.
|
|
||||||
// to the default search engine if the FTP protocol is disabled.
|
|
||||||
// [1] https://www.ghacks.net/2018/02/20/firefox-60-with-new-preference-to-disable-ftp/
|
|
||||||
//user_pref("network.ftp.enabled", true);
|
|
||||||
|
|
||||||
// PREF: decode URLs in other languages
|
// PREF: decode URLs in other languages
|
||||||
// [WARNING] Causes unintended consequences when copy+paste links with underscores.
|
// [WARNING] Causes unintended consequences when copy+paste links with underscores.
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1320061
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1320061
|
||||||
@@ -1053,6 +1128,39 @@ user_pref("media.peerconnection.ice.default_address_only", true);
|
|||||||
// If this is less than 5, then pasting code into the web console is disabled.
|
// If this is less than 5, then pasting code into the web console is disabled.
|
||||||
//user_pref("devtools.selfxss.count", 5);
|
//user_pref("devtools.selfxss.count", 5);
|
||||||
|
|
||||||
|
// PREF: disable asm.js [FF22+]
|
||||||
|
// [WARNING] Disabling this pref may disrupt your browsing experience.
|
||||||
|
// [1] http://asmjs.org/
|
||||||
|
// [2] https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=asm.js
|
||||||
|
// [3] https://rh0dev.github.io/blog/2017/the-return-of-the-jit/
|
||||||
|
//user_pref("javascript.options.asmjs", false);
|
||||||
|
|
||||||
|
// PREF: disable Ion and baseline JIT to harden against JS exploits
|
||||||
|
// [NOTE] When both Ion and JIT are disabled, and trustedprincipals
|
||||||
|
// is enabled, then Ion can still be used by extensions [4].
|
||||||
|
// [WARNING] Disabling these prefs will disrupt your browsing experience [6].
|
||||||
|
// Tor Browser doesn't even ship with these disabled by default.
|
||||||
|
// [1] https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=firefox+jit
|
||||||
|
// [2] https://microsoftedge.github.io/edgevr/posts/Super-Duper-Secure-Mode/
|
||||||
|
// [3] https://support.microsoft.com/en-us/microsoft-edge/enhance-your-security-on-the-web-with-microsoft-edge-b8199f13-b21b-4a08-a806-daed31a1929d
|
||||||
|
// [4] https://bugzilla.mozilla.org/show_bug.cgi?id=1599226
|
||||||
|
// [5] https://wiki.mozilla.org/IonMonkey
|
||||||
|
// [6] https://github.com/arkenfox/user.js/issues/1791#issuecomment-1891273681
|
||||||
|
//user_pref("javascript.options.ion", false);
|
||||||
|
//user_pref("javascript.options.baselinejit", false);
|
||||||
|
//user_pref("javascript.options.jit_trustedprincipals", true); // [FF75+] [HIDDEN PREF]
|
||||||
|
|
||||||
|
// PREF: disable WebAssembly [FF52+]
|
||||||
|
// [WARNING] Disabling this pref may disrupt your browsing experience.
|
||||||
|
// Vulnerabilities [1] have increasingly been found, including those known and fixed
|
||||||
|
// in native programs years ago [2]. WASM has powerful low-level access, making
|
||||||
|
// certain attacks (brute-force) and vulnerabilities more possible.
|
||||||
|
// [STATS] ~0.2% of websites, about half of which are for cryptomining / malvertising [2][3]
|
||||||
|
// [1] https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=wasm
|
||||||
|
// [2] https://spectrum.ieee.org/tech-talk/telecom/security/more-worries-over-the-security-of-web-assembly
|
||||||
|
// [3] https://www.zdnet.com/article/half-of-the-websites-using-webassembly-use-it-for-malicious-purposes ***/
|
||||||
|
//user_pref("javascript.options.wasm", false);
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: SAFE BROWSING (SB) *
|
* SECTION: SAFE BROWSING (SB) *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
@@ -1135,21 +1243,23 @@ user_pref("browser.safebrowsing.downloads.remote.enabled", false);
|
|||||||
// [ALTERNATIVE] Use xBrowserSync [1]
|
// [ALTERNATIVE] Use xBrowserSync [1]
|
||||||
// [1] https://addons.mozilla.org/en-US/firefox/addon/xbs
|
// [1] https://addons.mozilla.org/en-US/firefox/addon/xbs
|
||||||
// [2] https://github.com/arkenfox/user.js/issues/1175
|
// [2] https://github.com/arkenfox/user.js/issues/1175
|
||||||
user_pref("identity.fxaccounts.enabled", false);
|
//user_pref("identity.fxaccounts.enabled", false);
|
||||||
|
//user_pref("identity.fxaccounts.autoconfig.uri", "");
|
||||||
|
|
||||||
// PREF: disable Firefox View [FF106+]
|
// PREF: disable Firefox View [FF106+]
|
||||||
|
// You can no longer disable Firefox View as of [FF127+].
|
||||||
|
// To hide the icon from view, see [2].
|
||||||
// [1] https://support.mozilla.org/en-US/kb/how-set-tab-pickup-firefox-view#w_what-is-firefox-view
|
// [1] https://support.mozilla.org/en-US/kb/how-set-tab-pickup-firefox-view#w_what-is-firefox-view
|
||||||
user_pref("browser.tabs.firefox-view", false);
|
// [2] https://support.mozilla.org/en-US/kb/how-set-tab-pickup-firefox-view#w_how-do-i-remove-firefox-view-from-the-tabs-bar
|
||||||
//user_pref("browser.tabs.firefox-view-next", false); // [FF119+]
|
|
||||||
|
|
||||||
// PREF: disable the Firefox View tour from popping up
|
// PREF: disable the Firefox View tour from popping up
|
||||||
//user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}");
|
//user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}");
|
||||||
|
|
||||||
// PREF: disable Push Notifications API [FF44+]
|
// PREF: disable Push Notifications API [FF44+]
|
||||||
|
// [WHY] Website "push" requires subscription, and the API is required for CRLite.
|
||||||
// Push is an API that allows websites to send you (subscribed) messages even when the site
|
// Push is an API that allows websites to send you (subscribed) messages even when the site
|
||||||
// isn't loaded, by pushing messages to your userAgentID through Mozilla's Push Server.
|
// isn't loaded, by pushing messages to your userAgentID through Mozilla's Push Server.
|
||||||
// You shouldn't need to disable this.
|
// You shouldn't need to disable this.
|
||||||
// [WHY] Push requires subscription.
|
|
||||||
// [NOTE] To remove all subscriptions, reset "dom.push.userAgentID"
|
// [NOTE] To remove all subscriptions, reset "dom.push.userAgentID"
|
||||||
// [1] https://support.mozilla.org/en-US/kb/push-notifications-firefox
|
// [1] https://support.mozilla.org/en-US/kb/push-notifications-firefox
|
||||||
// [2] https://developer.mozilla.org/en-US/docs/Web/API/Push_API
|
// [2] https://developer.mozilla.org/en-US/docs/Web/API/Push_API
|
||||||
@@ -1168,12 +1278,14 @@ user_pref("permissions.default.desktop-notification", 2);
|
|||||||
user_pref("permissions.default.geo", 2);
|
user_pref("permissions.default.geo", 2);
|
||||||
|
|
||||||
// PREF: use Mozilla geolocation service instead of Google when geolocation is enabled
|
// PREF: use Mozilla geolocation service instead of Google when geolocation is enabled
|
||||||
user_pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
// [NOTE] Mozilla's geolocation service is discontinued 12 June 2024 [1].
|
||||||
|
// [1] https://github.com/mozilla/ichnaea/issues/2065
|
||||||
|
//user_pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
||||||
|
|
||||||
// PREF: disable using the OS's geolocation service
|
// PREF: disable using the OS's geolocation service
|
||||||
//user_pref("geo.provider.ms-windows-location", false); // [WINDOWS]
|
//user_pref("geo.provider.ms-windows-location", false); // [WINDOWS]
|
||||||
//user_pref("geo.provider.use_corelocation", false); // [MAC]
|
//user_pref("geo.provider.use_corelocation", false); // [MAC]
|
||||||
//user_pref("geo.provider.use_gpsd", false); // [LINUX] broken on Linux?
|
//user_pref("geo.provider.use_gpsd", false); // [LINUX]
|
||||||
//user_pref("geo.provider.use_geoclue", false); // [FF102+] [LINUX]
|
//user_pref("geo.provider.use_geoclue", false); // [FF102+] [LINUX]
|
||||||
|
|
||||||
// PREF: logging geolocation to the console
|
// PREF: logging geolocation to the console
|
||||||
@@ -1268,10 +1380,6 @@ user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF]
|
|||||||
user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
|
user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
|
||||||
user_pref("toolkit.coverage.endpoint.base", "");
|
user_pref("toolkit.coverage.endpoint.base", "");
|
||||||
|
|
||||||
// PREF: disable PingCentre telemetry (used in several System Add-ons) [FF57+]
|
|
||||||
// Currently blocked by 'datareporting.healthreport.uploadEnabled'
|
|
||||||
user_pref("browser.ping-centre.telemetry", false);
|
|
||||||
|
|
||||||
// PREF: disable Firefox Home (Activity Stream) telemetry
|
// PREF: disable Firefox Home (Activity Stream) telemetry
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
||||||
user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
||||||
@@ -1318,6 +1426,11 @@ user_pref("network.captive-portal-service.enabled", false);
|
|||||||
// [1] https://bugzilla.mozilla.org/1460537
|
// [1] https://bugzilla.mozilla.org/1460537
|
||||||
user_pref("network.connectivity-service.enabled", false);
|
user_pref("network.connectivity-service.enabled", false);
|
||||||
|
|
||||||
|
// PREF: disable Privacy-Preserving Attribution [FF128+]
|
||||||
|
// [SETTING] Privacy & Security>Website Advertising Preferences>Allow websites to perform privacy-preserving ad measurement
|
||||||
|
// [1] https://support.mozilla.org/kb/privacy-preserving-attribution
|
||||||
|
user_pref("dom.private-attribution.submission.enabled", false);
|
||||||
|
|
||||||
// PREF: software that continually reports what default browser you are using [WINDOWS]
|
// PREF: software that continually reports what default browser you are using [WINDOWS]
|
||||||
// [WARNING] Breaks "Make Default..." button in Preferences to set Firefox as the default browser [2].
|
// [WARNING] Breaks "Make Default..." button in Preferences to set Firefox as the default browser [2].
|
||||||
// [1] https://techdows.com/2020/04/what-is-firefox-default-browser-agent-and-how-to-disable-it.html
|
// [1] https://techdows.com/2020/04/what-is-firefox-default-browser-agent-and-how-to-disable-it.html
|
||||||
@@ -1327,14 +1440,12 @@ user_pref("network.connectivity-service.enabled", false);
|
|||||||
// PREF: "report extensions for abuse"
|
// PREF: "report extensions for abuse"
|
||||||
//user_pref("extensions.abuseReport.enabled", false);
|
//user_pref("extensions.abuseReport.enabled", false);
|
||||||
|
|
||||||
// PREF: check bundled omni JARs for corruption
|
// PREF: SERP Telemetry [FF125+]
|
||||||
// [1] https://github.com/ghostery/user-agent-desktop/issues/141
|
// [1] https://blog.mozilla.org/en/products/firefox/firefox-search-update/
|
||||||
// [2] https://github.com/arkenfox/user.js/issues/791
|
//user_pref("browser.search.serpEventTelemetryCategorization.enabled", false);
|
||||||
//user_pref("corroborator.enabled", false);
|
|
||||||
|
|
||||||
// PREF: assorted telemetry
|
// PREF: assorted telemetry
|
||||||
// [NOTE] Shouldn't be needed for user.js, but browser forks
|
// [NOTE] Shouldn't be needed for user.js, but browser forks may want to disable these prefs.
|
||||||
// may want to disable these prefs.
|
|
||||||
//user_pref("doh-rollout.disable-heuristics", true); // ensure DoH doesn't get enabled automatically
|
//user_pref("doh-rollout.disable-heuristics", true); // ensure DoH doesn't get enabled automatically
|
||||||
//user_pref("dom.security.unexpected_system_load_telemetry_enabled", false);
|
//user_pref("dom.security.unexpected_system_load_telemetry_enabled", false);
|
||||||
//user_pref("messaging-system.rsexperimentloader.enabled", false);
|
//user_pref("messaging-system.rsexperimentloader.enabled", false);
|
||||||
@@ -1344,6 +1455,5 @@ user_pref("network.connectivity-service.enabled", false);
|
|||||||
//user_pref("security.certerrors.recordEventTelemetry", false);
|
//user_pref("security.certerrors.recordEventTelemetry", false);
|
||||||
//user_pref("security.protectionspopup.recordEventTelemetry", false);
|
//user_pref("security.protectionspopup.recordEventTelemetry", false);
|
||||||
//user_pref("signon.recipes.remoteRecipes.enabled", false);
|
//user_pref("signon.recipes.remoteRecipes.enabled", false);
|
||||||
//user_pref("security.identitypopup.recordEventTelemetry", false); // ESR only; removed FF116+ [1]
|
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1837979
|
|
||||||
//user_pref("privacy.trackingprotection.emailtracking.data_collection.enabled", false);
|
//user_pref("privacy.trackingprotection.emailtracking.data_collection.enabled", false);
|
||||||
|
//user_pref("messaging-system.askForFeedback", true); // DEFAULT [FF120+]
|
||||||
|
|||||||
+11
-4
@@ -3,7 +3,7 @@
|
|||||||
* Smoothfox *
|
* Smoothfox *
|
||||||
* "Faber est suae quisque fortunae" *
|
* "Faber est suae quisque fortunae" *
|
||||||
* priority: better scrolling *
|
* priority: better scrolling *
|
||||||
* version: 10 October 2023 *
|
* version: 126.1 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
|
|
||||||
@@ -16,10 +16,14 @@
|
|||||||
// credit: https://github.com/black7375/Firefox-UI-Fix
|
// credit: https://github.com/black7375/Firefox-UI-Fix
|
||||||
// only sharpen scrolling
|
// only sharpen scrolling
|
||||||
user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX
|
user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX
|
||||||
|
user_pref("general.smoothScroll", true); // DEFAULT
|
||||||
user_pref("mousewheel.min_line_scroll_amount", 10); // 10-40; adjust this number to your liking; default=5
|
user_pref("mousewheel.min_line_scroll_amount", 10); // 10-40; adjust this number to your liking; default=5
|
||||||
user_pref("general.smoothScroll.mouseWheel.durationMinMS", 80); // default=50
|
user_pref("general.smoothScroll.mouseWheel.durationMinMS", 80); // default=50
|
||||||
user_pref("general.smoothScroll.currentVelocityWeighting", "0.15"); // default=.25
|
user_pref("general.smoothScroll.currentVelocityWeighting", "0.15"); // default=.25
|
||||||
user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6"); // default=.4
|
user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6"); // default=.4
|
||||||
|
// Firefox Nightly only:
|
||||||
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1846935
|
||||||
|
user_pref("general.smoothScroll.msdPhysics.enabled", false); // [FF122+ Nightly]
|
||||||
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* OPTION: INSTANT SCROLLING (SIMPLE ADJUSTMENT) *
|
* OPTION: INSTANT SCROLLING (SIMPLE ADJUSTMENT) *
|
||||||
@@ -28,6 +32,9 @@ user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6"); // default=.
|
|||||||
user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX
|
user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX
|
||||||
user_pref("general.smoothScroll", true); // DEFAULT
|
user_pref("general.smoothScroll", true); // DEFAULT
|
||||||
user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-400; adjust this number to your liking
|
user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-400; adjust this number to your liking
|
||||||
|
// Firefox Nightly only:
|
||||||
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1846935
|
||||||
|
user_pref("general.smoothScroll.msdPhysics.enabled", false); // [FF122+ Nightly]
|
||||||
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* OPTION: SMOOTH SCROLLING *
|
* OPTION: SMOOTH SCROLLING *
|
||||||
@@ -51,8 +58,8 @@ user_pref("general.smoothScroll.msdPhysics.enabled", true);
|
|||||||
user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
|
user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600);
|
||||||
user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
|
user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650);
|
||||||
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
|
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25);
|
||||||
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2.0);
|
user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", "2");
|
||||||
user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
|
user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250);
|
||||||
user_pref("general.smoothScroll.currentVelocityWeighting", 1.0);
|
user_pref("general.smoothScroll.currentVelocityWeighting", "1");
|
||||||
user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0);
|
user_pref("general.smoothScroll.stopDecelerationWeighting", "1");
|
||||||
user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400; adjust this number to your liking
|
user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400; adjust this number to your liking
|
||||||
|
|||||||
+28
-25
@@ -20,23 +20,20 @@
|
|||||||
/** FASTFOX ***/
|
/** FASTFOX ***/
|
||||||
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
|
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
|
||||||
user_pref("browser.sessionhistory.max_total_viewers", 4); // only remember # of pages in Back-Forward cache
|
user_pref("browser.sessionhistory.max_total_viewers", 4); // only remember # of pages in Back-Forward cache
|
||||||
|
user_pref("browser.cache.disk.enable", false); // disable disk cache
|
||||||
/** speculative load test ***/
|
|
||||||
user_pref("network.dns.disablePrefetchFromHTTPS", false);
|
|
||||||
//user_pref("network.prefetch-next", true);
|
|
||||||
user_pref("network.predictor.enabled", true);
|
|
||||||
user_pref("network.predictor.enable-prefetch", true);
|
|
||||||
user_pref("network.predictor.enable-hover-on-ssl", true);
|
|
||||||
|
|
||||||
/** SECUREFOX ***/
|
/** SECUREFOX ***/
|
||||||
//user_pref("urlclassifier.features.socialtracking.skipURLs", "*.twitter.com, *.twimg.com"); // removed *.instagram.com
|
//user_pref("urlclassifier.features.socialtracking.skipURLs", "*.twitter.com, *.twimg.com"); // removed *.instagram.com
|
||||||
|
user_pref("signon.rememberSignons", false); // disable password manager
|
||||||
|
user_pref("extensions.formautofill.addresses.enabled", false); // disable address manager
|
||||||
|
user_pref("extensions.formautofill.creditCards.enabled", false); // disable credit card manager
|
||||||
user_pref("browser.urlbar.showSearchSuggestionsFirst", false); // unselect "Show search suggestions ahead of browsing history in address bar results" for clean UI
|
user_pref("browser.urlbar.showSearchSuggestionsFirst", false); // unselect "Show search suggestions ahead of browsing history in address bar results" for clean UI
|
||||||
//user_pref("browser.urlbar.suggest.trending", false); // FF119+ disable showing trending searches; unselect for clean UI
|
//user_pref("browser.urlbar.suggest.trending", false); // FF119+ disable showing trending searches; unselect for clean UI
|
||||||
user_pref("browser.urlbar.groupLabels.enabled", false); // hide Firefox Suggest label in URL dropdown box
|
//user_pref("browser.urlbar.groupLabels.enabled", false); // hide Firefox Suggest label in URL dropdown box
|
||||||
user_pref("signon.management.page.breach-alerts.enabled", false); // extra hardening
|
user_pref("signon.management.page.breach-alerts.enabled", false); // extra hardening
|
||||||
user_pref("signon.autofillForms", false); // unselect "Autofill logins and passwords" for clean UI
|
user_pref("signon.autofillForms", false); // unselect "Autofill logins and passwords" for clean UI
|
||||||
user_pref("signon.generation.enabled", false); // unselect "Suggest and generate strong passwords" for clean UI
|
user_pref("signon.generation.enabled", false); // unselect "Suggest and generate strong passwords" for clean UI
|
||||||
user_pref("signon.firefoxRelay.feature", "unavailable"); // unselect suggestions from Firefox Relay for clean UI
|
user_pref("signon.firefoxRelay.feature", ""); // unselect suggestions from Firefox Relay for clean UI
|
||||||
//user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear browsing data on shutdown
|
//user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear browsing data on shutdown
|
||||||
//user_pref("privacy.clearOnShutdown.offlineApps", true); // clear Site Data on shutdown
|
//user_pref("privacy.clearOnShutdown.offlineApps", true); // clear Site Data on shutdown
|
||||||
user_pref("browser.safebrowsing.downloads.enabled", false); // deny SB to scan downloads to identify suspicious files; local checks only
|
user_pref("browser.safebrowsing.downloads.enabled", false); // deny SB to scan downloads to identify suspicious files; local checks only
|
||||||
@@ -44,20 +41,18 @@ user_pref("browser.safebrowsing.downloads.remote.url", ""); // enforce no remote
|
|||||||
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); // clean up UI; not needed in user.js if remote downloads are disabled
|
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); // clean up UI; not needed in user.js if remote downloads are disabled
|
||||||
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); // clean up UI; not needed in user.js if remote downloads are disabled
|
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); // clean up UI; not needed in user.js if remote downloads are disabled
|
||||||
user_pref("browser.safebrowsing.allowOverride", false); // do not allow user to override SB
|
user_pref("browser.safebrowsing.allowOverride", false); // do not allow user to override SB
|
||||||
user_pref("dom.push.enabled", false); // disable Push API; breaks FF Sync and Site Notifications
|
|
||||||
user_pref("browser.search.update", false); // do not update opensearch engines
|
user_pref("browser.search.update", false); // do not update opensearch engines
|
||||||
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
|
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
|
||||||
user_pref("extensions.webextensions.restrictedDomains", ""); // remove Mozilla domains so adblocker works on pages
|
user_pref("extensions.webextensions.restrictedDomains", ""); // remove Mozilla domains so adblocker works on pages
|
||||||
user_pref("identity.fxaccounts.enabled", false); // disable Firefox Sync
|
user_pref("identity.fxaccounts.enabled", false); // disable Firefox Sync
|
||||||
user_pref("browser.tabs.firefox-view", false); // disable Firefox View
|
|
||||||
user_pref("browser.tabs.firefox-view-next", false); // disable Firefox View [FF119+]
|
|
||||||
user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}"); // disable the Firefox View tour from popping up for new profiles
|
user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}"); // disable the Firefox View tour from popping up for new profiles
|
||||||
user_pref("accessibility.force_disabled", 1); // disable Accessibility features
|
user_pref("accessibility.force_disabled", 1); // disable Accessibility features
|
||||||
//user_pref("security.ssl.require_safe_negotiation", true); // safe negotiation
|
//user_pref("security.ssl.require_safe_negotiation", true); // safe negotiation
|
||||||
user_pref("security.cert_pinning.enforcement_level", 2); // strict public key pinning
|
user_pref("security.cert_pinning.enforcement_level", 2); // strict public key pinning
|
||||||
user_pref("browser.download.useDownloadDir", true); // one-click downloads
|
//user_pref("browser.download.useDownloadDir", true); // one-click downloads
|
||||||
|
|
||||||
/** PESKYFOX ***/
|
/** PESKYFOX ***/
|
||||||
|
//user_pref("cookiebanners.service.mode", 2); // fall back to the accept button to remove banner
|
||||||
user_pref("devtools.accessibility.enabled", false); // removes un-needed "Inspect Accessibility Properties" on right-click
|
user_pref("devtools.accessibility.enabled", false); // removes un-needed "Inspect Accessibility Properties" on right-click
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Settings>Home>Firefox Home Content>Recent Activity>Shortcuts>Sponsored shortcuts
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Settings>Home>Firefox Home Content>Recent Activity>Shortcuts>Sponsored shortcuts
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Settings>Home>Firefox Home Content>Recent Activity>Recommended by Pocket>Sponsored Stories
|
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Settings>Home>Firefox Home Content>Recent Activity>Recommended by Pocket>Sponsored Stories
|
||||||
@@ -65,18 +60,16 @@ user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmark
|
|||||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); // Settings>Home>Firefox Home Content>Recent Activity>Most Recent Download
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); // Settings>Home>Firefox Home Content>Recent Activity>Most Recent Download
|
||||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); // Settings>Home>Firefox Home Content>Recent Activity>Visited Pages
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); // Settings>Home>Firefox Home Content>Recent Activity>Visited Pages
|
||||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); // Settings>Home>Firefox Home Content>Recent Activity>Pages Saved to Pocket
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); // Settings>Home>Firefox Home Content>Recent Activity>Pages Saved to Pocket
|
||||||
user_pref("browser.download.useDownloadDir", true); // use direct downloads
|
//user_pref("browser.download.useDownloadDir", true); // use direct downloads
|
||||||
user_pref("browser.download.folderList", 0); // 0=desktop, 1=downloads, 2=last used
|
user_pref("browser.download.folderList", 0); // 0=desktop, 1=downloads, 2=last used
|
||||||
user_pref("browser.toolbars.bookmarks.visibility", "never"); // always hide bookmark bar
|
user_pref("browser.toolbars.bookmarks.visibility", "never"); // always hide bookmark bar
|
||||||
user_pref("browser.startup.homepage_override.mstone", "ignore"); // What's New page after updates; master switch
|
user_pref("browser.startup.homepage_override.mstone", "ignore"); // What's New page after updates; master switch
|
||||||
user_pref("browser.translations.autoTranslate", true); // make Firefox auto-translate non-English pages
|
|
||||||
user_pref("browser.urlbar.suggest.history", false); // Browsing history; hide URL bar dropdown suggestions
|
user_pref("browser.urlbar.suggest.history", false); // Browsing history; hide URL bar dropdown suggestions
|
||||||
user_pref("browser.urlbar.suggest.bookmark", false); // Bookmarks; hide URL bar dropdown suggestions
|
user_pref("browser.urlbar.suggest.bookmark", false); // Bookmarks; hide URL bar dropdown suggestions
|
||||||
user_pref("browser.urlbar.suggest.openpage", false); // Open tabs; hide URL bar dropdown suggestions
|
user_pref("browser.urlbar.suggest.openpage", false); // Open tabs; hide URL bar dropdown suggestions
|
||||||
user_pref("browser.urlbar.suggest.topsites", false); // Shortcuts; disable dropdown suggestions with empty query
|
user_pref("browser.urlbar.suggest.topsites", false); // Shortcuts; disable dropdown suggestions with empty query
|
||||||
user_pref("browser.urlbar.suggest.engines", false); // Search engines; tab-to-search
|
user_pref("browser.urlbar.suggest.engines", false); // Search engines; tab-to-search
|
||||||
//user_pref("browser.urlbar.suggest.quickactions", false); // Quick actions; hide URL bar dropdown suggestions
|
user_pref("browser.urlbar.quicksuggest.enabled", false); // hide Firefox Suggest UI in the settings
|
||||||
//user_pref("browser.urlbar.suggest.searches", false); // (needed?); hide URL bar dropdown suggestions
|
|
||||||
//user_pref("browser.urlbar.maxRichResults", 1); // minimum suggestion needed for URL bar autofill
|
//user_pref("browser.urlbar.maxRichResults", 1); // minimum suggestion needed for URL bar autofill
|
||||||
user_pref("browser.bookmarks.max_backups", 0); // minimize disk use; manually back-up
|
user_pref("browser.bookmarks.max_backups", 0); // minimize disk use; manually back-up
|
||||||
user_pref("view_source.wrap_long_lines", true); // wrap source lines
|
user_pref("view_source.wrap_long_lines", true); // wrap source lines
|
||||||
@@ -94,12 +87,13 @@ user_pref("media.videocontrols.picture-in-picture.urlbar-button.enabled", false)
|
|||||||
user_pref("reader.parse-on-load.enabled", false); // disable reader mode
|
user_pref("reader.parse-on-load.enabled", false); // disable reader mode
|
||||||
//user_pref("reader.color_scheme", "auto"); // match system theme for when reader is enabled
|
//user_pref("reader.color_scheme", "auto"); // match system theme for when reader is enabled
|
||||||
//user_pref("browser.urlbar.openintab", true); // stay on current site and open new tab when typing in URL bar
|
//user_pref("browser.urlbar.openintab", true); // stay on current site and open new tab when typing in URL bar
|
||||||
user_pref("browser.urlbar.trimHttps", true); // hide https in URL bar [FF119]
|
|
||||||
|
|
||||||
/** DELETE IF NOT NIGHTLY ***/
|
/** DELETE IF NOT NIGHTLY ***/
|
||||||
user_pref("privacy.userContext.enabled", false); // disable Containers functionality
|
user_pref("privacy.userContext.enabled", false); // disable Containers functionality
|
||||||
user_pref("browser.crashReports.unsubmittedCheck.enabled", false); // true by default on NIGHTLY
|
user_pref("browser.crashReports.unsubmittedCheck.enabled", false); // true by default on NIGHTLY
|
||||||
//user_pref("xpinstall.signatures.required", false); // [ESR/DEV/NIGHTLY]
|
//user_pref("xpinstall.signatures.required", false); // [ESR/DEV/NIGHTLY]
|
||||||
|
//user_pref("browser.urlbar.suggest.quickactions", false); // Quick actions; hide URL bar dropdown suggestions
|
||||||
|
//user_pref("browser.urlbar.suggest.clipboard", false); // Clipboard; hide URL bar dropdown suggestions
|
||||||
|
|
||||||
/** DELETE IF NOT WINDOWS DESKTOP ***/
|
/** DELETE IF NOT WINDOWS DESKTOP ***/
|
||||||
user_pref("network.trr.mode", 3); // enable TRR (without System fallback)
|
user_pref("network.trr.mode", 3); // enable TRR (without System fallback)
|
||||||
@@ -117,13 +111,22 @@ user_pref("gfx.font_rendering.directwrite.use_gdi_table_loading", false);
|
|||||||
//user_pref("font.name.serif.x-western", "Roboto Slab"); // serif font
|
//user_pref("font.name.serif.x-western", "Roboto Slab"); // serif font
|
||||||
//user_pref("font.name.sans-serif.x-western", "Roboto"); // sans-serif font
|
//user_pref("font.name.sans-serif.x-western", "Roboto"); // sans-serif font
|
||||||
//user_pref("font.name.monospace.x-western", "Fira Code"); // monospace font
|
//user_pref("font.name.monospace.x-western", "Fira Code"); // monospace font
|
||||||
/** for 12 GB+ RAM ***/
|
|
||||||
user_pref("browser.cache.disk.enable", false);
|
/** DELETE IF NOT ENTERPRISE WINDOWS LAPTOP ***/
|
||||||
user_pref("browser.cache.memory.capacity", 256000); // default= -1 (32768)
|
//user_pref("network.trr.mode", 3); // enable TRR (without System fallback)
|
||||||
user_pref("browser.cache.memory.max_entry_size", 10240); // default=5120 (5 MB)
|
//user_pref("browser.startup.preXulSkeletonUI", false); // WINDOWS
|
||||||
user_pref("media.memory_cache_max_size", 131072); // default=8192; AF=65536
|
user_pref("gfx.font_rendering.cleartype_params.rendering_mode", 5);
|
||||||
user_pref("media.memory_caches_combined_limit_kb", 1048576); // default=524288
|
user_pref("gfx.font_rendering.cleartype_params.cleartype_level", 100);
|
||||||
user_pref("media.memory_caches_combined_limit_pc_sysmem", 10); // default=5
|
user_pref("gfx.font_rendering.cleartype_params.force_gdi_classic_for_families", "");
|
||||||
|
user_pref("gfx.font_rendering.cleartype_params.force_gdi_classic_max_size", 6);
|
||||||
|
user_pref("gfx.font_rendering.directwrite.use_gdi_table_loading", false);
|
||||||
|
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", false); // no need for userChrome
|
||||||
|
user_pref("browser.urlbar.suggest.history", true); // Browsing history
|
||||||
|
user_pref("browser.urlbar.suggest.bookmark", true); // Bookmarks
|
||||||
|
//user_pref("browser.urlbar.suggest.openpage", true); // Open tabs
|
||||||
|
//user_pref("browser.urlbar.suggest.topsites", true); // Shortcuts
|
||||||
|
user_pref("browser.download.folderList", 1); // 0=desktop, 1=downloads, 2=last used
|
||||||
|
user_pref("browser.download.useDownloadDir", false); // ask where to download
|
||||||
|
|
||||||
/** DELETE IF NOT macOS LAPTOP ***/
|
/** DELETE IF NOT macOS LAPTOP ***/
|
||||||
user_pref("network.trr.mode", 2); // enable TRR (with System fallback)
|
user_pref("network.trr.mode", 2); // enable TRR (with System fallback)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Betterfox *
|
* Betterfox *
|
||||||
* "Ad meliora" *
|
* "Ad meliora" *
|
||||||
* version: 119 *
|
* version: 128 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
@@ -37,25 +37,23 @@ user_pref("media.cache_resume_threshold", 3600);
|
|||||||
user_pref("image.mem.decode_bytes_at_a_time", 32768);
|
user_pref("image.mem.decode_bytes_at_a_time", 32768);
|
||||||
|
|
||||||
/** NETWORK ***/
|
/** NETWORK ***/
|
||||||
user_pref("network.buffer.cache.size", 262144);
|
|
||||||
user_pref("network.buffer.cache.count", 128);
|
|
||||||
user_pref("network.http.max-connections", 1800);
|
user_pref("network.http.max-connections", 1800);
|
||||||
user_pref("network.http.max-persistent-connections-per-server", 10);
|
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.max-urgent-start-excessive-connections-per-host", 5);
|
||||||
user_pref("network.http.pacing.requests.enabled", false);
|
user_pref("network.http.pacing.requests.enabled", false);
|
||||||
user_pref("network.dnsCacheExpiration", 3600);
|
user_pref("network.dnsCacheExpiration", 3600);
|
||||||
user_pref("network.dns.max_high_priority_threads", 8);
|
|
||||||
user_pref("network.ssl_tokens_cache_capacity", 10240);
|
user_pref("network.ssl_tokens_cache_capacity", 10240);
|
||||||
|
|
||||||
/** SPECULATIVE LOADING ***/
|
/** SPECULATIVE LOADING ***/
|
||||||
user_pref("network.dns.disablePrefetch", true);
|
user_pref("network.dns.disablePrefetch", true);
|
||||||
|
user_pref("network.dns.disablePrefetchFromHTTPS", true);
|
||||||
user_pref("network.prefetch-next", false);
|
user_pref("network.prefetch-next", false);
|
||||||
user_pref("network.predictor.enabled", false);
|
user_pref("network.predictor.enabled", false);
|
||||||
|
user_pref("network.predictor.enable-prefetch", false);
|
||||||
|
|
||||||
/** EXPERIMENTAL ***/
|
/** EXPERIMENTAL ***/
|
||||||
user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
||||||
user_pref("dom.enable_web_task_scheduling", true);
|
user_pref("dom.enable_web_task_scheduling", true);
|
||||||
user_pref("layout.css.has-selector.enabled", true);
|
|
||||||
user_pref("dom.security.sanitizer.enabled", true);
|
user_pref("dom.security.sanitizer.enabled", true);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
@@ -70,7 +68,6 @@ user_pref("browser.download.start_downloads_in_tmp_dir", true);
|
|||||||
user_pref("browser.helperApps.deleteTempFileOnExit", true);
|
user_pref("browser.helperApps.deleteTempFileOnExit", true);
|
||||||
user_pref("browser.uitour.enabled", false);
|
user_pref("browser.uitour.enabled", false);
|
||||||
user_pref("privacy.globalprivacycontrol.enabled", true);
|
user_pref("privacy.globalprivacycontrol.enabled", true);
|
||||||
user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
|
|
||||||
|
|
||||||
/** OCSP & CERTS / HPKP ***/
|
/** OCSP & CERTS / HPKP ***/
|
||||||
user_pref("security.OCSP.enabled", 0);
|
user_pref("security.OCSP.enabled", 0);
|
||||||
@@ -90,11 +87,14 @@ user_pref("browser.sessionstore.interval", 60000);
|
|||||||
user_pref("privacy.history.custom", true);
|
user_pref("privacy.history.custom", true);
|
||||||
|
|
||||||
/** SEARCH / URL BAR ***/
|
/** SEARCH / URL BAR ***/
|
||||||
|
user_pref("browser.urlbar.trimHttps", true);
|
||||||
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
||||||
user_pref("browser.urlbar.update2.engineAliasRefresh", true);
|
user_pref("browser.urlbar.update2.engineAliasRefresh", true);
|
||||||
user_pref("browser.search.suggest.enabled", false);
|
user_pref("browser.search.suggest.enabled", false);
|
||||||
|
user_pref("browser.urlbar.quicksuggest.enabled", false);
|
||||||
user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false);
|
user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false);
|
||||||
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false);
|
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false);
|
||||||
|
user_pref("browser.urlbar.groupLabels.enabled", false);
|
||||||
user_pref("browser.formfill.enable", false);
|
user_pref("browser.formfill.enable", false);
|
||||||
user_pref("security.insecure_connection_text.enabled", true);
|
user_pref("security.insecure_connection_text.enabled", true);
|
||||||
user_pref("security.insecure_connection_text.pbmode.enabled", true);
|
user_pref("security.insecure_connection_text.pbmode.enabled", true);
|
||||||
@@ -102,22 +102,16 @@ user_pref("network.IDN_show_punycode", true);
|
|||||||
|
|
||||||
/** HTTPS-FIRST POLICY ***/
|
/** HTTPS-FIRST POLICY ***/
|
||||||
user_pref("dom.security.https_first", true);
|
user_pref("dom.security.https_first", true);
|
||||||
|
user_pref("dom.security.https_first_schemeless", true);
|
||||||
|
|
||||||
/** PASSWORDS ***/
|
/** PASSWORDS ***/
|
||||||
user_pref("signon.rememberSignons", false);
|
|
||||||
user_pref("signon.formlessCapture.enabled", false);
|
user_pref("signon.formlessCapture.enabled", false);
|
||||||
user_pref("signon.privateBrowsingCapture.enabled", false);
|
user_pref("signon.privateBrowsingCapture.enabled", false);
|
||||||
user_pref("network.auth.subresource-http-auth-allow", 1);
|
user_pref("network.auth.subresource-http-auth-allow", 1);
|
||||||
user_pref("editor.truncate_user_pastes", false);
|
user_pref("editor.truncate_user_pastes", false);
|
||||||
|
|
||||||
/** ADDRESS + CREDIT CARD MANAGER ***/
|
|
||||||
user_pref("extensions.formautofill.addresses.enabled", false);
|
|
||||||
user_pref("extensions.formautofill.creditCards.enabled", false);
|
|
||||||
|
|
||||||
/** MIXED CONTENT + CROSS-SITE ***/
|
/** MIXED CONTENT + CROSS-SITE ***/
|
||||||
user_pref("security.mixed_content.block_display_content", true);
|
user_pref("security.mixed_content.block_display_content", true);
|
||||||
user_pref("security.mixed_content.upgrade_display_content", true);
|
|
||||||
user_pref("security.mixed_content.upgrade_display_content.image", true);
|
|
||||||
user_pref("pdfjs.enableScripting", false);
|
user_pref("pdfjs.enableScripting", false);
|
||||||
user_pref("extensions.postDownloadThirdPartyPrompt", false);
|
user_pref("extensions.postDownloadThirdPartyPrompt", false);
|
||||||
|
|
||||||
@@ -137,7 +131,6 @@ 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("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
|
||||||
user_pref("permissions.manager.defaultsUrl", "");
|
user_pref("permissions.manager.defaultsUrl", "");
|
||||||
user_pref("webchannel.allowObject.urlWhitelist", "");
|
user_pref("webchannel.allowObject.urlWhitelist", "");
|
||||||
|
|
||||||
@@ -156,7 +149,6 @@ user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
|
|||||||
user_pref("toolkit.telemetry.coverage.opt-out", true);
|
user_pref("toolkit.telemetry.coverage.opt-out", true);
|
||||||
user_pref("toolkit.coverage.opt-out", true);
|
user_pref("toolkit.coverage.opt-out", true);
|
||||||
user_pref("toolkit.coverage.endpoint.base", "");
|
user_pref("toolkit.coverage.endpoint.base", "");
|
||||||
user_pref("browser.ping-centre.telemetry", false);
|
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
||||||
user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
||||||
|
|
||||||
@@ -174,6 +166,7 @@ user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
|
|||||||
user_pref("captivedetect.canonicalURL", "");
|
user_pref("captivedetect.canonicalURL", "");
|
||||||
user_pref("network.captive-portal-service.enabled", false);
|
user_pref("network.captive-portal-service.enabled", false);
|
||||||
user_pref("network.connectivity-service.enabled", false);
|
user_pref("network.connectivity-service.enabled", false);
|
||||||
|
user_pref("dom.private-attribution.submission.enabled", false);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: PESKYFOX *
|
* SECTION: PESKYFOX *
|
||||||
@@ -203,7 +196,6 @@ user_pref("browser.privateWindowSeparation.enabled", false); // WINDOWS
|
|||||||
/** COOKIE BANNER HANDLING ***/
|
/** COOKIE BANNER HANDLING ***/
|
||||||
user_pref("cookiebanners.service.mode", 1);
|
user_pref("cookiebanners.service.mode", 1);
|
||||||
user_pref("cookiebanners.service.mode.privateBrowsing", 1);
|
user_pref("cookiebanners.service.mode.privateBrowsing", 1);
|
||||||
user_pref("cookiebanners.service.enableGlobalRules", true);
|
|
||||||
|
|
||||||
/** FULLSCREEN NOTICE ***/
|
/** FULLSCREEN NOTICE ***/
|
||||||
user_pref("full-screen-api.transition-duration.enter", "0 0");
|
user_pref("full-screen-api.transition-duration.enter", "0 0");
|
||||||
@@ -220,11 +212,10 @@ user_pref("browser.urlbar.trending.featureGate", false);
|
|||||||
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
|
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
|
||||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
||||||
|
|
||||||
/*** POCKET ***/
|
/** POCKET ***/
|
||||||
user_pref("extensions.pocket.enabled", false);
|
user_pref("extensions.pocket.enabled", false);
|
||||||
|
|
||||||
/** DOWNLOADS ***/
|
/** DOWNLOADS ***/
|
||||||
user_pref("browser.download.useDownloadDir", false);
|
|
||||||
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
||||||
user_pref("browser.download.manager.addToRecentDocs", false);
|
user_pref("browser.download.manager.addToRecentDocs", false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user