mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d861f1b093 | |||
| 1209ea9743 | |||
| 8897e910ca | |||
| 368df70ca6 | |||
| 4d02f2752d | |||
| 39c19c43ee | |||
| f069be9637 | |||
| d6cff27f32 | |||
| 99f2e86063 | |||
| d97b8e5c60 | |||
| ec5d8b7423 | |||
| 064f64ab5f | |||
| 4011344f22 | |||
| f95103e854 | |||
| 00516e9bbf | |||
| 363392935a | |||
| 1abb557b27 | |||
| 04cfb3348a |
@@ -2,34 +2,37 @@
|
|||||||
name: Bug report
|
name: Bug report
|
||||||
about: Create a report to help us improve
|
about: Create a report to help us improve
|
||||||
title: ''
|
title: ''
|
||||||
labels: bug
|
labels: ''
|
||||||
assignees: yokoffing
|
assignees: yokoffing
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## BEFORE YOU BEGIN
|
## BEFORE YOU BEGIN
|
||||||
I have attempted the following troubleshooting suggestions:
|
I have attempted the following troubleshooting suggestions:
|
||||||
- [ ] [Cleared website data](https://www.hostinger.com/tutorials/wp-content/uploads/sites/2/2018/05/clear-browser-cache-firefox.png), restarted Firefox, and my issue persists.
|
- [ ] The issue persists when using Firefox in [Troubleshoot Mode](https://support.mozilla.org/en-US/kb/diagnose-firefox-issues-using-troubleshoot-mode).
|
||||||
- [ ] No issues when using the website or extension in another web browser.
|
- [ ] Disabled DNS-level content blocking (AdGuard Home, NextDNS, Control D, RethinkDNS, PiHole, etc), [cleared my DNS cache](https://www.pcmag.com/how-to/how-to-flush-your-dns-cache), and used my ISP's DNS resolver (if applicable).
|
||||||
- [ ] The issue persists when using Firefox in [Safe Mode](https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode#w_how-to-start-firefox-in-safe-mode).
|
- [ ] [Cleared website data](https://support.mozilla.org/en-US/kb/clear-cookies-and-site-data-firefox), restarted Firefox, and my issue persists.
|
||||||
- [ ] Disabled DNS-level content blocking (AdGuard, NextDNS, PiHole), [cleared my DNS cache](https://www.pcmag.com/how-to/how-to-flush-your-dns-cache), and used my ISP's DNS resolver (if applicable).
|
- [ ] I have created a [new profile](https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles). The issue persists when using the current [user.js](https://github.com/yokoffing/Betterfox/blob/master/user.js) file on GitHub. (Must be in a new profile and a new user.js!)
|
||||||
|
|
||||||
## REPORT
|
## REPORT
|
||||||
**Describe the bug**
|
**Describe the bug**
|
||||||
A clear and concise description of what the bug is.
|
*A clear and concise description of what the bug is.*
|
||||||
|
|
||||||
**To Reproduce**
|
**To Reproduce**
|
||||||
Steps to reproduce the behavior:
|
*Steps to reproduce the behavior:*
|
||||||
|
|
||||||
|
```
|
||||||
1. Go to '...'
|
1. Go to '...'
|
||||||
2. Click on '....'
|
2. Click on '....'
|
||||||
3. Scroll down to '....'
|
3. Scroll down to '....'
|
||||||
4. See error
|
4. See error
|
||||||
|
```
|
||||||
|
|
||||||
**Expected behavior**
|
**Expected behavior**
|
||||||
A clear and concise description of what you expected to happen.
|
*A clear and concise description of what you expected to happen.*
|
||||||
|
|
||||||
**Screenshots**
|
**Screenshots**
|
||||||
If applicable, add screenshots to help explain your problem.
|
*If applicable, add screenshots to help explain your problem.*
|
||||||
|
|
||||||
**Desktop (please complete the following information):**
|
**Desktop (please complete the following information):**
|
||||||
- OS: [e.g. iOS]
|
- OS: [e.g. iOS]
|
||||||
@@ -37,4 +40,4 @@ If applicable, add screenshots to help explain your problem.
|
|||||||
- Version [e.g. 22]
|
- Version [e.g. 22]
|
||||||
|
|
||||||
**Additional context**
|
**Additional context**
|
||||||
Add any other context about the problem here.
|
*Add any other context about the problem here.*
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
name: Feature request
|
name: Feature request
|
||||||
about: Suggest an idea for this project
|
about: Suggest an idea for this project
|
||||||
title: ''
|
title: ''
|
||||||
labels: enhancement
|
labels: ''
|
||||||
assignees: yokoffing
|
assignees: yokoffing
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
name: General Inquiry
|
|
||||||
about: Ask a question
|
|
||||||
title: ''
|
|
||||||
labels: ":grey_question: question"
|
|
||||||
assignees: yokoffing
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
|
|
||||||
+92
-83
@@ -3,10 +3,20 @@
|
|||||||
* Fastfox *
|
* Fastfox *
|
||||||
* "Non ducor duco" *
|
* "Non ducor duco" *
|
||||||
* priority: speedy browsing *
|
* priority: speedy browsing *
|
||||||
* version: 108 *
|
* version: 109 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
|
|
||||||
|
// PREF: process count
|
||||||
|
// Process count used to be "# of CPU cores = processCount" starting with Firefox Quantum (2017).
|
||||||
|
// Since the introduction of Fission [2], increasing process count
|
||||||
|
// is more complicated than changing one pref [1].
|
||||||
|
// [1] https://firefox-source-docs.mozilla.org/dom/ipc/process_model.html#web-content-processes
|
||||||
|
// [2] https://github.com/yokoffing/Betterfox/blob/064f64ab5f0e8443ed6b127d91326d9c887cd15d/Securefox.js#L58-L64
|
||||||
|
//user_pref("dom.ipc.processCount", 8); // DEFAULT; Shared Web Content
|
||||||
|
//user_pref("dom.ipc.processCount.webIsolated", 4); // per-site; DEFAULT; Isolated Web Content
|
||||||
|
|
||||||
|
// [1] https://github.com/yokoffing/Betterfox/blob/064f64ab5f0e8443ed6b127d91326d9c887cd15d/Securefox.js#L58-L64
|
||||||
// PREF: initial paint delay
|
// PREF: initial paint delay
|
||||||
// How long FF will wait before rendering the page, in milliseconds
|
// How long FF will wait before rendering the page, in milliseconds
|
||||||
// Reduce the 5ms Firefox waits to render the page
|
// Reduce the 5ms Firefox waits to render the page
|
||||||
@@ -15,20 +25,35 @@
|
|||||||
user_pref("nglayout.initialpaint.delay", 0); // default=5; used to be 250
|
user_pref("nglayout.initialpaint.delay", 0); // default=5; used to be 250
|
||||||
user_pref("nglayout.initialpaint.delay_in_oopif", 0); // default=5
|
user_pref("nglayout.initialpaint.delay_in_oopif", 0); // default=5
|
||||||
|
|
||||||
// PREF: notification interval (in microseconds)
|
// PREF: page reflow timer
|
||||||
|
// Rather than wait until a page has completely downloaded to display it to the user,
|
||||||
|
// web browsers will periodically render what has been received to that point.
|
||||||
|
// Because reflowing the page every time additional data is received slows down
|
||||||
|
// total page load time, a timer was added so that the page would not reflow too often.
|
||||||
|
// This preference specfies whether that timer is active.
|
||||||
|
// [1] https://kb.mozillazine.org/Content.notify.ontimer
|
||||||
|
// true = do not reflow pages at an interval any higher than that specified by content.notify.interval (default)
|
||||||
|
// false = reflow pages whenever new data is received
|
||||||
|
//user_pref("content.notify.ontimer", true); // DEFAULT
|
||||||
|
|
||||||
|
// PREF: notification interval (in microseconds) [to avoid layout thrashing]
|
||||||
// When Firefox is loading a page, it periodically reformats
|
// When Firefox is loading a page, it periodically reformats
|
||||||
// or "reflows" the page as it loads. The page displays new elements
|
// or "reflows" the page as it loads. The page displays new elements
|
||||||
// every 0.12 seconds by default. These redraws increase the total page load time.
|
// every 0.12 seconds by default. These redraws increase the total page load time.
|
||||||
// Lowering the interval will decrease the perceived page load time
|
// The default value provides good incremental display of content
|
||||||
// but increase the total loading time.
|
// without causing an increase in page load time.
|
||||||
// The notification interval has a dramatic effect on how long it takes to
|
// [NOTE] Lowering the interval will decrease the PERCEIVED page load time (user experience?)
|
||||||
// initially display content for slow connections. The default value
|
// but increase the TOTAL loading time (benchmarks?).
|
||||||
// provides good incremental display of content without causing an increase
|
// [NOTE] Slower connections will want lower value (100000).
|
||||||
// in page load time. If this value is set below 1/10 of a second it starts
|
// Page load does not change dramatically for faster connections,
|
||||||
|
// so you may favor a smoother page load (360000).
|
||||||
|
// [WARNING] If this value is set below 1/10 of a second, it starts
|
||||||
// to impact page load performance.
|
// to impact page load performance.
|
||||||
|
// [EXAMPLE] 100000 = .10s = 100 reflows/second
|
||||||
// [1] https://searchfox.org/mozilla-central/rev/c1180ea13e73eb985a49b15c0d90e977a1aa919c/modules/libpref/init/StaticPrefList.yaml#1824-1834
|
// [1] https://searchfox.org/mozilla-central/rev/c1180ea13e73eb985a49b15c0d90e977a1aa919c/modules/libpref/init/StaticPrefList.yaml#1824-1834
|
||||||
user_pref("content.notify.interval", 360000); // (.36s), default=120000 (.12s)
|
// [2] https://dev.opera.com/articles/efficient-javascript/?page=3#reflow
|
||||||
//user_pref("content.notify.ontimer", true); // DEFAULT
|
// [3] https://dev.opera.com/articles/efficient-javascript/?page=3#smoothspeed
|
||||||
|
user_pref("content.notify.interval", 100000); // alt=360000 (.36s)
|
||||||
|
|
||||||
// PREF: set the minimum interval between session save operations
|
// PREF: set the minimum interval between session save operations
|
||||||
// Increasing this can help on older machines and some websites, as well as reducing writes
|
// Increasing this can help on older machines and some websites, as well as reducing writes
|
||||||
@@ -42,61 +67,48 @@ user_pref("content.notify.interval", 360000); // (.36s), default=120000 (.12s)
|
|||||||
//user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
|
//user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
|
||||||
//user_pref("browser.sessionstore.restore_tabs_lazily", true); // DEFAULT
|
//user_pref("browser.sessionstore.restore_tabs_lazily", true); // DEFAULT
|
||||||
|
|
||||||
// PREF: enable Lazy Image Loading
|
|
||||||
// https://www.ghacks.net/2020/02/15/firefox-75-gets-lazy-loading-support-for-images/
|
|
||||||
//user_pref("dom.image-lazy-loading.enabled", true); // DEFAULT
|
|
||||||
|
|
||||||
// PREF: disable preSkeletonUI on startup
|
// PREF: disable preSkeletonUI on startup
|
||||||
user_pref("browser.startup.preXulSkeletonUI", false);
|
user_pref("browser.startup.preXulSkeletonUI", false);
|
||||||
|
|
||||||
// PREF: OffscreenCanvas
|
|
||||||
// [1] https://yashints.dev/blog/2019/05/11/offscreen-canvas
|
|
||||||
// [2] https://www.youtube.com/watch?v=CWvRA9E0DqU
|
|
||||||
// [3] https://developer.chrome.com/blog/offscreen-canvas/
|
|
||||||
// [4] https://groups.google.com/a/mozilla.org/g/dev-platform/c/kp9SZL-0wW0
|
|
||||||
//user_pref("gfx.offscreencanvas.enabled", true); // DEFAULT FF106+
|
|
||||||
|
|
||||||
// PREF: CSS Font Loading API in workers
|
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1072107
|
|
||||||
//user_pref("layout.css.font-loading-api.workers.enabled", true); // DEFAULT FF106+
|
|
||||||
|
|
||||||
// PREF: enable importMaps [FF108+]
|
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1688879
|
|
||||||
// [2] https://github.com/WICG/import-maps#the-basic-idea
|
|
||||||
// [3] https://caniuse.com/import-maps
|
|
||||||
//user_pref("dom.importMaps.enabled", true); // DEFAULT FF108+
|
|
||||||
//user_pref("javascript.options.experimental.import_assertions", true);
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: EXPERIMENTAL *
|
* SECTION: EXPERIMENTAL *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// PREF: WebGPU [HIGHLY EXPERIMENTAL!] [NIGHTLY]
|
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1746245
|
|
||||||
// [2] https://github.com/gpuweb/gpuweb/wiki/Implementation-Status
|
|
||||||
// [3] https://hacks.mozilla.org/2020/04/experimental-webgpu-in-firefox/
|
|
||||||
// [4] https://developer.chrome.com/docs/web-platform/webgpu/
|
|
||||||
//user_pref("dom.webgpu.enabled", true);
|
|
||||||
//user_pref("gfx.webgpu.force-enabled", true);
|
|
||||||
|
|
||||||
// PREF: about:home startup cache [NIGHTLY]
|
// PREF: about:home startup cache [NIGHTLY]
|
||||||
// A cache for the initial about:home document that is loaded by default at startup
|
// A cache for the initial about:home document that is loaded by default at startup
|
||||||
// The purpose of the cache is to improve startup performance
|
// The purpose of the cache is to improve startup performance
|
||||||
//user_pref("browser.startup.homepage.abouthome_cache.enabled", true);
|
//user_pref("browser.startup.homepage.abouthome_cache.enabled", true);
|
||||||
|
|
||||||
// PREF: CSS Masonry Layout [NIGHTLY]
|
// PREF: CSS Masonry Layout [NIGHTLY]
|
||||||
|
// [1] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Masonry_Layout
|
||||||
user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
||||||
|
|
||||||
|
// PREF: CSS Animation Composition [NIGHTLY]
|
||||||
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1785329
|
||||||
|
// [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1293490
|
||||||
|
// [3] https://developer.mozilla.org/en-US/docs/Web/CSS/animation-composition
|
||||||
|
user_pref("layout.css.animation-composition.enabled", true);
|
||||||
|
|
||||||
// PREF: Prioritized Task Scheduling API [NIGHTLY]
|
// PREF: Prioritized Task Scheduling API [NIGHTLY]
|
||||||
// [1] https://blog.mozilla.org/performance/2022/06/02/prioritized-task-scheduling-api-is-prototyped-in-nightly/
|
// [1] https://blog.mozilla.org/performance/2022/06/02/prioritized-task-scheduling-api-is-prototyped-in-nightly/
|
||||||
// [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: enable CSS Animation Composition [NIGHTLY]
|
// PREF: inert HTML attribute [NIGHTLY]
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1785329
|
//user_pref("html5.inert.enabled", true);
|
||||||
// [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1293490
|
|
||||||
// [3] https://developer.mozilla.org/en-US/docs/Web/CSS/animation-composition
|
// PREF: container query length units [NIGHTLY]
|
||||||
user_pref("layout.css.animation-composition.enabled", true);
|
//user_pref("layout.css.container-queries.enabled", true);
|
||||||
|
|
||||||
|
// PREF: scroll-linked animations [NIGHTLY]
|
||||||
|
//user_pref("layout.css.scroll-driven-animations.enabled", true);
|
||||||
|
|
||||||
|
// PREF: HTML Sanitizer API [NIGHTLY]
|
||||||
|
//user_pref("dom.security.sanitizer.enabled", true);
|
||||||
|
|
||||||
|
// PREF: Clear-Site-Data: "cache" header [NIGHTLY]
|
||||||
|
// [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data
|
||||||
|
//user_pref("privacy.clearsitedata.cache.enabled", true);
|
||||||
|
|
||||||
// PREF: Shadowrealms [NIGHTLY]
|
// PREF: Shadowrealms [NIGHTLY]
|
||||||
// [1] https://github.com/tc39/proposal-shadowrealm/blob/main/explainer.md#introduction
|
// [1] https://github.com/tc39/proposal-shadowrealm/blob/main/explainer.md#introduction
|
||||||
@@ -108,14 +120,27 @@ user_pref("layout.css.animation-composition.enabled", true);
|
|||||||
//user_pref("javascript.options.wasm_gc", true);
|
//user_pref("javascript.options.wasm_gc", true);
|
||||||
//user_pref("javascript.options.wasm_function_references", true);
|
//user_pref("javascript.options.wasm_function_references", true);
|
||||||
|
|
||||||
|
// PREF: import assertions [NIGHTLY]
|
||||||
|
//user_pref("javascript.options.experimental.import_assertions", true);
|
||||||
|
|
||||||
// PREF: Array.fromAsync [NIGHTLY]
|
// PREF: Array.fromAsync [NIGHTLY]
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1795452
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1795452
|
||||||
//user_pref("javascript.options.experimental.array_grouping", true);
|
//user_pref("javascript.options.experimental.array_grouping", true);
|
||||||
//user_pref("javascript.options.experimental.enable_change_array_by_copy", true);
|
//user_pref("javascript.options.experimental.enable_change_array_by_copy", true);
|
||||||
|
|
||||||
// PREF: not yet categorized / need documentation [NIGHTLY]
|
// PREF: indexedDB
|
||||||
//user_pref("javascript.options.experimental.iterator_helpers", true);
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1112702
|
||||||
//user_pref("javascript.options.experimental.weakrefs.expose_cleanupSome", true);
|
//user_pref("dom.indexedDB.preprocessing", true);
|
||||||
|
//user_pref("dom.indexedDB.experimental", false); // DEFAULT
|
||||||
|
|
||||||
|
// PREF: WebGPU [HIGHLY EXPERIMENTAL!]
|
||||||
|
// [WARNING] Do not enable unless you are a web developer!
|
||||||
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1746245
|
||||||
|
// [2] https://developer.chrome.com/docs/web-platform/webgpu/
|
||||||
|
// [3] https://github.com/gpuweb/gpuweb/wiki/Implementation-Status
|
||||||
|
// [4] https://hacks.mozilla.org/2020/04/experimental-webgpu-in-firefox/
|
||||||
|
//user_pref("dom.webgpu.enabled", true);
|
||||||
|
//user_pref("gfx.webgpu.force-enabled", true);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: MAKE FIREFOX FAST *
|
* SECTION: MAKE FIREFOX FAST *
|
||||||
@@ -138,11 +163,11 @@ user_pref("layout.css.animation-composition.enabled", true);
|
|||||||
user_pref("gfx.webrender.all", true); // enables WR (GPU) + additional features
|
user_pref("gfx.webrender.all", true); // enables WR (GPU) + additional features
|
||||||
user_pref("gfx.webrender.precache-shaders", true);
|
user_pref("gfx.webrender.precache-shaders", true);
|
||||||
user_pref("gfx.webrender.compositor", true);
|
user_pref("gfx.webrender.compositor", true);
|
||||||
//user_pref("gfx.webrender.compositor.force-enabled", true); // reinforce
|
//user_pref("gfx.webrender.compositor.force-enabled", true); // enforce
|
||||||
user_pref("layers.gpu-process.enabled", true);
|
user_pref("layers.gpu-process.enabled", true);
|
||||||
//user_pref("layers.gpu-process.force-enabled", true); // reinforce
|
//user_pref("layers.gpu-process.force-enabled", true); // enforce
|
||||||
user_pref("media.hardware-video-decoding.enabled", true);
|
user_pref("media.hardware-video-decoding.enabled", true);
|
||||||
//user_pref("media.hardware-video-decoding.force-enabled", true); // reinforce
|
//user_pref("media.hardware-video-decoding.force-enabled", true); // enforce
|
||||||
|
|
||||||
// PREF: if your hardware doesn't support Webrender, you can fallback to Webrender's software renderer
|
// PREF: if your hardware doesn't support Webrender, you can fallback to Webrender's software renderer
|
||||||
// [1] https://www.ghacks.net/2020/12/14/how-to-find-out-if-webrender-is-enabled-in-firefox-and-how-to-enable-it-if-it-is-not/
|
// [1] https://www.ghacks.net/2020/12/14/how-to-find-out-if-webrender-is-enabled-in-firefox-and-how-to-enable-it-if-it-is-not/
|
||||||
@@ -175,14 +200,6 @@ user_pref("media.memory_caches_combined_limit_kb", 2560000); // preferred=314572
|
|||||||
user_pref("media.cache_readahead_limit", 9000); // default=60; stop reading ahead when our buffered data is this many seconds ahead of the current playback
|
user_pref("media.cache_readahead_limit", 9000); // default=60; stop reading ahead when our buffered data is this many seconds ahead of the current playback
|
||||||
user_pref("media.cache_resume_threshold", 6000); // default=30; when a network connection is suspended, don't resume it until the amount of buffered data falls below this threshold (in seconds)
|
user_pref("media.cache_resume_threshold", 6000); // default=30; when a network connection is suspended, don't resume it until the amount of buffered data falls below this threshold (in seconds)
|
||||||
|
|
||||||
// PREF: disable QUIC for faster upload speeds
|
|
||||||
// Firefox currently has a bug with impacting upload speeds with HTTP3
|
|
||||||
// [TEST] https://speedof.me/
|
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1753486
|
|
||||||
// [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1596576
|
|
||||||
//user_pref("network.http.http3.enable", false); // disables HTTP3/QUIC
|
|
||||||
//user_pref("network.http.http2.chunk-size", 32000); // preferred=48000; default=16000 [needed?]
|
|
||||||
|
|
||||||
// PREF: disable AV1 for hardware decodeable videos
|
// PREF: disable AV1 for hardware decodeable videos
|
||||||
// AV1 uses software (CPU-based) decoding
|
// AV1 uses software (CPU-based) decoding
|
||||||
// Firefox sometimes uses AV1 video decoding even to GPUs which do not support it
|
// Firefox sometimes uses AV1 video decoding even to GPUs which do not support it
|
||||||
@@ -195,17 +212,19 @@ user_pref("media.cache_resume_threshold", 6000); // default=30; when a network c
|
|||||||
|
|
||||||
// PREF: disk cache
|
// PREF: disk cache
|
||||||
// [EXTENSION] https://addons.mozilla.org/en-US/firefox/addon/cache-longer/
|
// [EXTENSION] https://addons.mozilla.org/en-US/firefox/addon/cache-longer/
|
||||||
//user_pref("browser.cache.disk.enable", true); // overrides Securefox
|
// More efficient to keep the browser cache instead of
|
||||||
//user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT
|
// having to re-download objects for the websites you visit frequently
|
||||||
//user_pref("browser.cache.disk.smart_size.enabled", false); // disable adaptive cache size on disk
|
//user_pref("browser.cache.disk.enable", true); // DEFAULT; overrides Securefox
|
||||||
//user_pref("browser.cache.disk.capacity", 8192000); // 8 GB cache on disk
|
//user_pref("browser.cache.disk.capacity", 8192000); // 8 GB cache on disk
|
||||||
//user_pref("browser.cache.max_shutdown_io_lag", 16); // number of seconds the cache spends writing pending data and closing files after shutdown has been signalled
|
//user_pref("browser.cache.disk.smart_size.enabled", false); // disable adaptive cache size on disk
|
||||||
//user_pref("browser.cache.frecency_half_life_hours", 128); // lower cache sweep intervals, the half life used to re-compute cache entries frecency (in hours)
|
//user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT
|
||||||
|
//user_pref("browser.cache.max_shutdown_io_lag", 8); // number of seconds the cache spends writing pending data and closing files after shutdown has been signalled
|
||||||
|
//user_pref("browser.cache.frecency_half_life_hours", 6); // DEFAULT; lower cache sweep intervals, the half life used to re-compute cache entries frequency (in hours)
|
||||||
|
|
||||||
// PREF: increase memory cache size
|
// PREF: increase memory cache size
|
||||||
// [1] https://www.makeuseof.com/tag/how-much-data-does-youtube-use/
|
// [1] https://www.makeuseof.com/tag/how-much-data-does-youtube-use/
|
||||||
//user_pref("browser.cache.memory.capacity", -1); // enforce DEFAULT; 256000=256MB, 512000=512MB, 1024000=1GB, 2097152=2GB, 5242880=5GB, 8388608=8GB
|
//user_pref("browser.cache.memory.capacity", -1); // DEFAULT; 256000=256MB, 512000=512MB, 1024000=1GB, 2097152=2GB, 5242880=5GB, 8388608=8GB
|
||||||
user_pref("browser.cache.memory.max_entry_size", 153600); // alt=51200; preferred=327680 ; -1 -> entries bigger than than 90% of the mem-cache are never cached
|
user_pref("browser.cache.memory.max_entry_size", 153600); // alt=51200; preferred=327680 ; alt= -1 -> entries bigger than than 90% of the mem-cache are never cached
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: NETWORK *
|
* SECTION: NETWORK *
|
||||||
@@ -227,22 +246,12 @@ user_pref("network.buffer.cache.count", 128); // preferred=240; default=24
|
|||||||
//user_pref("network.http.pacing.requests.min-parallelism", 18); // default=6
|
//user_pref("network.http.pacing.requests.min-parallelism", 18); // default=6
|
||||||
|
|
||||||
// PREF: increase DNS cache
|
// PREF: increase DNS cache
|
||||||
user_pref("network.dnsCacheEntries", 20000);
|
//user_pref("network.dnsCacheEntries", 20000);
|
||||||
user_pref("network.dnsCacheExpiration", 3600); // keep entries for 1 hour
|
user_pref("network.dnsCacheExpiration", 3600); // keep entries for 1 hour
|
||||||
user_pref("network.dnsCacheExpirationGracePeriod", 240);
|
user_pref("network.dnsCacheExpirationGracePeriod", 240); // 4 minutes
|
||||||
|
|
||||||
// PREF: increase TLS token caching
|
// PREF: increase TLS token caching
|
||||||
user_pref("network.ssl_tokens_cache_capacity", 32768); // default=2048; faster SSL (fast reconnects)
|
user_pref("network.ssl_tokens_cache_capacity", 32768); // default=2048; more TLS token caching (fast reconnects)
|
||||||
|
|
||||||
// These do not help speed:
|
|
||||||
// PREF: DoH requests
|
|
||||||
//user_pref("network.trr.request_timeout_ms", 800); // default=1500
|
|
||||||
//user_pref("network.trr.retry-timeout-ms", 125); // DEFAULT
|
|
||||||
//user_pref("network.trr.request_timeout_mode_trronly_ms", 15000); // default=30000
|
|
||||||
// PREF: close a connection if tls handshake does not finish in given number of seconds
|
|
||||||
//user_pref("network.http.tls-handshake-timeout", 20); // default=30
|
|
||||||
// PREF: timeout connections if an initial response is not received in number of seconds
|
|
||||||
//user_pref("network.http.response.timeout", 200); // default=300
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: SPECULATIVE CONNECTIONS *
|
* SECTION: SPECULATIVE CONNECTIONS *
|
||||||
@@ -268,9 +277,9 @@ user_pref("network.ssl_tokens_cache_capacity", 32768); // default=2048; faster S
|
|||||||
//user_pref("network.predictor.enabled", true); // overrides SecureFox
|
//user_pref("network.predictor.enabled", true); // overrides SecureFox
|
||||||
//user_pref("network.predictor.enable-prefetch", true); // overrides SecureFox
|
//user_pref("network.predictor.enable-prefetch", true); // overrides SecureFox
|
||||||
//user_pref("network.predictor.enable-hover-on-ssl", true);
|
//user_pref("network.predictor.enable-hover-on-ssl", true);
|
||||||
//user_pref("network.predictor.preresolve-min-confidence", 10); // default=60; alt=40
|
//user_pref("network.predictor.preresolve-min-confidence", 40); // default=60; alt=10
|
||||||
//user_pref("network.predictor.preconnect-min-confidence", 20); // default=90; alt=70
|
//user_pref("network.predictor.preconnect-min-confidence", 60); // default=90; alt=20
|
||||||
//user_pref("network.predictor.prefetch-min-confidence", 30); // default=100; alt=80
|
//user_pref("network.predictor.prefetch-min-confidence", 80); // default=100; alt=30
|
||||||
//user_pref("network.predictor.prefetch-force-valid-for", 3600); // default=10
|
//user_pref("network.predictor.prefetch-force-valid-for", 3600); // default=10
|
||||||
//user_pref("network.predictor.prefetch-rolling-load-count", 120); // default=10
|
//user_pref("network.predictor.prefetch-rolling-load-count", 120); // default=10
|
||||||
//user_pref("network.predictor.max-resources-per-entry", 250); // default=100
|
//user_pref("network.predictor.max-resources-per-entry", 250); // default=100
|
||||||
|
|||||||
+30
-47
@@ -3,7 +3,7 @@
|
|||||||
* Peskyfox *
|
* Peskyfox *
|
||||||
* "Aquila non capit muscas" *
|
* "Aquila non capit muscas" *
|
||||||
* priority: remove annoyances *
|
* priority: remove annoyances *
|
||||||
* version: 108 *
|
* version: 109 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
@@ -29,34 +29,11 @@ user_pref("layout.css.prefers-color-scheme.content-override", 2);
|
|||||||
// PREF: enable Firefox to use userChome, userContent, etc.
|
// PREF: enable Firefox to use userChome, userContent, etc.
|
||||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||||
|
|
||||||
// PREF: enable CSS moz document rules
|
|
||||||
// Still needed for Stylus?
|
|
||||||
// [1] https://old.reddit.com/r/FirefoxCSS/comments/8x2q97/reenabling_mozdocument_rules_in_firefox_61/
|
|
||||||
//user_pref("layout.css.moz-document.content.enabled", true);
|
|
||||||
|
|
||||||
// PREF: disable annoying update restart prompts
|
// PREF: disable annoying update restart prompts
|
||||||
// Delay update available prompts for ~1 week
|
// Delay update available prompts for ~1 week
|
||||||
// Will still show green arrow in menu bar
|
// Will still show green arrow in menu bar
|
||||||
user_pref("app.update.suppressPrompts", true);
|
user_pref("app.update.suppressPrompts", true);
|
||||||
|
|
||||||
// PREF: prevent accessibility services from accessing your browser [RESTART]
|
|
||||||
// Accessibility Service may negatively impact Firefox browsing performance
|
|
||||||
// Disable it if you’re not using any type of physical impairment assistive software
|
|
||||||
// [1] https://support.mozilla.org/kb/accessibility-services
|
|
||||||
// [2] https://www.ghacks.net/2021/08/25/firefox-tip-turn-off-accessibility-services-to-improve-performance/
|
|
||||||
// [3] https://www.troddit.com/r/firefox/comments/p8g5zd/why_does_disabling_accessibility_services_improve
|
|
||||||
// [4] https://winaero.com/firefox-has-accessibility-service-memory-leak-you-should-disable-it/
|
|
||||||
// [5] https://www.ghacks.net/2022/12/26/firefoxs-accessibility-performance-is-getting-a-huge-boost/
|
|
||||||
user_pref("accessibility.force_disabled", 1);
|
|
||||||
|
|
||||||
// PREF: disable the Accessibility panel
|
|
||||||
//user_pref("devtools.accessibility.enabled", false);
|
|
||||||
|
|
||||||
// PREF: don't focus elements on click, only on tab
|
|
||||||
// Helps to eliminate ugly 1px dotted outline
|
|
||||||
// default=1
|
|
||||||
//user_pref("accessibility.mouse_focuses_formcontrol", 0);
|
|
||||||
|
|
||||||
// PREF: add compact mode back to options
|
// PREF: add compact mode back to options
|
||||||
user_pref("browser.compactmode.show", true);
|
user_pref("browser.compactmode.show", true);
|
||||||
|
|
||||||
@@ -81,19 +58,9 @@ user_pref("browser.preferences.moreFromMozilla", false);
|
|||||||
// [1] https://www.ghacks.net/2022/10/19/how-to-hide-firefoxs-list-all-tabs-icon/
|
// [1] https://www.ghacks.net/2022/10/19/how-to-hide-firefoxs-list-all-tabs-icon/
|
||||||
user_pref("browser.tabs.tabmanager.enabled", false);
|
user_pref("browser.tabs.tabmanager.enabled", false);
|
||||||
|
|
||||||
// PREF: disable Unified Extensions button [NIGHTLY]
|
// PREF: disable Unified Extensions button [FF109+]
|
||||||
//user_pref("extensions.unifiedExtensions.enabled", false);
|
//user_pref("extensions.unifiedExtensions.enabled", false);
|
||||||
|
|
||||||
// PREF: remove "addons.mozilla.org" from set of domains that extensions cannot access
|
|
||||||
// [NOTE] May only work with privacy.resistfingerprinting enabled? + DEV/NIGHTLY-only?
|
|
||||||
// [1] https://www.reddit.com/r/firefox/comments/n1lpaf/make_addons_work_on_mozilla_sites/gwdy235/?context=3
|
|
||||||
//user_pref("extensions.webextensions.restrictedDomains", "accounts-static.cdn.mozilla.net,accounts.firefox.com,addons.cdn.mozilla.net,api.accounts.firefox.com,content.cdn.mozilla.net,discovery.addons.mozilla.org,install.mozilla.org,oauth.accounts.firefox.com,profile.accounts.firefox.com,support.mozilla.org,sync.services.mozilla.com");
|
|
||||||
//user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); // [HIDDEN]
|
|
||||||
|
|
||||||
// PREF: do not require signing for extensions [ESR/DEV/NIGHTLY ONLY]
|
|
||||||
// [1] https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox#w_what-are-my-options-if-i-want-to-use-an-unsigned-add-on-advanced-users
|
|
||||||
//user_pref("xpinstall.signatures.required", false);
|
|
||||||
|
|
||||||
// PREF: disable Warnings
|
// PREF: disable Warnings
|
||||||
//user_pref("browser.tabs.warnOnClose", false); // DEFAULT [FF94+]
|
//user_pref("browser.tabs.warnOnClose", false); // DEFAULT [FF94+]
|
||||||
//user_pref("browser.tabs.warnOnCloseOtherTabs", false);
|
//user_pref("browser.tabs.warnOnCloseOtherTabs", false);
|
||||||
@@ -120,17 +87,17 @@ user_pref("browser.aboutwelcome.enabled", false); // disable Intro screens
|
|||||||
user_pref("findbar.highlightAll", true);
|
user_pref("findbar.highlightAll", true);
|
||||||
|
|
||||||
// PREF: disable middle mouse click opening links from clipboard
|
// PREF: disable middle mouse click opening links from clipboard
|
||||||
// [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/10089 ***/
|
// [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/10089
|
||||||
user_pref("middlemouse.contentLoadURL", false);
|
user_pref("middlemouse.contentLoadURL", false);
|
||||||
|
|
||||||
// Private Browsing changes [FF106+]
|
// Private Browsing changes [FF106+]
|
||||||
// PREF: disable private windows being separate from normal windows in taskbar [WINDOWS]
|
// PREF: disable private windows being separate from normal windows in taskbar [WINDOWS]
|
||||||
//user_pref("browser.privateWindowSeparation.enabled", false);
|
//user_pref("browser.privateWindowSeparation.enabled", false);
|
||||||
|
|
||||||
// PREF: disable "private window" indicator in tab bar
|
// PREF: disable "private window" indicator in tab bar [FF106+]
|
||||||
user_pref("browser.privatebrowsing.enable-new-indicator", false);
|
user_pref("browser.privatebrowsing.enable-new-indicator", false);
|
||||||
|
|
||||||
// PREF: disable always using dark theme for private browsing windows
|
// PREF: disable always using dark theme for private browsing windows [FF106+]
|
||||||
//user_pref("browser.theme.dark-private-windows", false);
|
//user_pref("browser.theme.dark-private-windows", false);
|
||||||
|
|
||||||
// PREF: Cookie Banner handling [NIGHTLY]
|
// PREF: Cookie Banner handling [NIGHTLY]
|
||||||
@@ -149,10 +116,10 @@ user_pref("browser.privatebrowsing.enable-new-indicator", false);
|
|||||||
|
|
||||||
// PREF: enable global CookieBannerRules
|
// PREF: enable global CookieBannerRules
|
||||||
// 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)
|
||||||
// [NOTE] Enabling this (when the cookie handling feature is enabled) may
|
// [WARNING] Enabling this (when the cookie handling feature is enabled) may
|
||||||
// negatively impact site performance since it requires us to run rule-defined
|
// negatively impact site performance since it requires us to run rule-defined
|
||||||
// query selectors for every page
|
// query selectors for every page
|
||||||
//user_pref("cookiebanners.service.enableGlobalRules", true);
|
//user_pref("cookiebanners.service.enableGlobalRules", enable);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: FONT APPEARANCE *
|
* SECTION: FONT APPEARANCE *
|
||||||
@@ -163,7 +130,8 @@ user_pref("browser.privatebrowsing.enable-new-indicator", false);
|
|||||||
//user_pref("gfx.webrender.quality.force-subpixel-aa-where-possible", true);
|
//user_pref("gfx.webrender.quality.force-subpixel-aa-where-possible", true);
|
||||||
|
|
||||||
// PREF: use DirectWrite everywhere like Chrome [WINDOWS]
|
// PREF: use DirectWrite everywhere like Chrome [WINDOWS]
|
||||||
// [1] https://old.reddit.com/r/firefox/comments/wvs04y/comment/ilklzy1/?context=3
|
// [1] https://kb.mozillazine.org/Thunderbird_6.0,_etc.#Font_rendering_and_performance_issues
|
||||||
|
// [2] https://old.reddit.com/r/firefox/comments/wvs04y/comment/ilklzy1/?context=3
|
||||||
//user_pref("gfx.font_rendering.cleartype_params.rendering_mode", 5);
|
//user_pref("gfx.font_rendering.cleartype_params.rendering_mode", 5);
|
||||||
//user_pref("gfx.font_rendering.cleartype_params.cleartype_level", 100);
|
//user_pref("gfx.font_rendering.cleartype_params.cleartype_level", 100);
|
||||||
//user_pref("gfx.font_rendering.cleartype_params.force_gdi_classic_for_families", "");
|
//user_pref("gfx.font_rendering.cleartype_params.force_gdi_classic_for_families", "");
|
||||||
@@ -171,7 +139,7 @@ user_pref("browser.privatebrowsing.enable-new-indicator", false);
|
|||||||
//user_pref("gfx.font_rendering.directwrite.use_gdi_table_loading", false);
|
//user_pref("gfx.font_rendering.directwrite.use_gdi_table_loading", false);
|
||||||
// Some users find these helpful:
|
// Some users find these helpful:
|
||||||
//user_pref("gfx.font_rendering.cleartype_params.gamma", 1750);
|
//user_pref("gfx.font_rendering.cleartype_params.gamma", 1750);
|
||||||
//user_pref("gfx.font_rendering.cleartype_params.enhanced_contrast", 50);
|
//user_pref("gfx.font_rendering.cleartype_params.enhanced_contrast", 100);
|
||||||
//user_pref("gfx.font_rendering.cleartype_params.pixel_structure", 1);
|
//user_pref("gfx.font_rendering.cleartype_params.pixel_structure", 1);
|
||||||
|
|
||||||
// PREF: use macOS Appearance Panel text smoothing setting when rendering text [macOS]
|
// PREF: use macOS Appearance Panel text smoothing setting when rendering text [macOS]
|
||||||
@@ -302,7 +270,7 @@ user_pref("extensions.pocket.enabled", false);
|
|||||||
// 0=desktop, 1=downloads (default), 2=last used
|
// 0=desktop, 1=downloads (default), 2=last used
|
||||||
//user_pref("browser.download.folderList", 2);
|
//user_pref("browser.download.folderList", 2);
|
||||||
|
|
||||||
// PREF: Enforce user interaction for security by always asking where to download.
|
// PREF: Enforce user interaction for security by always asking where to download
|
||||||
// [SETTING] General>Downloads>Always ask you where to save files
|
// [SETTING] General>Downloads>Always ask you where to save files
|
||||||
// false=the user is asked what to do
|
// false=the user is asked what to do
|
||||||
user_pref("browser.download.useDownloadDir", false);
|
user_pref("browser.download.useDownloadDir", false);
|
||||||
@@ -314,9 +282,6 @@ user_pref("browser.download.alwaysOpenPanel", false);
|
|||||||
// PREF: Disable adding downloads to the system's "recent documents" list
|
// PREF: Disable adding downloads to the system's "recent documents" list
|
||||||
user_pref("browser.download.manager.addToRecentDocs", false);
|
user_pref("browser.download.manager.addToRecentDocs", false);
|
||||||
|
|
||||||
// PREF: Autohide download button
|
|
||||||
//user_pref("browser.download.autohideButton", true); // DEFAULT
|
|
||||||
|
|
||||||
// PREF: enable user interaction for security by always asking how to handle new mimetypes
|
// PREF: enable user interaction for security by always asking how to handle new mimetypes
|
||||||
// [SETTING] General>Files and Applications>What should Firefox do with other files
|
// [SETTING] General>Files and Applications>What should Firefox do with other files
|
||||||
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
||||||
@@ -515,7 +480,7 @@ user_pref("dom.popup_allowed_events", "click dblclick");
|
|||||||
// PREF: zoom only text on webpage, not other elements
|
// PREF: zoom only text on webpage, not other elements
|
||||||
//user_pref("browser.zoom.full", false);
|
//user_pref("browser.zoom.full", false);
|
||||||
|
|
||||||
// PREF: enable :has() CSS relational pseudo-class [NIGHTLY?]
|
// PREF: enable :has() CSS relational pseudo-class
|
||||||
// Needed for some extensions, filters, and customizations
|
// Needed for some extensions, filters, and customizations
|
||||||
// [1] https://developer.mozilla.org/en-US/docs/Web/CSS/:has
|
// [1] https://developer.mozilla.org/en-US/docs/Web/CSS/:has
|
||||||
// [2] https://caniuse.com/css-has
|
// [2] https://caniuse.com/css-has
|
||||||
@@ -534,3 +499,21 @@ user_pref("layout.css.has-selector.enabled", true);
|
|||||||
// PREF: JPEG XL image format [NIGHTLY]
|
// PREF: JPEG XL image format [NIGHTLY]
|
||||||
// [1] https://cloudinary.com/blog/the-case-for-jpeg-xl
|
// [1] https://cloudinary.com/blog/the-case-for-jpeg-xl
|
||||||
//user_pref("image.jxl.enabled", true);
|
//user_pref("image.jxl.enabled", true);
|
||||||
|
|
||||||
|
// PREF: enable CSS moz document rules
|
||||||
|
// Still needed for Stylus?
|
||||||
|
// [1] https://old.reddit.com/r/FirefoxCSS/comments/8x2q97/reenabling_mozdocument_rules_in_firefox_61/
|
||||||
|
//user_pref("layout.css.moz-document.content.enabled", true);
|
||||||
|
|
||||||
|
// PREF: restore zooming behavior [macOS] [FF109+]
|
||||||
|
// On macOS, Ctrl or Cmd + trackpad or mouse wheel now scrolls the page instead of zooming.
|
||||||
|
// This avoids accidental zooming and matches Safari's and Chrome's behavior.
|
||||||
|
// The prefs below restores the previous zooming behavior
|
||||||
|
//user_pref("mousewheel.with_control.action", 3);
|
||||||
|
//user_pref("mousewheel.with_meta.action", 3);
|
||||||
|
|
||||||
|
// PREF: disable efficiency mode [WINDOWS]
|
||||||
|
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1796525
|
||||||
|
// [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1800412
|
||||||
|
// [3] https://old.reddit.com/r/firefox/comments/107fj69/how_can_i_disable_the_efficiency_mode_on_firefox/
|
||||||
|
//user_pref("dom.ipc.processPriorityManager.backgroundUsesEcoQoS", false);
|
||||||
|
|||||||
@@ -53,41 +53,48 @@ If you use any of the features below, please view the [common overrides](https:/
|
|||||||
|
|
||||||
## Mentions
|
## Mentions
|
||||||
|
|
||||||
**User comments:**
|
### Reddit
|
||||||
|
- User comments:
|
||||||
[1](https://old.reddit.com/r/firefox/comments/xsw0zt/comment/iqo0dbv/?context=3)
|
[1](https://old.reddit.com/r/firefox/comments/xsw0zt/comment/iqo0dbv/?context=3)
|
||||||
[2](https://old.reddit.com/r/technology/comments/m4qdvt/google_accused_of_tracking_users_in_incognito/gqwzzgr/?context=2)
|
[2](https://old.reddit.com/r/browsers/comments/y7w57n/which_browser_do_you_use_on_your_devices/it30hqi/?context=3)
|
||||||
[3](https://old.reddit.com/r/Ubuntu/comments/pke4wz/suspicious_file_found_after_using_brave/hc568jg/?context=2)
|
[3](https://www.troddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy0kru3)
|
||||||
[4](https://old.reddit.com/r/browsers/comments/y7w57n/which_browser_do_you_use_on_your_devices/it30hqi/?context=3)
|
[4](https://www.troddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz)
|
||||||
[5](https://www.troddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy0kru3)
|
[5](https://old.reddit.com/r/firefox/comments/1030fri/why_does_firefox_feel_slowchoppy/j2wu4ow/)
|
||||||
[6](https://www.troddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz)
|
[6](https://old.reddit.com/r/pcmasterrace/comments/zwioe1/what_browser_will_you_be_using_in_2023_please/j1wmbxo/)
|
||||||
|
[7](https://old.reddit.com/r/firefox/comments/zodxzx/performance_optimizations_for_firefox/j0memta/?context=2)
|
||||||
|
|
||||||
#### Browser Integration
|
### YouTube
|
||||||
* [Pulse Browser](https://github.com/pulse-browser/browser#%EF%B8%8F-credits) (Dec 2021) | [files](https://github.com/pulse-browser/browser/tree/alpha/src/browser/app/profile)
|
* [I Hate Firefox. But I'm Still Switching Back to It.](https://www.youtube.com/watch?v=w0SJFED5xK0) (Nov 2022)
|
||||||
* [Ghostery Dawn](https://github.com/ghostery/user-agent-desktop#community) (Feb 2021) | [files](https://github.com/ghostery/user-agent-desktop/tree/main/brands/ghostery/branding/pref)
|
* [Español] [Optimizar y Acelerar Firefox](https://www.youtube.com/watch?v=3XtoONmq5_Q) (Nov 2022)
|
||||||
|
* [How To Improve Firefox Performance](https://www.youtube.com/watch?v=N8IOJiOFVEk) (Dec 2021)
|
||||||
|
|
||||||
|
### Podcasts
|
||||||
|
* [GhoSTORIES with Franz & Pete, S2|E6, 17:05-18:40](https://anchor.fm/ghostories/episodes/S2E6-We-Talking-Ghostery-Dawn----Again-er0q02/a-a4o5vmh) (Feb 2021)
|
||||||
|
|
||||||
|
### Browser Integration
|
||||||
|
* [Pulse Browser](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)
|
||||||
|
* [Ghostery Dawn](https://github.com/ghostery/user-agent-desktop#community) | [files](https://github.com/ghostery/user-agent-desktop/tree/main/brands/ghostery/branding/pref) (Feb 2021)
|
||||||
* [Betterfox adopted into Ghostery Dawn](https://web.archive.org/web/20210509171835/https://www.ghostery.com/ghostery-dawn-update-more/)<sup>[1](https://web.archive.org/web/20210921114333/https://www.ghostery.com/ghostery-dawn-product-update/)</sup>
|
* [Betterfox adopted into Ghostery Dawn](https://web.archive.org/web/20210509171835/https://www.ghostery.com/ghostery-dawn-update-more/)<sup>[1](https://web.archive.org/web/20210921114333/https://www.ghostery.com/ghostery-dawn-product-update/)</sup>
|
||||||
|
|
||||||
#### Guides
|
### Guides
|
||||||
* [FMHY Browser Tools: Privacy Hardened Firefox](https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/storage/#wiki_privacy_hardened_firefox)
|
* [FMHY Browser Tools: Privacy Hardened Firefox](https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/storage/#wiki_privacy_hardened_firefox)
|
||||||
* [Firefox-UI-Fix](https://github.com/black7375/Firefox-UI-Fix/wiki/Tips#privacy)
|
* [Firefox-UI-Fix](https://github.com/black7375/Firefox-UI-Fix/wiki/Tips#privacy)
|
||||||
* [Narsil/desktop_user.js](https://git.nixnet.services/Narsil/desktop_user.js#thanks)
|
* [Narsil/desktop_user.js](https://git.nixnet.services/Narsil/desktop_user.js#thanks)
|
||||||
* [pyllyukko/user.js](https://github.com/pyllyukko/user.js) [comparator](https://jm42.github.io/compare-user.js/)
|
* [pyllyukko/user.js](https://github.com/pyllyukko/user.js) [comparator](https://jm42.github.io/compare-user.js/)
|
||||||
|
|
||||||
#### Podcasts
|
### Contributions
|
||||||
* [GhoSTORIES with Franz & Pete, S2|E6, 17:05-18:40](https://anchor.fm/ghostories/episodes/S2E6-We-Talking-Ghostery-Dawn----Again-er0q02/a-a4o5vmh)
|
|
||||||
|
|
||||||
#### Contributions
|
|
||||||
* [Ghostery desktop browser](https://github.com/ghostery/user-agent-desktop/issues?q=is%3Apr+is%3Aissue+author%3Ayokoffing+)
|
* [Ghostery desktop browser](https://github.com/ghostery/user-agent-desktop/issues?q=is%3Apr+is%3Aissue+author%3Ayokoffing+)
|
||||||
* [Fingerprinting protection: Betterfox and arkenfox](https://github.com/ghostery/user-agent-desktop/issues/486) (somewhat outdated)
|
* [Fingerprinting protection: Betterfox and arkenfox](https://github.com/ghostery/user-agent-desktop/issues/486) (somewhat outdated)
|
||||||
* [Orion Browser](https://orionfeedback.org/?author=yokoffing)
|
* [Orion Browser](https://orionfeedback.org/?author=yokoffing)
|
||||||
* [Kagi Search Engine](https://kagifeedback.org/?author=yokoffing)
|
* [Kagi Search Engine](https://kagifeedback.org/?author=yokoffing)
|
||||||
|
* [Various blocklists](https://github.com/yokoffing/filterlists#contributions)
|
||||||
|
|
||||||
## Credit
|
## Credit
|
||||||
* Many thanks to the [Firefox](https://www.mozilla.org/en-US/firefox/new/) team and to the people working on [Bugzilla](https://bugzilla.mozilla.org/home), fighting for the [open web](https://docs.openwebsandbox.org/learn/ows-articles/what-is-the-open-web).
|
* Many thanks to the [Firefox](https://www.mozilla.org/en-US/firefox/new/) team and to the people working on [Bugzilla](https://bugzilla.mozilla.org/home), fighting for the [open web](https://docs.openwebsandbox.org/learn/ows-articles/what-is-the-open-web).
|
||||||
* This repository benefits from the research provided by [arkenfox](https://github.com/arkenfox/user.js). While Betterfox does not use their `user.js`, we attempt to maintain parity with it.
|
* This repository benefits from the research provided by [arkenfox](https://github.com/arkenfox/user.js). While Betterfox does not use their `user.js`, we attempt to maintain parity with it.
|
||||||
|
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
I’m a one-person operation, working in mental health and running this page as a passion project in my time off. If you enjoy my work, please leave a tip! Your support is incredibly appreciated and allows me to dedicate time to this project :blush:
|
I’m a one-person operation, running this page as a passion project in my time off. If you enjoy my work, please leave a tip! Your support is incredibly appreciated and allows me to dedicate time to this project :blush:
|
||||||
|
|
||||||
<img align="top" width="25px" src="https://coekuss.com/quietfox/bitcoin.png"> Bitcoin: 334gaiEjn6wY1VksQvYe5L668JjtPEPyiM
|
<img align="top" width="25px" src="https://coekuss.com/quietfox/bitcoin.png"> Bitcoin: 334gaiEjn6wY1VksQvYe5L668JjtPEPyiM
|
||||||
|
|
||||||
|
|||||||
+131
-80
@@ -3,7 +3,7 @@
|
|||||||
* Securefox *
|
* Securefox *
|
||||||
* "Natura non constristatur" *
|
* "Natura non constristatur" *
|
||||||
* priority: provide sensible security and privacy *
|
* priority: provide sensible security and privacy *
|
||||||
* version: 108 *
|
* version: 109 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ user_pref("browser.contentblocking.category", "strict");
|
|||||||
//user_pref("privacy.socialtracking.block_cookies.enabled", true); // DEFAULT
|
//user_pref("privacy.socialtracking.block_cookies.enabled", true); // DEFAULT
|
||||||
//user_pref("privacy.trackingprotection.cryptomining.enabled", true); // DEFAULT
|
//user_pref("privacy.trackingprotection.cryptomining.enabled", true); // DEFAULT
|
||||||
//user_pref("privacy.trackingprotection.fingerprinting.enabled", true); // DEFAULT
|
//user_pref("privacy.trackingprotection.fingerprinting.enabled", true); // DEFAULT
|
||||||
user_pref("privacy.trackingprotection.emailtracking.enabled", true); // IN BETA
|
user_pref("privacy.trackingprotection.emailtracking.enabled", true);
|
||||||
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true); // DEFAULT
|
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true); // DEFAULT
|
||||||
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.pbmode", true); // DEFAULT
|
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.pbmode", true); // DEFAULT
|
||||||
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.pbmode.top_navigation", true); // DEFAULT
|
//user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.pbmode.top_navigation", true); // DEFAULT
|
||||||
@@ -34,11 +34,13 @@ user_pref("privacy.trackingprotection.emailtracking.enabled", true); // IN BETA
|
|||||||
|
|
||||||
// PREF: query stripping
|
// PREF: query stripping
|
||||||
// Currently uses a small list [1]
|
// Currently uses a small list [1]
|
||||||
// Can set the same query stripping list that Brave uses [2]
|
// We set the same query stripping list that Brave and LibreWolf uses [2]
|
||||||
|
// If using uBlock Origin or AdGuard, use filter lists as well [3]
|
||||||
// [1] https://www.eyerys.com/articles/news/how-mozilla-firefox-improves-privacy-using-query-parameter-stripping-feature
|
// [1] https://www.eyerys.com/articles/news/how-mozilla-firefox-improves-privacy-using-query-parameter-stripping-feature
|
||||||
// [2] https://github.com/brave/brave-core/blob/f337a47cf84211807035581a9f609853752a32fb/browser/net/brave_site_hacks_network_delegate_helper.cc
|
// [2] https://github.com/brave/brave-core/blob/f337a47cf84211807035581a9f609853752a32fb/browser/net/brave_site_hacks_network_delegate_helper.cc
|
||||||
|
// [3] https://github.com/yokoffing/filterlists#url-tracking-parameters
|
||||||
//user_pref("privacy.query_stripping.enabled", true); // enabled with "Strict"
|
//user_pref("privacy.query_stripping.enabled", true); // enabled with "Strict"
|
||||||
//user_pref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oft_c oft_ck oft_d oft_id oft_ids oft_k oft_lk oft_sk oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid");
|
user_pref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oft_c oft_ck oft_d oft_id oft_ids oft_k oft_lk oft_sk oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid");
|
||||||
|
|
||||||
// PREF: allow embedded tweets, Instagram and Reddit posts, and TikTok embeds
|
// PREF: allow embedded tweets, Instagram and Reddit posts, and TikTok embeds
|
||||||
// [TEST - reddit embed] https://www.pcgamer.com/amazing-halo-infinite-bugs-are-already-rolling-in/
|
// [TEST - reddit embed] https://www.pcgamer.com/amazing-halo-infinite-bugs-are-already-rolling-in/
|
||||||
@@ -55,7 +57,7 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
|
|||||||
// [1] https://github.com/arkenfox/user.js/issues/102#issuecomment-298413904
|
// [1] https://github.com/arkenfox/user.js/issues/102#issuecomment-298413904
|
||||||
//user_pref("privacy.trackingprotection.lower_network_priority", true);
|
//user_pref("privacy.trackingprotection.lower_network_priority", true);
|
||||||
|
|
||||||
// PREF: Site Isolation (Sandboxing)
|
// PREF: Site Isolation (sandboxing)
|
||||||
// Creates operating system process-level boundaries for all sites loaded in Firefox for Desktop. Isolating each site
|
// Creates operating system process-level boundaries for all sites loaded in Firefox for Desktop. Isolating each site
|
||||||
// into a separate operating system process makes it harder for malicious sites to read another site’s private data.
|
// into a separate operating system process makes it harder for malicious sites to read another site’s private data.
|
||||||
// [1] https://hacks.mozilla.org/2021/05/introducing-firefox-new-site-isolation-security-architecture/
|
// [1] https://hacks.mozilla.org/2021/05/introducing-firefox-new-site-isolation-security-architecture/
|
||||||
@@ -63,6 +65,10 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
|
|||||||
// [3] https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/
|
// [3] https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/
|
||||||
//user_pref("fission.autostart", true); // DEFAULT
|
//user_pref("fission.autostart", true); // DEFAULT
|
||||||
|
|
||||||
|
// PREF: GPU sandbox [FF110+]
|
||||||
|
// [1] https://www.ghacks.net/2023/01/17/firefox-110-will-launch-with-gpu-sandboxing-on-windows/
|
||||||
|
//user_pref("security.sandbox.gpu.level", 1); // DEFAULT [WINDOWS]
|
||||||
|
|
||||||
// PREF: State Paritioning [aka Dynamic First-Party Isolation (dFPI)]
|
// PREF: State Paritioning [aka Dynamic First-Party Isolation (dFPI)]
|
||||||
// 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
|
||||||
@@ -96,8 +102,8 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
|
|||||||
//user_pref("privacy.partition.network_state.ocsp_cache", true); // enabled with "Strict"
|
//user_pref("privacy.partition.network_state.ocsp_cache", true); // enabled with "Strict"
|
||||||
//user_pref("privacy.partition.bloburl_per_agent_cluster", true); [REGRESSIONS]
|
//user_pref("privacy.partition.bloburl_per_agent_cluster", true); [REGRESSIONS]
|
||||||
// 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+]
|
||||||
user_pref("privacy.partition.always_partition_third_party_non_cookie_storage.exempt_sessionstorage", false); // [DEFAULT: false FF109+]
|
//user_pref("privacy.partition.always_partition_third_party_non_cookie_storage.exempt_sessionstorage", false); // [DEFAULT: false FF109+]
|
||||||
|
|
||||||
// PREF: Smartblock
|
// PREF: Smartblock
|
||||||
// [1] https://support.mozilla.org/en-US/kb/smartblock-enhanced-tracking-protection
|
// [1] https://support.mozilla.org/en-US/kb/smartblock-enhanced-tracking-protection
|
||||||
@@ -122,21 +128,11 @@ user_pref("privacy.partition.always_partition_third_party_non_cookie_storage.exe
|
|||||||
//user_pref("network.cookie.sameSite.noneRequiresSecure", true);
|
//user_pref("network.cookie.sameSite.noneRequiresSecure", true);
|
||||||
//user_pref("network.cookie.sameSite.schemeful", true); // DEFAULT 104+
|
//user_pref("network.cookie.sameSite.schemeful", true); // DEFAULT 104+
|
||||||
|
|
||||||
// PREF: enable Global Privacy Control (GPC) [NIGHTLY]
|
|
||||||
// GPC is default in Brave.
|
|
||||||
// Electronic Frontier Foundation’s (ETF) browser extensions enforce GPC.
|
|
||||||
// Honored by many highly ranked sites [2]
|
|
||||||
// [1] https://globalprivacycontrol.org/
|
|
||||||
// [2] https://github.com/arkenfox/user.js/issues/1542#issuecomment-1279823954
|
|
||||||
// [3] https://blog.mozilla.org/netpolicy/2021/10/28/implementing-global-privacy-control/
|
|
||||||
//user_pref("privacy.globalprivacycontrol.enabled", true);
|
|
||||||
//user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
|
|
||||||
|
|
||||||
// PREF: Hyperlink Auditing (click tracking).
|
// PREF: Hyperlink Auditing (click tracking).
|
||||||
//user_pref("browser.send_pings", false); // DEFAULT
|
//user_pref("browser.send_pings", false); // DEFAULT
|
||||||
|
|
||||||
// PREF: Beacon API
|
// PREF: disable Beacon API
|
||||||
// Disabling this API sometimes causes breakage:
|
// Disabling this API sometimes causes breakage
|
||||||
// [TEST] https://vercel.com/
|
// [TEST] https://vercel.com/
|
||||||
// [1] https://developer.mozilla.org/docs/Web/API/Navigator/sendBeacon
|
// [1] https://developer.mozilla.org/docs/Web/API/Navigator/sendBeacon
|
||||||
// [2] https://github.com/arkenfox/user.js/issues/1586
|
// [2] https://github.com/arkenfox/user.js/issues/1586
|
||||||
@@ -147,20 +143,21 @@ user_pref("privacy.partition.always_partition_third_party_non_cookie_storage.exe
|
|||||||
// [1] https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API#browser_compatibility
|
// [1] https://developer.mozilla.org/en-US/docs/Web/API/Battery_Status_API#browser_compatibility
|
||||||
//user_pref("dom.battery.enabled", false);
|
//user_pref("dom.battery.enabled", false);
|
||||||
|
|
||||||
// PREF: Local Storage Next Generation (LSNG) (DOMStorage)
|
|
||||||
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1286798
|
|
||||||
//user_pref("dom.storage.next_gen", true); // DEFAULT FF92+
|
|
||||||
|
|
||||||
// PREF: WebRTC Global Mute Toggles
|
|
||||||
//user_pref("privacy.webrtc.globalMuteToggles", true);
|
|
||||||
|
|
||||||
// PREF: disable UITour backend so there is no chance that a remote page can use it
|
// PREF: disable UITour backend so there is no chance that a remote page can use it
|
||||||
user_pref("browser.uitour.enabled", false);
|
user_pref("browser.uitour.enabled", false);
|
||||||
//user_pref("browser.uitour.url", "");
|
//user_pref("browser.uitour.url", "");
|
||||||
|
|
||||||
// PREF: reset remote debugging to disabled
|
// PREF: reset remote debugging to disabled
|
||||||
// https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/16222
|
// https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/16222
|
||||||
//user_pref("devtools.debugger.remote-enabled", false); // [DEFAULT: false]
|
//user_pref("devtools.debugger.remote-enabled", false); // DEFAULT
|
||||||
|
|
||||||
|
// PREF: enable Global Privacy Control (GPC) [NIGHTLY]
|
||||||
|
// Honored by many highly ranked sites [2]
|
||||||
|
// [1] https://globalprivacycontrol.org/
|
||||||
|
// [2] https://github.com/arkenfox/user.js/issues/1542#issuecomment-1279823954
|
||||||
|
// [3] https://blog.mozilla.org/netpolicy/2021/10/28/implementing-global-privacy-control/
|
||||||
|
//user_pref("privacy.globalprivacycontrol.enabled", true);
|
||||||
|
//user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: OSCP & CERTS / HPKP (HTTP Public Key Pinning) *
|
* SECTION: OSCP & CERTS / HPKP (HTTP Public Key Pinning) *
|
||||||
@@ -214,9 +211,10 @@ user_pref("security.remote_settings.crlite_filters.enabled", true);
|
|||||||
user_pref("security.pki.crlite_mode", 2);
|
user_pref("security.pki.crlite_mode", 2);
|
||||||
|
|
||||||
// PREF: enable strict pinning
|
// PREF: enable strict pinning
|
||||||
// PKP (Public Key Pinning) 0=disabled, 1=allow user MiTM (such as your antivirus), 2=strict
|
// MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE
|
||||||
// If you rely on an AV (antivirus) to protect your web browsing
|
// If you rely on an AV (antivirus) to protect your web browsing
|
||||||
// by inspecting ALL your web traffic, then leave at current default=1
|
// by inspecting ALL your web traffic, then leave at current default=1
|
||||||
|
// PKP (Public Key Pinning) 0=disabled, 1=allow user MiTM (such as your antivirus), 2=strict
|
||||||
// [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/16206
|
// [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/16206
|
||||||
user_pref("security.cert_pinning.enforcement_level", 2);
|
user_pref("security.cert_pinning.enforcement_level", 2);
|
||||||
|
|
||||||
@@ -329,9 +327,6 @@ user_pref("browser.display.use_system_colors", false);
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
// PREF: disable disk cache
|
// PREF: disable disk cache
|
||||||
// [NOTE] If you're thinking it would be more efficient to keep the browser cache instead of
|
|
||||||
// having to re-download objects for the websites you visit frequently, you're right;
|
|
||||||
// however doing so can compromise your privacy.
|
|
||||||
// [NOTE] If you think disk cache helps performance, then feel free to override this.
|
// [NOTE] If you think disk cache helps performance, then feel free to override this.
|
||||||
user_pref("browser.cache.disk.enable", false);
|
user_pref("browser.cache.disk.enable", false);
|
||||||
|
|
||||||
@@ -552,6 +547,10 @@ user_pref("network.predictor.enable-prefetch", false);
|
|||||||
// [1] https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference/browser.urlbar.trimURLs#values
|
// [1] https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference/browser.urlbar.trimURLs#values
|
||||||
//user_pref("browser.urlbar.trimURLs", false);
|
//user_pref("browser.urlbar.trimURLs", false);
|
||||||
|
|
||||||
|
// PREF: disable search terms [FF110+]
|
||||||
|
// [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);
|
||||||
|
|
||||||
// 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);
|
||||||
@@ -582,7 +581,8 @@ user_pref("browser.search.suggest.enabled", false);
|
|||||||
//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);
|
||||||
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false);
|
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false);
|
||||||
//user_pref("browser.urlbar.groupLabels.enabled", false);
|
// hide Firefox Suggest label in URL dropdown box
|
||||||
|
//user_pref("browser.urlbar.groupLabels.enabled", false);
|
||||||
|
|
||||||
// PREF: URL bar domain guessing
|
// PREF: URL bar domain guessing
|
||||||
// Domain guessing intercepts DNS "hostname not found errors" and resends a
|
// Domain guessing intercepts DNS "hostname not found errors" and resends a
|
||||||
@@ -662,10 +662,10 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true);
|
|||||||
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1642387,1660945
|
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1642387,1660945
|
||||||
// [2] https://blog.mozilla.org/attack-and-defense/2021/03/10/insights-into-https-only-mode/
|
// [2] https://blog.mozilla.org/attack-and-defense/2021/03/10/insights-into-https-only-mode/
|
||||||
//user_pref("dom.security.https_only_mode_send_http_background_request", true); // DEFAULT
|
//user_pref("dom.security.https_only_mode_send_http_background_request", true); // DEFAULT
|
||||||
//user_pref("dom.security.https_only_fire_http_request_background_timer_ms", 2000); // default=3000
|
//user_pref("dom.security.https_only_fire_http_request_background_timer_ms", 3000); // DEFAULT
|
||||||
|
|
||||||
// PREF: Enable HTTPS-Only mode for local resources
|
// PREF: disable HTTPS-Only mode for local resources
|
||||||
//user_pref("dom.security.https_only_mode.upgrade_local", true);
|
//user_pref("dom.security.https_only_mode.upgrade_local", false); // DEFAULT
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: DNS-over-HTTPS *
|
* SECTION: DNS-over-HTTPS *
|
||||||
@@ -703,22 +703,20 @@ user_pref("network.dns.skipTRR-when-parental-control-enabled", false);
|
|||||||
// PREF: DoH resolver list
|
// PREF: DoH resolver list
|
||||||
// [EXAMPLE] "[{ \"name\": \"Cloudflare\", \"url\": \"https://mozilla.cloudflare-dns.com/dns-query\" },{ \"name\": \"NextDNS\", \"url\": \"https://trr.dns.nextdns.io/\" }]"
|
// [EXAMPLE] "[{ \"name\": \"Cloudflare\", \"url\": \"https://mozilla.cloudflare-dns.com/dns-query\" },{ \"name\": \"NextDNS\", \"url\": \"https://trr.dns.nextdns.io/\" }]"
|
||||||
//user_pref("network.trr.resolvers", "[{ \"name\": \"<NAME1>\", \"url\": \"https://<URL1>\" }, { \"name\": \"<NAME2>\", \"url\": \"https://<URL2>\" }]");
|
//user_pref("network.trr.resolvers", "[{ \"name\": \"<NAME1>\", \"url\": \"https://<URL1>\" }, { \"name\": \"<NAME2>\", \"url\": \"https://<URL2>\" }]");
|
||||||
//user_pref("network.trr.resolvers", "[{ \"name\": \"<NextDNS Custom>\", \"url\": \"https://dns.nextdns.io/7ad2e5/FF_WINDOWS\" }]");
|
//user_pref("network.trr.resolvers", "[{ \"name\": \"<NextDNS Custom>\", \"url\": \"https://dns.nextdns.io/******/FF_WINDOWS\" }]");
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: ESNI / ECH *
|
* SECTION: ESNI / ECH *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
// PREF: enable Encrypted Client Hello (ECH)
|
// PREF: enable Encrypted Client Hello (ECH)
|
||||||
|
// [NOTE] HTTP already isolated with network partitioning
|
||||||
// [1] https://blog.cloudflare.com/encrypted-client-hello/
|
// [1] https://blog.cloudflare.com/encrypted-client-hello/
|
||||||
// [2] https://www.youtube.com/watch?v=tfyrVYqXQRE
|
// [2] https://www.youtube.com/watch?v=tfyrVYqXQRE
|
||||||
|
// [3] https://groups.google.com/a/chromium.org/g/blink-dev/c/KrPqrd-pO2M/m/Yoe0AG7JAgAJ
|
||||||
//user_pref("network.dns.echconfig.enabled", true);
|
//user_pref("network.dns.echconfig.enabled", true);
|
||||||
//user_pref("network.dns.use_https_rr_as_altsvc", true); // DEFAULT
|
//user_pref("network.dns.http3_echconfig.enabled", true);
|
||||||
|
//user_pref("network.dns.use_https_rr_as_altsvc", true); // DEFAULT
|
||||||
// PREF: disable HTTP Alternative Services [FF37+]
|
|
||||||
// [WHY] Already isolated by network partitioning (FF85+)
|
|
||||||
//user_pref("network.http.altsvc.enabled", false);
|
|
||||||
//user_pref("network.http.altsvc.oe", false);
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: PROXY / SOCKS / IPv6 *
|
* SECTION: PROXY / SOCKS / IPv6 *
|
||||||
@@ -952,15 +950,16 @@ user_pref("privacy.userContext.ui.enabled", true);
|
|||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
// PREF: disable WebRTC (Web Real-Time Communication)
|
// PREF: disable WebRTC (Web Real-Time Communication)
|
||||||
// Firefox uses mDNS hostname obfuscation on desktop (except Windows7/8) and the
|
// Firefox desktop uses mDNS hostname obfuscation and the private IP is never exposed until
|
||||||
// private IP is NEVER exposed, except if required in TRUSTED scenarios; i.e. after
|
// required in TRUSTED scenarios; i.e. after you grant device (microphone or camera) access
|
||||||
// you grant device (microphone or camera) access
|
|
||||||
// [SETUP-HARDEN] Test first. Windows7/8 users only: behind a proxy who never use WebRTC
|
|
||||||
// [TEST] https://browserleaks.com/webrtc
|
// [TEST] https://browserleaks.com/webrtc
|
||||||
// [1] https://groups.google.com/g/discuss-webrtc/c/6stQXi72BEU/m/2FwZd24UAQAJ
|
// [1] https://groups.google.com/g/discuss-webrtc/c/6stQXi72BEU/m/2FwZd24UAQAJ
|
||||||
// [2] https://datatracker.ietf.org/doc/html/draft-ietf-mmusic-mdns-ice-candidates#section-3.1.1
|
// [2] https://datatracker.ietf.org/doc/html/draft-ietf-mmusic-mdns-ice-candidates#section-3.1.1
|
||||||
//user_pref("media.peerconnection.enabled", false);
|
//user_pref("media.peerconnection.enabled", false);
|
||||||
|
|
||||||
|
// PREF: enable WebRTC Global Mute Toggles
|
||||||
|
//user_pref("privacy.webrtc.globalMuteToggles", true);
|
||||||
|
|
||||||
// PREF: force WebRTC inside the proxy [FF70+]
|
// PREF: force WebRTC inside the proxy [FF70+]
|
||||||
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
|
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
|
||||||
|
|
||||||
@@ -990,7 +989,7 @@ user_pref("media.peerconnection.ice.default_address_only", true);
|
|||||||
// PREF: disable all DRM content (EME: Encryption Media Extension)
|
// PREF: disable all DRM content (EME: Encryption Media Extension)
|
||||||
// EME is a JavaScript API for playing DRMed (not free) video content in HTML.
|
// EME is a JavaScript API for playing DRMed (not free) video content in HTML.
|
||||||
// A DRM component called a Content Decryption Module (CDM) decrypts, decodes, and displays the video.
|
// A DRM component called a Content Decryption Module (CDM) decrypts, decodes, and displays the video.
|
||||||
// [SETUP-WEB] e.g. Netflix, Amazon Prime, Hulu, HBO, Disney+, Showtime, Starz, DirectTV
|
// e.g. Netflix, Amazon Prime, Hulu, HBO, Disney+, Showtime, Starz, DirectTV
|
||||||
// [SETTING] General>DRM Content>Play DRM-controlled content
|
// [SETTING] General>DRM Content>Play DRM-controlled content
|
||||||
// [TEST] https://bitmovin.com/demos/drm
|
// [TEST] https://bitmovin.com/demos/drm
|
||||||
// [1] https://www.eff.org/deeplinks/2017/10/drms-dead-canary-how-we-just-lost-web-what-we-learned-it-and-what-we-need-do-next
|
// [1] https://www.eff.org/deeplinks/2017/10/drms-dead-canary-how-we-just-lost-web-what-we-learned-it-and-what-we-need-do-next
|
||||||
@@ -1017,73 +1016,111 @@ user_pref("media.peerconnection.ice.default_address_only", true);
|
|||||||
//user_pref("devtools.selfxss.count", 5);
|
//user_pref("devtools.selfxss.count", 5);
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: GOOGLE SAFE BROWSING (GSB) *
|
* SECTION: SAFE BROWSING (SB) *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
// PREF: disable GSB (master switch)
|
// A full url is never sent to Google, only a part-hash of the prefix,
|
||||||
// Increased privacy away from Google, but less protection against threats
|
// hidden with noise of other real part-hashes. Firefox takes measures such as
|
||||||
// [WARNING] Be sure to have alternate security measures if you disable GSB!
|
// stripping out identifying parameters, and since SBv4 (FF57+), doesn't even use cookies.
|
||||||
|
// (Turn on browser.safebrowsing.debug to monitor this activity)
|
||||||
|
// [1] https://feeding.cloud.geek.nz/posts/how-safe-browsing-works-in-firefox/
|
||||||
|
// [2] https://wiki.mozilla.org/Security/Safe_Browsing
|
||||||
|
// [3] https://support.mozilla.org/kb/how-does-phishing-and-malware-protection-work
|
||||||
|
// [4] https://educatedguesswork.org/posts/safe-browsing-privacy/
|
||||||
|
|
||||||
|
// PREF: disable Safe Browsing
|
||||||
|
// [WARNING] Be sure to have alternate security measures if you disable SB! Adblockers do not count!
|
||||||
// [SETTING] Privacy & Security>Security>... Block dangerous and deceptive content
|
// [SETTING] Privacy & Security>Security>... Block dangerous and deceptive content
|
||||||
// [ALTERNATIVE] Enable local checks only: https://github.com/yokoffing/Betterfox/issues/87
|
// [ALTERNATIVE] Enable local checks only: https://github.com/yokoffing/Betterfox/issues/87
|
||||||
// [1] https://github.com/privacyguides/privacyguides.org/discussions/423#discussioncomment-1752006
|
// [1] https://support.mozilla.org/en-US/kb/how-does-phishing-and-malware-protection-work#w_what-information-is-sent-to-mozilla-or-its-partners-when-phishing-and-malware-protection-is-enabled
|
||||||
// [2] https://github.com/privacyguides/privacyguides.org/discussions/423#discussioncomment-1767546
|
// [2] https://wiki.mozilla.org/Security/Safe_Browsing
|
||||||
// [3] https://ashkansoltani.org/2012/02/25/cookies-from-nowhere
|
// [3] https://developers.google.com/safe-browsing/v4
|
||||||
// [4] https://blog.cryptographyengineering.com/2019/10/13/dear-apple-safe-browsing-might-not-be-that-safe/
|
// [4] https://github.com/privacyguides/privacyguides.org/discussions/423#discussioncomment-1752006
|
||||||
// [5] https://the8-bit.com/apple-proxies-google-safe-browsing-privacy/
|
// [5] https://github.com/privacyguides/privacyguides.org/discussions/423#discussioncomment-1767546
|
||||||
// [6] https://github.com/brave/brave-browser/wiki/Deviations-from-Chromium-(features-we-disable-or-remove)#services-we-proxy-through-brave-servers
|
// [6] https://wiki.mozilla.org/Security/Safe_Browsing
|
||||||
user_pref("browser.safebrowsing.malware.enabled", false);
|
// [7] https://ashkansoltani.org/2012/02/25/cookies-from-nowhere (outdated)
|
||||||
user_pref("browser.safebrowsing.phishing.enabled", false);
|
// [8] https://blog.cryptographyengineering.com/2019/10/13/dear-apple-safe-browsing-might-not-be-that-safe/ (outdated)
|
||||||
|
// [9] https://the8-bit.com/apple-proxies-google-safe-browsing-privacy/
|
||||||
|
// [10] https://github.com/brave/brave-browser/wiki/Deviations-from-Chromium-(features-we-disable-or-remove)#services-we-proxy-through-brave-servers
|
||||||
|
//user_pref("browser.safebrowsing.malware.enabled", false); // all checks happen locally
|
||||||
|
//user_pref("browser.safebrowsing.phishing.enabled", false); // all checks happen locally
|
||||||
|
//user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
||||||
//user_pref("browser.safebrowsing.provider.google4.gethashURL", "");
|
//user_pref("browser.safebrowsing.provider.google4.gethashURL", "");
|
||||||
//user_pref("browser.safebrowsing.provider.google4.updateURL", "");
|
//user_pref("browser.safebrowsing.provider.google4.updateURL", "");
|
||||||
//user_pref("browser.safebrowsing.provider.google.gethashURL", "");
|
//user_pref("browser.safebrowsing.provider.google.gethashURL", "");
|
||||||
//user_pref("browser.safebrowsing.provider.google.updateURL", "");
|
//user_pref("browser.safebrowsing.provider.google.updateURL", "");
|
||||||
//user_pref("browser.safebrowsing.downloads.remote.url", "");
|
|
||||||
//user_pref("browser.safebrowsing.provider.google4.dataSharingURL", "");
|
|
||||||
|
|
||||||
// PREF: disable GSB checking downloads (master switch)
|
// PREF: disable SB checks for downloads
|
||||||
// This is the master switch for the safebrowsing.downloads prefs
|
// This is the master switch for the safebrowsing.downloads prefs (both local lookups + remote)
|
||||||
|
// [NOTE] Still enable this for checks to happen locally
|
||||||
// [SETTING] Privacy & Security>Security>... "Block dangerous downloads"
|
// [SETTING] Privacy & Security>Security>... "Block dangerous downloads"
|
||||||
user_pref("browser.safebrowsing.downloads.enabled", false);
|
//user_pref("browser.safebrowsing.downloads.enabled", false); // all checks happen locally
|
||||||
|
|
||||||
// PREF: disable GSB checks for downloads (remote)
|
// PREF: disable SB checks for downloads (remote)
|
||||||
// To verify the safety of certain executable files, Firefox may submit some information about the
|
// To verify the safety of certain executable files, Firefox may submit some information about the
|
||||||
// file, including the name, origin, size and a cryptographic hash of the contents, to the Google
|
// file, including the name, origin, size and a cryptographic hash of the contents, to the Google
|
||||||
// Safe Browsing service which helps Firefox determine whether or not the file should be blocked.
|
// Safe Browsing service which helps Firefox determine whether or not the file should be blocked.
|
||||||
//user_pref("browser.safebrowsing.downloads.remote.enabled", false); // DEFAULT
|
// [NOTE] If you do not understand the consequences, override this.
|
||||||
|
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
|
||||||
//user_pref("browser.safebrowsing.downloads.remote.url", "");
|
//user_pref("browser.safebrowsing.downloads.remote.url", "");
|
||||||
|
// disable SB checks for unwanted software
|
||||||
// [SETTING] Privacy & Security>Security>... "Warn you about unwanted and uncommon software"
|
// [SETTING] Privacy & Security>Security>... "Warn you about unwanted and uncommon software"
|
||||||
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
|
//user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
|
||||||
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
|
//user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
|
||||||
|
|
||||||
// PREF: disable 'ignore this warning' on GSB warnings
|
// PREF: allow user to "ignore this warning" on SB warnings
|
||||||
// If clicked, it bypasses the block for that session. This is a means for admins to enforce SB.
|
// If clicked, it bypasses the block for that session. This is a means for admins to enforce SB.
|
||||||
|
// Report false positives to [2]
|
||||||
|
// [TEST] see https://github.com/arkenfox/user.js/wiki/Appendix-A-Test-Sites#-mozilla
|
||||||
// [1] https://bugzilla.mozilla.org/1226490
|
// [1] https://bugzilla.mozilla.org/1226490
|
||||||
user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
// [2] https://safebrowsing.google.com/safebrowsing/report_general/
|
||||||
//user_pref("browser.safebrowsing.allowOverride", true); // DEFAULT
|
//user_pref("browser.safebrowsing.allowOverride", true); // DEFAULT
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: MOZILLA *
|
* SECTION: MOZILLA *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
// PREF: prevent accessibility services from accessing your browser [RESTART]
|
||||||
|
// Accessibility Service may negatively impact Firefox browsing performance
|
||||||
|
// Disable it if you’re not using any type of physical impairment assistive software
|
||||||
|
// [1] https://support.mozilla.org/kb/accessibility-services
|
||||||
|
// [2] https://www.ghacks.net/2021/08/25/firefox-tip-turn-off-accessibility-services-to-improve-performance/
|
||||||
|
// [3] https://www.troddit.com/r/firefox/comments/p8g5zd/why_does_disabling_accessibility_services_improve
|
||||||
|
// [4] https://winaero.com/firefox-has-accessibility-service-memory-leak-you-should-disable-it/
|
||||||
|
// [5] https://www.ghacks.net/2022/12/26/firefoxs-accessibility-performance-is-getting-a-huge-boost/
|
||||||
|
user_pref("accessibility.force_disabled", 1);
|
||||||
|
|
||||||
|
// PREF: disable the Accessibility panel
|
||||||
|
//user_pref("devtools.accessibility.enabled", false);
|
||||||
|
|
||||||
|
// PREF: don't focus elements on click, only on tab
|
||||||
|
// Helps to eliminate ugly 1px dotted outline
|
||||||
|
// default=1
|
||||||
|
//user_pref("accessibility.mouse_focuses_formcontrol", 0);
|
||||||
|
|
||||||
// PREF: disable Firefox accounts
|
// PREF: disable Firefox accounts
|
||||||
// [ALTERNATIVE] Use xBrowserSync
|
// [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
|
||||||
user_pref("identity.fxaccounts.enabled", false);
|
user_pref("identity.fxaccounts.enabled", false);
|
||||||
|
|
||||||
// PREF: disable Firefox View [FF106+]
|
// PREF: disable Firefox View [FF106+]
|
||||||
// [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);
|
user_pref("browser.tabs.firefox-view", false);
|
||||||
|
|
||||||
// PREF: disable Push API
|
// PREF: disable Push Notifications API [FF44+]
|
||||||
// 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.
|
||||||
|
// [WHY] Push requires subscription
|
||||||
|
// [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
|
||||||
// [3] https://www.reddit.com/r/firefox/comments/fbyzd4/the_most_private_browser_isnot_firefox/
|
// [3] https://www.reddit.com/r/firefox/comments/fbyzd4/the_most_private_browser_isnot_firefox/
|
||||||
user_pref("dom.push.enabled", false);
|
//user_pref("dom.push.enabled", false);
|
||||||
//user_pref("dom.push.userAgentID", "");
|
//user_pref("dom.push.userAgentID", "");
|
||||||
|
|
||||||
// PREF: Set a default permission for Notifications
|
// PREF: Set a default permission for Web Notifications
|
||||||
// To add site exceptions: Page Info>Permissions>Receive Notifications.
|
// To add site exceptions: Page Info>Permissions>Receive Notifications.
|
||||||
// To manage site exceptions: Options>Privacy & Security>Permissions>Notifications>Settings.
|
// To manage site exceptions: Options>Privacy & Security>Permissions>Notifications>Settings.
|
||||||
// 0=always ask (default), 1=allow, 2=block
|
// 0=always ask (default), 1=allow, 2=block
|
||||||
@@ -1118,20 +1155,34 @@ user_pref("geo.provider.use_geoclue", false); // [FF102+] [LINUX]
|
|||||||
// [SETTING] General>Firefox Updates>Check for updates but let you choose to install them
|
// [SETTING] General>Firefox Updates>Check for updates but let you choose to install them
|
||||||
//user_pref("app.update.auto", false);
|
//user_pref("app.update.auto", false);
|
||||||
|
|
||||||
|
// PREF: disable automatic extension updates
|
||||||
|
//user_pref("extensions.update.enabled", false);
|
||||||
|
|
||||||
// PREF: disable search engine updates (e.g. OpenSearch)
|
// PREF: disable search engine updates (e.g. OpenSearch)
|
||||||
// [NOTE] This does not affect Mozilla's built-in or Web Extension search engines
|
// [NOTE] This does not affect Mozilla's built-in or Web Extension search engines
|
||||||
//user_pref("browser.search.update", false);
|
//user_pref("browser.search.update", false);
|
||||||
|
|
||||||
// PREF: Disable automatic extension updates [move to Pesky]
|
|
||||||
//user_pref("extensions.update.enabled", false);
|
|
||||||
|
|
||||||
// PREF: remove special permissions for certain mozilla domains
|
// PREF: remove special permissions for certain mozilla domains
|
||||||
// [1] resource://app/defaults/permissions
|
// default = resource://app/defaults/permissions
|
||||||
user_pref("permissions.manager.defaultsUrl", "");
|
//user_pref("permissions.manager.defaultsUrl", "");
|
||||||
|
|
||||||
// PREF: remove webchannel whitelist
|
// PREF: remove webchannel whitelist
|
||||||
user_pref("webchannel.allowObject.urlWhitelist", "");
|
user_pref("webchannel.allowObject.urlWhitelist", "");
|
||||||
|
|
||||||
|
// PREF: disable mozAddonManager Web API [FF57+]
|
||||||
|
// [NOTE] To allow extensions to work on AMO, you also need 2662
|
||||||
|
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1384330,1406795,1415644,1453988
|
||||||
|
//user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); // [HIDDEN]
|
||||||
|
|
||||||
|
// PREF: remove "addons.mozilla.org" from set of domains that extensions cannot access
|
||||||
|
// [NOTE] May only work with privacy.resistfingerprinting enabled? and/or DEV/NIGHTLY-only?
|
||||||
|
// [1] https://www.reddit.com/r/firefox/comments/n1lpaf/make_addons_work_on_mozilla_sites/gwdy235/?context=3
|
||||||
|
//user_pref("extensions.webextensions.restrictedDomains", "accounts-static.cdn.mozilla.net,accounts.firefox.com,addons.cdn.mozilla.net,api.accounts.firefox.com,content.cdn.mozilla.net,discovery.addons.mozilla.org,install.mozilla.org,oauth.accounts.firefox.com,profile.accounts.firefox.com,support.mozilla.org,sync.services.mozilla.com");
|
||||||
|
|
||||||
|
// PREF: do not require signing for extensions [ESR/DEV/NIGHTLY ONLY]
|
||||||
|
// [1] https://support.mozilla.org/en-US/kb/add-on-signing-in-firefox#w_what-are-my-options-if-i-want-to-use-an-unsigned-add-on-advanced-users
|
||||||
|
//user_pref("xpinstall.signatures.required", false);
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* SECTION: TELEMETRY *
|
* SECTION: TELEMETRY *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|||||||
+8
-17
@@ -1,41 +1,32 @@
|
|||||||
//
|
|
||||||
/* Do not COPY+PASTE this file. If you do, only COPY+PASTE the user_pref itself.
|
|
||||||
*
|
|
||||||
* If you make changes to your about:config while the program is running, the
|
|
||||||
* changes will be overwritten when the application restarts.
|
|
||||||
*
|
|
||||||
* To make a change to preferences, you will have to edit the user.js file.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* Smoothfox *
|
* Smoothfox *
|
||||||
* "Faber est suae quisque fortunae" *
|
* "Faber est suae quisque fortunae" *
|
||||||
* priority: better scrolling *
|
* priority: better scrolling *
|
||||||
* version: November 2022 *
|
* version: January 2023 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
***************************************************************************************/
|
***************************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* OPTION 1: INSTANT SCROLLING (SIMPLE ADJUSTMENT) *
|
* OPTION 1: INSTANT SCROLLING (SIMPLE ADJUSTMENT) *
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
// recommended for 60hz displays
|
// recommended for 60hz+ displays
|
||||||
user_pref("general.smoothScroll", true); // DEFAULT
|
user_pref("general.smoothScroll", true); // DEFAULT
|
||||||
user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-500
|
user_pref("mousewheel.default.delta_multiplier_y", 275); // 250-400
|
||||||
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* OPTION 2: SMOOTH SCROLLING *
|
* OPTION 2: SMOOTH SCROLLING *
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
// recommended for 90hz+ displays
|
// recommended for 90hz+ displays
|
||||||
user_pref("general.smoothScroll", true); // DEFAULT
|
user_pref("general.smoothScroll", true); // DEFAULT
|
||||||
user_pref("mousewheel.default.delta_multiplier_y", 265); // 250-500
|
user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400
|
||||||
user_pref("general.smoothScroll.msdPhysics.enabled", true);
|
user_pref("general.smoothScroll.msdPhysics.enabled", true);
|
||||||
|
|
||||||
/****************************************************************************************
|
/****************************************************************************************
|
||||||
* OPTION 3: NATURAL SMOOTH SCROLLING [MODIFIED] *
|
* OPTION 3: NATURAL SMOOTH SCROLLING V3 [MODIFIED] *
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
// from https://github.com/AveYo/fox/blob/main/Natural%20Smooth%20Scrolling%20for%20user.js
|
|
||||||
// largely matches Chrome flags: Windows Scrolling Personality and Smooth Scrolling
|
|
||||||
// recommended for 120hz+ displays
|
// recommended for 120hz+ displays
|
||||||
|
// largely matches Chrome flags: Windows Scrolling Personality and Smooth Scrolling
|
||||||
|
// from https://github.com/AveYo/fox/blob/cf56d1194f4e5958169f9cf335cd175daa48d349/Natural%20Smooth%20Scrolling%20for%20user.js
|
||||||
user_pref("general.smoothScroll", true); // DEFAULT
|
user_pref("general.smoothScroll", true); // DEFAULT
|
||||||
user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
|
user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12);
|
||||||
user_pref("general.smoothScroll.msdPhysics.enabled", true);
|
user_pref("general.smoothScroll.msdPhysics.enabled", true);
|
||||||
@@ -46,5 +37,5 @@ user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2.0);
|
|||||||
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.0);
|
||||||
user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0);
|
user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0);
|
||||||
user_pref("mousewheel.default.delta_multiplier_y", 280);
|
user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-400
|
||||||
|
|
||||||
|
|||||||
+68
-53
@@ -16,20 +16,52 @@
|
|||||||
/** Enter your personal prefs below this line ***/
|
/** Enter your personal prefs below this line ***/
|
||||||
|
|
||||||
/** SETUP ON FIRST INSTALLATION ***/
|
/** SETUP ON FIRST INSTALLATION ***/
|
||||||
user_pref("network.trr.uri", "https://dns.nextdns.io/******"); // DoH
|
// Select one:
|
||||||
|
user_pref("network.trr.uri", "https://dns.nextdns.io/******/Firefox"); // DoH - NextDNS
|
||||||
|
user_pref("https://dns.controld.com/**********/firefox"); // DoH - ControlD
|
||||||
|
|
||||||
|
/** FASTFOX ***/
|
||||||
|
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
|
||||||
|
user_pref("browser.sessionstore.interval", 30000); // set minimum interval between session save operations
|
||||||
|
user_pref("gfx.webrender.compositor.force-enabled", true); // enforce
|
||||||
|
user_pref("layers.gpu-process.force-enabled", true); // enforce
|
||||||
|
user_pref("media.hardware-video-decoding.force-enabled", true); // enforce
|
||||||
|
user_pref("network.http.http3.enable", true); // disable QUIC for faster upload speeds RESET PREF
|
||||||
|
user_pref("media.av1.enabled", false); // disable AV1 to force video hardware decoding
|
||||||
|
user_pref("network.http.max-connections", 1800); // default=900
|
||||||
|
user_pref("network.http.max-persistent-connections-per-server", 9); // default=6; download connections; anything above 10 is excessive
|
||||||
|
user_pref("network.http.pacing.requests.min-parallelism", 18); // default=6
|
||||||
|
user_pref("network.dnsCacheEntries", 20000); // maximum # of DNS entries
|
||||||
|
user_pref("network.dnsCacheExpiration", 86400); // keep DNS entries for 24 hours
|
||||||
|
user_pref("network.dnsCacheExpirationGracePeriod", 240); // 4 minutes
|
||||||
|
user_pref("network.http.speculative-parallel-limit", 18); // default=6
|
||||||
|
//user_pref("network.dns.disablePrefetch", false);
|
||||||
|
//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);
|
||||||
|
user_pref("network.predictor.preresolve-min-confidence", 10);
|
||||||
|
user_pref("network.predictor.preconnect-min-confidence", 20);
|
||||||
|
user_pref("network.predictor.prefetch-min-confidence", 40);
|
||||||
|
user_pref("network.predictor.prefetch-force-valid-for", 3600);
|
||||||
|
user_pref("network.predictor.prefetch-rolling-load-count", 120);
|
||||||
|
user_pref("network.predictor.max-resources-per-entry", 250);
|
||||||
|
user_pref("network.predictor.max-uri-length", 1000);
|
||||||
|
|
||||||
/** SECUREFOX ***/
|
/** SECUREFOX ***/
|
||||||
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.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.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("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); // disable if login issue after restart
|
user_pref("privacy.clearOnShutdown.offlineApps", true); // Site Data
|
||||||
user_pref("browser.safebrowsing.provider.google4.gethashURL", ""); // extra hardening
|
user_pref("browser.safebrowsing.downloads.enabled", false); // allow SB to scan your downloads to identify suspicious files; local checks only
|
||||||
user_pref("browser.safebrowsing.provider.google4.updateURL", ""); // extra hardening
|
user_pref("browser.safebrowsing.downloads.remote.url", ""); // enforce no remote checks for downloads by SB
|
||||||
user_pref("browser.safebrowsing.provider.google.gethashURL", ""); // extra hardening
|
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.provider.google.updateURL", ""); // extra hardening
|
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.url", ""); // extra hardening
|
user_pref("browser.safebrowsing.allowOverride", false); // do not allow user to override SB
|
||||||
user_pref("browser.safebrowsing.provider.google4.dataSharingURL", ""); // extra hardening
|
user_pref("dom.push.enabled", false); // disable Push API; breaks FF Sync
|
||||||
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.mode", 3); // enable TRR (without System fallback)
|
user_pref("network.trr.mode", 3); // enable TRR (without System fallback)
|
||||||
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
|
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
|
||||||
@@ -53,7 +85,7 @@ user_pref("browser.urlbar.suggest.bookmark", false); // hide URL bar dropdown su
|
|||||||
user_pref("browser.urlbar.suggest.history", false); // hide URL bar dropdown suggestions
|
user_pref("browser.urlbar.suggest.history", false); // hide URL bar dropdown suggestions
|
||||||
user_pref("browser.urlbar.suggest.openpage", false); // hide URL bar dropdown suggestions
|
user_pref("browser.urlbar.suggest.openpage", false); // hide URL bar dropdown suggestions
|
||||||
//user_pref("browser.urlbar.suggest.searches", false); // hide URL bar dropdown suggestions (needed?)
|
//user_pref("browser.urlbar.suggest.searches", false); // hide URL bar dropdown suggestions (needed?)
|
||||||
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
|
||||||
user_pref("devtools.debugger.ui.editor-wrapping", true); // wrap lines in devtools
|
user_pref("devtools.debugger.ui.editor-wrapping", true); // wrap lines in devtools
|
||||||
@@ -63,65 +95,47 @@ user_pref("ui.key.menuAccessKey", 0); // remove underlined characters from vario
|
|||||||
user_pref("general.autoScroll", false); // disable unintentional behavior for middle click
|
user_pref("general.autoScroll", false); // disable unintentional behavior for middle click
|
||||||
user_pref("ui.SpellCheckerUnderlineStyle", 1); // dots for spell check errors
|
user_pref("ui.SpellCheckerUnderlineStyle", 1); // dots for spell check errors
|
||||||
user_pref("browser.tabs.loadInBackground", false); // CTRL+SHIFT+CLICK for background tabs; Settings>General>Tabs>"When you open a link, image or media in a new tab, switch to it immediately"
|
user_pref("browser.tabs.loadInBackground", false); // CTRL+SHIFT+CLICK for background tabs; Settings>General>Tabs>"When you open a link, image or media in a new tab, switch to it immediately"
|
||||||
user_pref("media.videocontrols.picture-in-picture.improved-video-controls.enabled", true);
|
user_pref("media.videocontrols.picture-in-picture.improved-video-controls.enabled", true); // PiP
|
||||||
user_pref("media.videocontrols.picture-in-picture.display-text-tracks.size", "small");
|
user_pref("media.videocontrols.picture-in-picture.display-text-tracks.size", "small"); // PiP
|
||||||
user_pref("image.jxl.enabled", true);
|
user_pref("image.jxl.enabled", true); // JPEG XL
|
||||||
user_pref("extensions.unifiedExtensions.enabled", false); // disable MV3 unified extensions button [FF 109+]
|
user_pref("extensions.unifiedExtensions.enabled", false); // disable MV3 unified extensions button [FF 109+]
|
||||||
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
|
||||||
|
|
||||||
/** FASTFOX ***/
|
|
||||||
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
|
|
||||||
user_pref("browser.sessionstore.interval", 30000); // set minimum interval between session save operations
|
|
||||||
user_pref("gfx.webrender.compositor.force-enabled", true); // reinforce
|
|
||||||
user_pref("layers.gpu-process.force-enabled", true); // reinforce
|
|
||||||
user_pref("media.hardware-video-decoding.force-enabled", true); // reinforce
|
|
||||||
user_pref("network.http.http3.enable", false); // disable QUIC for faster upload speeds
|
|
||||||
user_pref("media.av1.enabled", false); // disable AV1 to force video hardware decoding
|
|
||||||
user_pref("network.http.speculative-parallel-limit", 18);
|
|
||||||
//user_pref("network.dns.disablePrefetch", false);
|
|
||||||
//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);
|
|
||||||
user_pref("network.predictor.preresolve-min-confidence", 10);
|
|
||||||
user_pref("network.predictor.preconnect-min-confidence", 20);
|
|
||||||
user_pref("network.predictor.prefetch-min-confidence", 30);
|
|
||||||
user_pref("network.predictor.prefetch-force-valid-for", 3600);
|
|
||||||
user_pref("network.predictor.prefetch-rolling-load-count", 120);
|
|
||||||
user_pref("network.predictor.max-resources-per-entry", 250);
|
|
||||||
user_pref("network.predictor.max-uri-length", 1000);
|
|
||||||
|
|
||||||
/** DELETE IF NOT NIGHTLY ***/
|
/** DELETE IF NOT NIGHTLY ***/
|
||||||
user_pref("javascript.options.experimental.import_assertions", true);
|
//user_pref("layout.css.scroll-driven-animations.enabled", true); // CSS scroll-linked animations
|
||||||
user_pref("javascript.options.experimental.shadow_realms", true);
|
//user_pref("dom.security.sanitizer.enabled", true); // HTML Sanitizer API
|
||||||
user_pref("javascript.options.wasm_gc", true);
|
//user_pref("privacy.clearsitedata.cache.enabled", true); // Clear-Site-Data: "cache" header
|
||||||
user_pref("javascript.options.wasm_function_references", true);
|
//user_pref("dom.indexedDB.preprocessing", true); // indexedDB Preprocessing
|
||||||
//user_pref("javascript.options.experimental.array_grouping", true);
|
user_pref("javascript.options.experimental.shadow_realms", true); // Shadowrealms
|
||||||
//user_pref("javascript.options.experimental.enable_change_array_by_copy", true);
|
user_pref("javascript.options.wasm_gc", true); // Wasm GC
|
||||||
user_pref("cookiebanners.service.mode", 2);
|
user_pref("javascript.options.wasm_function_references", true); // Wasm Function references
|
||||||
user_pref("cookiebanners.service.mode.privateBrowsing", 1);
|
user_pref("javascript.options.experimental.import_assertions", true); // import assertions
|
||||||
user_pref("privacy.globalprivacycontrol.enabled", true);
|
user_pref("javascript.options.experimental.array_grouping", true); // Array.fromAsync JS API
|
||||||
user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
|
user_pref("cookiebanners.service.mode", 2); // block cookie banners natively
|
||||||
user_pref("privacy.userContext.enabled", false);
|
user_pref("cookiebanners.service.mode.privateBrowsing", 2); // block cookie banners natively
|
||||||
|
user_pref("privacy.globalprivacycontrol.enabled", true); // enable GPC
|
||||||
|
user_pref("privacy.globalprivacycontrol.functionality.enabled", true); // enable GPC
|
||||||
|
user_pref("privacy.userContext.enabled", false); // disable Containers
|
||||||
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("browser.urlbar.suggest.quickactions", false);
|
user_pref("network.dns.echconfig.enabled", false); // true by default on NIGHTLY
|
||||||
|
//user_pref("browser.urlbar.suggest.quickactions", false); // Quick Actions in URL bar
|
||||||
//user_pref("xpinstall.signatures.required", false); // [ESR/DEV/NIGHTLY]
|
//user_pref("xpinstall.signatures.required", false); // [ESR/DEV/NIGHTLY]
|
||||||
user_pref("extensions.webextensions.restrictedDomains", ""); // remove Mozilla restricted domains [DEV/NIGHTLY]
|
|
||||||
|
|
||||||
/** DELETE IF NOT WINDOWS ***/
|
/** DELETE IF NOT WINDOWS ***/
|
||||||
//user_pref("pdfjs.defaultZoomValue", "page-fit"); // DESKTOP; alt=125; PDF zoom level
|
user_pref("pdfjs.defaultZoomValue", "125"); // DESKTOP; alt=page-width; PDF zoom level
|
||||||
user_pref("gfx.webrender.quality.force-subpixel-aa-where-possible", true); // font improvement
|
user_pref("dom.ipc.processCount", 12); // Shared Web Content; 12-core CPU
|
||||||
|
user_pref("dom.ipc.processCount.webIsolated", 12); // per-site; Isolated Web Content; 12-core CPU
|
||||||
|
user_pref("gfx.webrender.quality.force-subpixel-aa-where-possible", true); // font improvement
|
||||||
user_pref("gfx.font_rendering.cleartype_params.rendering_mode", 5);
|
user_pref("gfx.font_rendering.cleartype_params.rendering_mode", 5);
|
||||||
user_pref("gfx.font_rendering.cleartype_params.cleartype_level", 100);
|
user_pref("gfx.font_rendering.cleartype_params.cleartype_level", 100);
|
||||||
user_pref("gfx.font_rendering.cleartype_params.force_gdi_classic_for_families", "");
|
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.cleartype_params.force_gdi_classic_max_size", 6);
|
||||||
user_pref("gfx.font_rendering.directwrite.use_gdi_table_loading", false);
|
user_pref("gfx.font_rendering.directwrite.use_gdi_table_loading", false);
|
||||||
user_pref("image.mem.decode_bytes_at_a_time", 262144); // alt=512000
|
user_pref("image.mem.decode_bytes_at_a_time", 262144); // alt=512000
|
||||||
user_pref("browser.cache.memory.capacity", 5242880);
|
user_pref("browser.cache.memory.capacity", 2097152); // fixed maximum 2 GB in memory cache
|
||||||
user_pref("browser.cache.memory.max_entry_size", 327680);
|
user_pref("browser.cache.memory.max_entry_size", 327680); // maximum size of in memory cached objects
|
||||||
user_pref("media.memory_caches_combined_limit_pc_sysmem", 40);
|
user_pref("media.memory_caches_combined_limit_pc_sysmem", 40);
|
||||||
user_pref("media.memory_caches_combined_limit_kb", 3145728);
|
user_pref("media.memory_caches_combined_limit_kb", 3145728);
|
||||||
//user_pref("font.name.serif.x-western", "Roboto Slab"); // serif font
|
//user_pref("font.name.serif.x-western", "Roboto Slab"); // serif font
|
||||||
@@ -130,4 +144,5 @@ user_pref("media.memory_caches_combined_limit_kb", 3145728);
|
|||||||
|
|
||||||
/** DELETE IF NOT macOS ***/
|
/** DELETE IF NOT macOS ***/
|
||||||
user_pref("pdfjs.defaultZoomValue", "page-width"); // LAPTOP; PDF zoom level
|
user_pref("pdfjs.defaultZoomValue", "page-width"); // LAPTOP; PDF zoom level
|
||||||
|
user_pref("app.update.auto", false); // disable auto-installing Firefox updates [NON-WINDOWS]
|
||||||
//user_pref("font.name.monospace.x-western", "SF Mono"); // monospace font
|
//user_pref("font.name.monospace.x-western", "SF Mono"); // monospace font
|
||||||
|
|||||||
@@ -10,10 +10,51 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Betterfox *
|
* Betterfox *
|
||||||
* "Ad meliora" *
|
* "Ad meliora" *
|
||||||
* version: 108 *
|
* version: 109 *
|
||||||
* url: https://github.com/yokoffing/Betterfox *
|
* url: https://github.com/yokoffing/Betterfox *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
/****************************************************************************
|
||||||
|
* SECTION: FASTFOX *
|
||||||
|
****************************************************************************/
|
||||||
|
user_pref("nglayout.initialpaint.delay", 0);
|
||||||
|
user_pref("nglayout.initialpaint.delay_in_oopif", 0);
|
||||||
|
user_pref("content.notify.interval", 100000);
|
||||||
|
user_pref("browser.startup.preXulSkeletonUI", false);
|
||||||
|
|
||||||
|
/** EXPERIMENTAL ***/
|
||||||
|
user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
||||||
|
user_pref("layout.css.animation-composition.enabled", true);
|
||||||
|
user_pref("dom.enable_web_task_scheduling", true);
|
||||||
|
|
||||||
|
/** GFX ***/
|
||||||
|
user_pref("gfx.webrender.all", true);
|
||||||
|
user_pref("gfx.webrender.precache-shaders", true);
|
||||||
|
user_pref("gfx.webrender.compositor", true);
|
||||||
|
user_pref("layers.gpu-process.enabled", true);
|
||||||
|
user_pref("media.hardware-video-decoding.enabled", true);
|
||||||
|
user_pref("gfx.canvas.accelerated", true);
|
||||||
|
user_pref("gfx.canvas.accelerated.cache-items", 32768);
|
||||||
|
user_pref("gfx.canvas.accelerated.cache-size", 4096);
|
||||||
|
user_pref("gfx.content.skia-font-cache-size", 80);
|
||||||
|
user_pref("image.cache.size", 10485760);
|
||||||
|
user_pref("image.mem.decode_bytes_at_a_time", 131072);
|
||||||
|
user_pref("image.mem.shared.unmap.min_expiration_ms", 120000);
|
||||||
|
user_pref("media.memory_cache_max_size", 1048576);
|
||||||
|
user_pref("media.memory_caches_combined_limit_kb", 2560000);
|
||||||
|
user_pref("media.cache_readahead_limit", 9000);
|
||||||
|
user_pref("media.cache_resume_threshold", 6000);
|
||||||
|
|
||||||
|
/** BROWSER CACHE ***/
|
||||||
|
user_pref("browser.cache.memory.max_entry_size", 153600);
|
||||||
|
|
||||||
|
/** NETWORK ***/
|
||||||
|
user_pref("network.buffer.cache.size", 262144);
|
||||||
|
user_pref("network.buffer.cache.count", 128);
|
||||||
|
user_pref("network.dnsCacheExpiration", 3600);
|
||||||
|
user_pref("network.dnsCacheExpirationGracePeriod", 240);
|
||||||
|
user_pref("network.ssl_tokens_cache_capacity", 32768);
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: SECUREFOX *
|
* SECTION: SECUREFOX *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -22,8 +63,7 @@ user_pref("browser.contentblocking.category", "strict");
|
|||||||
user_pref("privacy.trackingprotection.emailtracking.enabled", true);
|
user_pref("privacy.trackingprotection.emailtracking.enabled", true);
|
||||||
user_pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com");
|
user_pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com");
|
||||||
user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com");
|
user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com");
|
||||||
user_pref("privacy.partition.always_partition_third_party_non_cookie_storage", true);
|
user_pref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oft_c oft_ck oft_d oft_id oft_ids oft_k oft_lk oft_sk oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid");
|
||||||
user_pref("privacy.partition.always_partition_third_party_non_cookie_storage.exempt_sessionstorage", false);
|
|
||||||
user_pref("browser.uitour.enabled", false);
|
user_pref("browser.uitour.enabled", false);
|
||||||
|
|
||||||
/** OCSP & CERTS / HPKP ***/
|
/** OCSP & CERTS / HPKP ***/
|
||||||
@@ -109,18 +149,18 @@ user_pref("privacy.userContext.ui.enabled", true);
|
|||||||
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
|
user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
|
||||||
user_pref("media.peerconnection.ice.default_address_only", true);
|
user_pref("media.peerconnection.ice.default_address_only", true);
|
||||||
|
|
||||||
/** GOOGLE SAFE BROWSING ***/
|
/** SAFE BROWSING ***/
|
||||||
user_pref("browser.safebrowsing.malware.enabled", false);
|
user_pref("browser.safebrowsing.blockedURIs.enabled", true); // reset pref; remove in v.110
|
||||||
user_pref("browser.safebrowsing.phishing.enabled", false);
|
user_pref("browser.safebrowsing.malware.enabled", true); // reset pref; remove in v.110
|
||||||
user_pref("browser.safebrowsing.downloads.enabled", false);
|
user_pref("browser.safebrowsing.phishing.enabled", true); // reset pref; remove in v.110
|
||||||
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
|
user_pref("browser.safebrowsing.downloads.enabled", true); // reset pref; remove in v.110
|
||||||
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
|
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
|
||||||
user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
|
||||||
|
|
||||||
/** MOZILLA ***/
|
/** MOZILLA ***/
|
||||||
|
user_pref("accessibility.force_disabled", 1);
|
||||||
user_pref("identity.fxaccounts.enabled", false);
|
user_pref("identity.fxaccounts.enabled", false);
|
||||||
user_pref("browser.tabs.firefox-view", false);
|
user_pref("browser.tabs.firefox-view", false);
|
||||||
user_pref("dom.push.enabled", false);
|
user_pref("dom.push.enabled", true); // reset pref; remove in v.110
|
||||||
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("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
||||||
@@ -167,7 +207,6 @@ user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
|||||||
user_pref("layout.css.prefers-color-scheme.content-override", 2);
|
user_pref("layout.css.prefers-color-scheme.content-override", 2);
|
||||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||||
user_pref("app.update.suppressPrompts", true);
|
user_pref("app.update.suppressPrompts", true);
|
||||||
user_pref("accessibility.force_disabled", 1);
|
|
||||||
user_pref("browser.compactmode.show", true);
|
user_pref("browser.compactmode.show", true);
|
||||||
user_pref("browser.privatebrowsing.vpnpromourl", "");
|
user_pref("browser.privatebrowsing.vpnpromourl", "");
|
||||||
user_pref("extensions.getAddons.showPane", false);
|
user_pref("extensions.getAddons.showPane", false);
|
||||||
@@ -215,57 +254,13 @@ user_pref("browser.link.open_newwindow.restriction", 0);
|
|||||||
user_pref("dom.disable_window_move_resize", true);
|
user_pref("dom.disable_window_move_resize", true);
|
||||||
user_pref("browser.tabs.loadBookmarksInTabs", true);
|
user_pref("browser.tabs.loadBookmarksInTabs", true);
|
||||||
user_pref("browser.bookmarks.openInTabClosesMenu", false);
|
user_pref("browser.bookmarks.openInTabClosesMenu", false);
|
||||||
user_pref("clipboard.plainTextOnly", true);
|
|
||||||
user_pref("dom.popup_allowed_events", "click dblclick");
|
user_pref("dom.popup_allowed_events", "click dblclick");
|
||||||
user_pref("layout.css.has-selector.enabled", true);
|
user_pref("layout.css.has-selector.enabled", true);
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* SECTION: FASTFOX *
|
|
||||||
****************************************************************************/
|
|
||||||
user_pref("nglayout.initialpaint.delay", 0);
|
|
||||||
user_pref("nglayout.initialpaint.delay_in_oopif", 0);
|
|
||||||
user_pref("content.notify.interval", 360000);
|
|
||||||
user_pref("browser.startup.preXulSkeletonUI", false);
|
|
||||||
|
|
||||||
/** EXPERIMENTAL ***/
|
|
||||||
user_pref("layout.css.grid-template-masonry-value.enabled", true);
|
|
||||||
user_pref("dom.enable_web_task_scheduling", true);
|
|
||||||
user_pref("layout.css.animation-composition.enabled", true);
|
|
||||||
|
|
||||||
/** GFX ***/
|
|
||||||
user_pref("gfx.webrender.all", true);
|
|
||||||
user_pref("gfx.webrender.precache-shaders", true);
|
|
||||||
user_pref("gfx.webrender.compositor", true);
|
|
||||||
user_pref("layers.gpu-process.enabled", true);
|
|
||||||
user_pref("media.hardware-video-decoding.enabled", true);
|
|
||||||
user_pref("gfx.canvas.accelerated", true);
|
|
||||||
user_pref("gfx.canvas.accelerated.cache-items", 32768);
|
|
||||||
user_pref("gfx.canvas.accelerated.cache-size", 4096);
|
|
||||||
user_pref("gfx.content.skia-font-cache-size", 80);
|
|
||||||
user_pref("image.cache.size", 10485760);
|
|
||||||
user_pref("image.mem.decode_bytes_at_a_time", 131072);
|
|
||||||
user_pref("image.mem.shared.unmap.min_expiration_ms", 120000);
|
|
||||||
user_pref("media.memory_cache_max_size", 1048576);
|
|
||||||
user_pref("media.memory_caches_combined_limit_kb", 2560000);
|
|
||||||
user_pref("media.cache_readahead_limit", 9000);
|
|
||||||
user_pref("media.cache_resume_threshold", 6000);
|
|
||||||
|
|
||||||
/** BROWSER CACHE ***/
|
|
||||||
user_pref("browser.cache.memory.capacity", -1);
|
|
||||||
user_pref("browser.cache.memory.max_entry_size", 153600);
|
|
||||||
|
|
||||||
/** NETWORK ***/
|
|
||||||
user_pref("network.buffer.cache.size", 262144);
|
|
||||||
user_pref("network.buffer.cache.count", 128);
|
|
||||||
user_pref("network.dnsCacheEntries", 20000);
|
|
||||||
user_pref("network.dnsCacheExpiration", 3600);
|
|
||||||
user_pref("network.dnsCacheExpirationGracePeriod", 240);
|
|
||||||
user_pref("network.ssl_tokens_cache_capacity", 32768);
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* SECTION: SMOOTHFOX *
|
* SECTION: SMOOTHFOX *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
// see https://github.com/yokoffing/Betterfox/blob/master/Smoothfox.js
|
// visit https://github.com/yokoffing/Betterfox/blob/master/Smoothfox.js
|
||||||
// Enter your scrolling prefs below this line:
|
// Enter your scrolling prefs below this line:
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user