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

Compare commits

..

24 Commits

Author SHA1 Message Date
H 98c118481f add comment 2023-04-24 12:46:10 -04:00
H 1741667a66 v.112 (#160)
* remove layout.forms.reveal-password-context-menu
default v.112

* #164
Completely disable "website is now full screen" message

* preventing window changes sometimes breaks things
remove user_pref("browser.link.open_newwindow.restriction", 0);
remove user_pref("dom.disable_window_move_resize", true);
2023-04-16 16:09:29 -04:00
H d1211e5b5c Pesky 112 (#165)
* #164
Completely disable "website is now full screen" message

* check if default browser
This must have been accidentally deleted in the past?

* optional hardening: restricting window behavior

* add reference
2023-04-16 13:15:45 -04:00
H ac7b5b0fba Secure 112 (#159)
* reveal password default FF112

* version #

* add note to default-browser-agent.enabled
2023-04-16 13:14:47 -04:00
H 014fe99cf2 small updates to readme (#149) 2023-03-23 21:46:29 -04:00
H 6c03671285 Fastfox 111 (#161)
* increase http.max-connections
* increase network.http.max-persistent-connections-per-server
* add content.switch.threshold and browser.cache.disk.metadata_memory_limit
2023-03-23 20:36:02 -04:00
H 01e50884d0 overrides 111 (#156)
* overrides 111

* media.videocontrols.picture-in-picture.improved-video-controls.enabled default in v. 112

* remove GPC

* remove upcoming defaults
2023-03-23 20:33:09 -04:00
H e099257937 Secure 111 (#155)
* enable GPC

* samesite note
2023-03-23 20:29:39 -04:00
H 85d41a05b6 v.111 (#154)
* enable GPC

* add network.http.max-connections
2023-03-23 20:28:20 -04:00
Soul Spark 4527a9cf19 Replace Dead link (#163)
Replace the dead link for the `Threat Model` hyperlink
2023-03-21 12:10:07 -04:00
H 56f56f7d1b add video 2023-03-09 10:13:11 -05:00
iam-py-test 7db312b830 open web link (#157) 2023-03-03 10:56:37 -05:00
yokoffing 0a49cceca4 add user comment 2023-03-01 15:03:50 -05:00
yokoffing 419096e029 add Articles section 2023-02-26 15:23:04 -05:00
yokoffing b17905359a v.110 (#150)
* layout.forms.reveal-password-context-menu.enabled

* remove reset prefs from last version

* remove browser.pagethumbnails.capturing_disabled
Page thumbnails are only used in chrome/privileged contexts

* remove browser.startup.blankWindow

* move dom.popup_allowed_events to optional

* HTTPS-First for Normal Browsing

* Remove network.dns.skipTRR-when-parental-control-enabled
* Remove user_pref("browser.display.use_system_colors", false);
* Remove user_pref("network.dns.disablePrefetchFromHTTPS", true); (Default pref)

* remove dnsCacheExpiration prefs
These are overridden by the DNS resolver, especially if using TRR.

* Enable insecure connection text

* reset dom.popup_allowed_events 
Unintended breakage
2023-02-20 19:49:13 -05:00
yokoffing 6695266de5 Fast 110 (#148)
* DASH playback note

* upload speed fix (optional)

* image.avif.sequence.enabled

* comment out dnsCache prefs

* Canvas2D issue on some Windows devices
https://github.com/yokoffing/Betterfox/issues/153
2023-02-20 19:47:04 -05:00
yokoffing 02abcccca4 overrides 110 (#144)
* WebGPU

* add font gamma

* comment out gamma

* change browser.sessionstore.interval

* change TRR mode for macbook

* Translation [testing]

* remove unused translations options

* network.trr.disable-ECS

* Animated AVIF

* comment out WebGPU (sandboxed?)

* comment out JPEG XL

* wording

* remove HTTPS-only/first

* signon.rememberSignons

* comment out some nightly prefs

* Update user-overrides.js

* enable browser.tabs.loadInBackground

* add minor notes
2023-02-20 19:45:06 -05:00
yokoffing 5228abe8bc Pesky 110 (#146)
* Unified Extensions button [REMOVED IN FF111+]

* moved accessibility.mouse_focuses_formcontrol from Secure

* browser.in-content.dark-mode removed in FF 76
https://hg.mozilla.org/mozilla-central/rev/8d9a9fb00162

* dom.popup_allowed_events to optional
2023-02-20 19:44:44 -05:00
yokoffing 6dc12c39d1 Secure 110 (#145)
* update Fission description

* reveal password settings

* DoH additonal options

* move accessibility.mouse_focuses_formcontrol to Pesky

* remove browser.startup.blankWindow

* Comment out HTTPS_only
* Comment out network.dns.skipTRR-when-parental-control-enabled
* Comment out user_pref("browser.display.use_system_colors", false);
* Comment out user_pref("network.dns.disablePrefetchFromHTTPS", true); (Default pref)

* Enable insecure connection text
2023-02-20 19:43:07 -05:00
yokoffing 07c7bbe6ba phrasing 2023-02-07 08:04:45 -05:00
bestplayerbot bdf392b895 Change Better-Fox to Betterfox (#152) 2023-02-05 13:46:27 -05:00
yokoffing 885a60390c small edits to README (#142)
* remove two words

* adblock

* add to suggestions
2023-01-20 12:56:04 -05:00
yokoffing 213e6f15db a word 2023-01-18 16:36:41 -05:00
yokoffing a1284a1653 README updates (#138)
* Spruce up README
2023-01-18 16:31:07 -05:00
7 changed files with 212 additions and 192 deletions
+36 -18
View File
@@ -3,7 +3,7 @@
* Fastfox * * Fastfox *
* "Non ducor duco" * * "Non ducor duco" *
* priority: speedy browsing * * priority: speedy browsing *
* version: 109 * * version: 111 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
***************************************************************************************/ ***************************************************************************************/
@@ -16,7 +16,6 @@
//user_pref("dom.ipc.processCount", 8); // DEFAULT; Shared Web Content //user_pref("dom.ipc.processCount", 8); // DEFAULT; Shared Web Content
//user_pref("dom.ipc.processCount.webIsolated", 4); // per-site; DEFAULT; Isolated 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
@@ -42,23 +41,28 @@ user_pref("nglayout.initialpaint.delay_in_oopif", 0); // default=5
// 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.
// The default value provides good incremental display of content // The default value provides good incremental display of content
// without causing an increase in page load time. // without causing an increase in page load time.
// [NOTE] Lowering the interval will decrease the PERCEIVED page load time (user experience?) // [NOTE] Lowering the interval will increase responsiveness
// but increase the TOTAL loading time (benchmarks?). // but also increase the total load time.
// [NOTE] Slower connections will want lower value (100000).
// 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 // [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 // [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
// [2] https://dev.opera.com/articles/efficient-javascript/?page=3#reflow // [2] https://dev.opera.com/articles/efficient-javascript/?page=3#reflow
// [3] https://dev.opera.com/articles/efficient-javascript/?page=3#smoothspeed // [3] https://dev.opera.com/articles/efficient-javascript/?page=3#smoothspeed
user_pref("content.notify.interval", 100000); // alt=360000 (.36s) user_pref("content.notify.interval", 100000); // (.10s); alt=500000 (.50s)
// PREF: frequency switch threshold [HIDDEN]
// Raising the value will make the application more responsive at the expense of page load time.
// [1] http://kb.mozillazine.org/Content.switch.threshold
// [2] https://old.reddit.com/r/firefox/comments/11m2yuh/comment/jbjxp8s/?context=3
//user_pref("content.interrupt.parsing", true); // [HIDDEN]
//user_pref("content.switch.threshold", 1000000); // alt=1500000; default=750000; [HIDDEN]
// 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
// [1] https://bugzilla.mozilla.org/1304389 // [1] https://bugzilla.mozilla.org/1304389
//user_pref("browser.sessionstore.interval", 30000); // [DEFAULT: 15000] // default=15000 (15s)
//user_pref("browser.sessionstore.interval", 30000); // (30s)
// PREF: control how tabs are loaded when a session is restored // PREF: control how tabs are loaded when a session is restored
// true=Tabs are not loaded until they are selected (default) // true=Tabs are not loaded until they are selected (default)
@@ -142,6 +146,10 @@ user_pref("dom.enable_web_task_scheduling", true);
//user_pref("dom.webgpu.enabled", true); //user_pref("dom.webgpu.enabled", true);
//user_pref("gfx.webgpu.force-enabled", true); //user_pref("gfx.webgpu.force-enabled", true);
// PREF: Animated AVIF [NIGHTLY]
// [1] https://codecalamity.com/animated-avif-is-finally-coming-to-firefox/
//user_pref("image.avif.sequence.enabled", true);
/**************************************************************************** /****************************************************************************
* SECTION: MAKE FIREFOX FAST * * SECTION: MAKE FIREFOX FAST *
* [NOTE] The following is not recommended for low-end machines * * [NOTE] The following is not recommended for low-end machines *
@@ -176,9 +184,11 @@ user_pref("media.hardware-video-decoding.enabled", true);
//user_pref("gfx.webrender.software.opengl", true); // [LINUX] //user_pref("gfx.webrender.software.opengl", true); // [LINUX]
//user_pref("media.ffmpeg.vaapi.enabled", true); // [LINUX] //user_pref("media.ffmpeg.vaapi.enabled", true); // [LINUX]
// PREF: GPU-accelerated Canvas2D tweaks // PREF: GPU-accelerated Canvas2D
// [WARNING] May break PDF rendering on Surface Pro devices [2]
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1739448 // [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1739448
user_pref("gfx.canvas.accelerated", true); // [2] https://github.com/yokoffing/Betterfox/issues/153
user_pref("gfx.canvas.accelerated", true); // DEFAULT on macOS and Linux v.110
user_pref("gfx.canvas.accelerated.cache-items", 32768); user_pref("gfx.canvas.accelerated.cache-items", 32768);
user_pref("gfx.canvas.accelerated.cache-size", 4096); user_pref("gfx.canvas.accelerated.cache-size", 4096);
user_pref("gfx.content.skia-font-cache-size", 80); user_pref("gfx.content.skia-font-cache-size", 80);
@@ -194,7 +204,7 @@ user_pref("media.memory_caches_combined_limit_kb", 2560000); // preferred=314572
//user_pref("media.memory_caches_combined_limit_pc_sysmem", 20); // default=5 //user_pref("media.memory_caches_combined_limit_pc_sysmem", 20); // default=5
// PREF: decrease video buffering // PREF: decrease video buffering
// [NOTE] Does not affect YouTube since it uses DASH playback [1] // [NOTE] Does not affect videos over 720p since they use DASH playback [1]
// [1] https://lifehacker.com/preload-entire-youtube-videos-by-disabling-dash-playbac-1186454034 // [1] https://lifehacker.com/preload-entire-youtube-videos-by-disabling-dash-playbac-1186454034
//user_pref("media.cache_size", 2048000); // default=512000 //user_pref("media.cache_size", 2048000); // default=512000
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
@@ -215,11 +225,12 @@ user_pref("media.cache_resume_threshold", 6000); // default=30; when a network c
// More efficient to keep the browser cache instead of // More efficient to keep the browser cache instead of
// having to re-download objects for the websites you visit frequently // having to re-download objects for the websites you visit frequently
//user_pref("browser.cache.disk.enable", true); // DEFAULT; overrides Securefox //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", 1048576); // 1 GB disk cache; 8192000 = 8 GB
//user_pref("browser.cache.disk.smart_size.enabled", false); // disable adaptive cache size on disk //user_pref("browser.cache.disk.smart_size.enabled", false); // disable adaptive cache size on disk
//user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT //user_pref("browser.cache.disk.max_entry_size", 51200); // DEFAULT
//user_pref("browser.cache.disk.metadata_memory_limit", 1024); // increase the memory capacity in Firefox, in order to load more pages, faster
//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.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) //user_pref("browser.cache.frecency_half_life_hours", 6); // DEFAULT; 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/
@@ -239,20 +250,27 @@ user_pref("network.buffer.cache.count", 128); // preferred=240; default=24
// PREF: increase the absolute number of HTTP connections // PREF: increase the absolute number of HTTP connections
// [1] https://kb.mozillazine.org/Network.http.max-connections // [1] https://kb.mozillazine.org/Network.http.max-connections
// [2] https://kb.mozillazine.org/Network.http.max-persistent-connections-per-server // [2] https://kb.mozillazine.org/Network.http.max-persistent-connections-per-server
//user_pref("network.http.max-connections", 1800); // default=900 // [3] https://old.reddit.com/r/firefox/comments/11m2yuh/how_do_i_make_firefox_use_more_of_my_900_megabit/jbfmru6/
//user_pref("network.http.max-persistent-connections-per-server", 9); // default=6; download connections; anything above 10 is excessive user_pref("network.http.max-connections", 1800); // default=900
user_pref("network.http.max-persistent-connections-per-server", 10); // default=6; download connections; anything above 10 is excessive
//user_pref("network.http.max-persistent-connections-per-proxy", 48); // default=32 //user_pref("network.http.max-persistent-connections-per-proxy", 48); // default=32
//user_pref("network.http.max-urgent-start-excessive-connections-per-host", 6); // default=3 //user_pref("network.http.max-urgent-start-excessive-connections-per-host", 6); // default=3
//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
// [NOTE] May be overridden by DNS resolver, especially if using TRR
//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); // 4 minutes //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; more TLS token caching (fast reconnects) user_pref("network.ssl_tokens_cache_capacity", 32768); // default=2048; more TLS token caching (fast reconnects)
// PREF: temporary fix for upload speed in Firefox
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1596576
//user_pref("network.http.http2.send-buffer-size", 33554432);
//user_pref("network.http.http2.push-allowance", 33554432);
/**************************************************************************** /****************************************************************************
* SECTION: SPECULATIVE CONNECTIONS * * SECTION: SPECULATIVE CONNECTIONS *
****************************************************************************/ ****************************************************************************/
+17 -18
View File
@@ -3,7 +3,7 @@
* Peskyfox * * Peskyfox *
* "Aquila non capit muscas" * * "Aquila non capit muscas" *
* priority: remove annoyances * * priority: remove annoyances *
* version: 109 * * version: 112 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
***************************************************************************/ ***************************************************************************/
@@ -11,16 +11,6 @@
* SECTION: MOZILLA UI * * SECTION: MOZILLA UI *
****************************************************************************/ ****************************************************************************/
// PREF: enable a Light theme for browser and webpage content
// [TEST] https://9to5mac.com/
//user_pref("ui.systemUsesDarkTheme", 0); // HIDDEN
//user_pref("browser.in-content.dark-mode", false); // HIDDEN
// PREF: enable a Dark theme for browser and webpage content
// [TEST] https://9to5mac.com/
//user_pref("ui.systemUsesDarkTheme", 1); // HIDDEN
//user_pref("browser.in-content.dark-mode", true); // HIDDEN
// PREF: choose what theme Firefox follows by default // PREF: choose what theme Firefox follows by default
// Dark (0), Light (1), System (2), or Browser (3) (default) // Dark (0), Light (1), System (2), or Browser (3) (default)
// [1] https://www.reddit.com/r/firefox/comments/rfj6yc/how_to_stop_firefoxs_dark_theme_from_overriding/hoe82i5/?context=3 // [1] https://www.reddit.com/r/firefox/comments/rfj6yc/how_to_stop_firefoxs_dark_theme_from_overriding/hoe82i5/?context=3
@@ -44,6 +34,10 @@ user_pref("browser.privatebrowsing.vpnpromourl", "");
user_pref("extensions.getAddons.showPane", false); // HIDDEN user_pref("extensions.getAddons.showPane", false); // HIDDEN
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
// PREF: disable Firefox from asking to set as the default browser
// [1] https://github.com/yokoffing/Betterfox/issues/166
user_pref("browser.shell.checkDefaultBrowser", false);
// PREF: disable Extension Recommendations (CFR: "Contextual Feature Recommender") // PREF: disable Extension Recommendations (CFR: "Contextual Feature Recommender")
// [1] https://support.mozilla.org/en-US/kb/extension-recommendations // [1] https://support.mozilla.org/en-US/kb/extension-recommendations
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
@@ -58,9 +52,6 @@ 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 [FF109+]
//user_pref("extensions.unifiedExtensions.enabled", 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);
@@ -70,7 +61,7 @@ user_pref("browser.tabs.tabmanager.enabled", false);
// PREF: disable fullscreen delay and notice // PREF: disable fullscreen delay and notice
user_pref("full-screen-api.transition-duration.enter", "0 0"); user_pref("full-screen-api.transition-duration.enter", "0 0");
user_pref("full-screen-api.transition-duration.leave", "0 0"); user_pref("full-screen-api.transition-duration.leave", "0 0");
user_pref("full-screen-api.warning.delay", 0); user_pref("full-screen-api.warning.delay", -1);
user_pref("full-screen-api.warning.timeout", 0); user_pref("full-screen-api.warning.timeout", 0);
// PREF: disable welcome notices // PREF: disable welcome notices
@@ -90,6 +81,12 @@ user_pref("findbar.highlightAll", true);
// [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);
// PREF: attempt to remove ugly border drawn around links when clicked
//user_pref("accessibility.mouse_focuses_formcontrol", 0);
// The above should work, but you may need to add:
//user_pref("browser.display.focus_ring_style", 0);
//user_pref("browser.display.focus_ring_width", 0);
// 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);
@@ -345,7 +342,7 @@ user_pref("browser.download.open_pdf_attachments_inline", true);
// 0 = force all new windows opened by JavaScript into tabs // 0 = force all new windows opened by JavaScript into tabs
// [NOTE] Most advertising popups also open in new windows with values set // [NOTE] Most advertising popups also open in new windows with values set
// [1] https://kb.mozillazine.org/About:config_entries // [1] https://kb.mozillazine.org/About:config_entries
user_pref("browser.link.open_newwindow.restriction", 0); //user_pref("browser.link.open_newwindow.restriction", 0);
// PREF: override <browser.link.open_newwindow> for external links // PREF: override <browser.link.open_newwindow> for external links
// Set if a different destination for external links is needed // Set if a different destination for external links is needed
@@ -383,7 +380,7 @@ user_pref("browser.tabs.loadBookmarksInTabs", true);
user_pref("browser.bookmarks.openInTabClosesMenu", false); user_pref("browser.bookmarks.openInTabClosesMenu", false);
// PREF: Prevent scripts from moving and resizing open windows // PREF: Prevent scripts from moving and resizing open windows
user_pref("dom.disable_window_move_resize", true); //user_pref("dom.disable_window_move_resize", true);
// PREF: insert new tabs after groups like it // PREF: insert new tabs after groups like it
// true(default) = open new tabs to the right of the parent tab // true(default) = open new tabs to the right of the parent tab
@@ -410,7 +407,7 @@ user_pref("dom.disable_window_move_resize", true);
// Firefox provides an option to provide exceptions for sites, remembered in your Site Settings. // Firefox provides an option to provide exceptions for sites, remembered in your Site Settings.
// (default) "change click dblclick auxclick mouseup pointerup notificationclick reset submit touchend contextmenu" // (default) "change click dblclick auxclick mouseup pointerup notificationclick reset submit touchend contextmenu"
// (alternate) user_pref("dom.popup_allowed_events", "click dblclick mousedown pointerdown"); // (alternate) user_pref("dom.popup_allowed_events", "click dblclick mousedown pointerdown");
user_pref("dom.popup_allowed_events", "click dblclick"); //user_pref("dom.popup_allowed_events", "click dblclick");
//user_pref("dom.disable_open_during_load", true); // DEFAULT //user_pref("dom.disable_open_during_load", true); // DEFAULT
//user_pref("privacy.popups.showBrowserMessage", true); // DEFAULT //user_pref("privacy.popups.showBrowserMessage", true); // DEFAULT
@@ -517,3 +514,5 @@ user_pref("layout.css.has-selector.enabled", true);
// [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1800412 // [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/ // [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); //user_pref("dom.ipc.processPriorityManager.backgroundUsesEcoQoS", false);
+47 -51
View File
@@ -1,19 +1,14 @@
[![GitHub issues](https://img.shields.io/github/issues/yokoffing/BetterFox)](https://github.com/yokoffing/Better-Fox/issues) ![GitHub Maintained](https://img.shields.io/badge/open%20source-yes-orange)
[![GitHub closed issues](https://badgen.net/github/closed-issues/yokoffing/Betterfox?color=green)](https://github.com/yokoffing/Betterfox/issues?q=is%3Aissue+is%3Aclosed) ![GitHub Maintained](https://img.shields.io/badge/maintained-yes-yellow)
![GitHub repo size](https://img.shields.io/github/repo-size/yokoffing/Betterfox) [![GitHub closed issues](https://badgen.net/github/closed-issues/yokoffing/Betterfox?color=purple)](https://github.com/yokoffing/Betterfox/issues?q=is%3Aissue+is%3Aclosed)
![GitHub](https://img.shields.io/github/license/yokoffing/Betterfox?color=blue) [![Visitors](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fyokoffing%2FBetter-Fox&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=visitors&edge_flat=false)](https://hits.seeyoufarm.com)
![GitHub Maintained](https://img.shields.io/badge/Open%20Source-Yes-green)
![GitHub commit activity](https://img.shields.io/github/commit-activity/y/yokoffing/Betterfox)
![GitHub last commit](https://img.shields.io/github/last-commit/yokoffing/Betterfox)
![GitHub Maintained](https://img.shields.io/badge/maintained-yes-green)
[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fyokoffing%2FBetter-Fox&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com)
# Betterfox # Betterfox
about:config tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/firefox/new/ "Firefox Homepage"). Files are updated as needed for your [user.js](http://kb.mozillazine.org/User.js_file). about:config tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/firefox/new/ "Firefox Homepage"). Files are updated as needed for your [user.js](http://kb.mozillazine.org/User.js_file).
## Who is this setup for? ## Made for everyday browsing
**If you want a secure, blazing fast browsing experience, and don't want to deal with breakage, this setup is for you.** The objective is to make the defaults sufficient enough for the average privacy-minded user, but remain trouble-free enough that my grandmother could use it. <strike>(That puts a whole new twist on being a foxy grandma!)</strike> Edit: Sorry for the dad joke 😓 **A secure, blazing fast browsing experience. Without breakage.** The objective is to make the defaults sufficient enough for the average privacy-minded user, but remain trouble-free enough that my grandmother could use it. <strike>(That puts a whole new twist on being a foxy grandma!)</strike> Edit: Sorry for the dad joke 😓
## Simple goals ## Simple goals
@@ -26,55 +21,64 @@ about:config tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/f
| List | Description | | List | Description |
|:---------:|-------------| |:---------:|-------------|
| [Securefox](https://github.com/yokoffing/Betterfox/blob/master/Securefox.js) | Remove Telemetry, Mozilla experiments, Google Safe Browsing, and search engine suggestions in URL bar. Auto-upgrade mixed content to HTTPS. Various privacy enhancements. |
| [Peskyfox](https://github.com/yokoffing/Betterfox/blob/master/Peskyfox.js) | Unclutter the new tab page. Remove Pocket and form autofill. Prevent Firefox from serving annoying webpage notifications. |
| [Fastfox](https://github.com/yokoffing/Betterfox/blob/master/Fastfox.js) | Immensely increase Firefox's browsing speed. Give Chrome a run for its money!| | [Fastfox](https://github.com/yokoffing/Betterfox/blob/master/Fastfox.js) | Immensely increase Firefox's browsing speed. Give Chrome a run for its money!|
| [Smoothfox](https://github.com/yokoffing/Betterfox/blob/master/Smoothfox.js) | Get Microsoft Edge-like smooth scrolling on your favorite browser. | | [Securefox](https://github.com/yokoffing/Betterfox/blob/master/Securefox.js) | Telemetry blocked. [HTTPS-by-Default](https://blog.mozilla.org/security/2021/08/10/firefox-91-introduces-https-by-default-in-private-browsing/). [Total Cookie Protection](https://blog.mozilla.org/security/2021/02/23/total-cookie-protection/) with [site isolation](https://blog.mozilla.org/security/2021/05/18/introducing-site-isolation-in-firefox/). Enhanced [state](https://developer.mozilla.org/en-US/docs/Web/Privacy/State_Partitioning) and [network](https://blog.mozilla.org/security/2021/01/26/supercookie-protections/) partitioning. Various other enhancements. |
| [user.js](https://github.com/yokoffing/Betterfox/blob/master/user.js) | All the essentials. None of the breakage. Users may download this list as their own user.js. | | [Peskyfox](https://github.com/yokoffing/Betterfox/blob/master/Peskyfox.js) | Unclutter the new tab page. Remove [Pocket](https://support.mozilla.org/en-US/kb/what-pocket). Restore [compact mode](https://support.mozilla.org/en-US/kb/compact-mode-workaround-firefox) as an option. Stop webpage notifications, pop-ups, and other annoyances. |
| [Smoothfox](https://github.com/yokoffing/Betterfox/blob/master/Smoothfox.js) | Get Edge-like smooth scrolling on your favorite browser — or choose something more your style. |
| [user.js](https://github.com/yokoffing/Betterfox/blob/master/user.js) | All the essentials. None of the breakage. This is your `user.js`. |
:bulb: `Securefox`, `Peskyfox`, `Fastfox`, and `Smoothfox` are guides to relevant prefs in Firefox. The `user.js` is curated from the prefs located in these documents, so just because a pref is in one of the guides doesn't mean it is included in the final document, the `user.js`. Please use the descriptions and references as a guide for the prefs in Firefox, and open a [feature request](https://github.com/yokoffing/Betterfox/issues/new/choose) if you think one can be improved upon. :bulb: `Fastfox`, `Securefox`, `Peskyfox`, and `Smoothfox` are guides to relevant prefs in Firefox. The `user.js` is curated from the options located in these documents. Please read the guides to understand the various options hidden in Firefox.
## about:Privacy ## about:Privacy
The guiding principle is: "If it breaks it, it doesn't make it!" So things like WebGL and DRM are still enabled, and you won't find a setting like `privacy.resistFingerprinting` mentioned here ([why?](https://old.reddit.com/r/firefox/comments/wuqpgi/are_there_any_aboutconfig_tweaks_to_get_smooth/ile3whx/?context=3)). Betterfox is designed to set-and-forget, not to troubleshoot and tinker. You can compare different user.js files [here](https://jm42.github.io/compare-user.js). Most repos have niche privacy and security concerns with little regard for speed, annoyances, or mainstream use. Betterfox was inspired by the [law of diminishing returns](https://pmctraining.com/site/wp-content/uploads/2018/04/Law-of-Diminishing-Returns-CHART.png) and the [minimum effective dose](https://medium.com/the-mission/less-is-more-the-minimum-effective-dose-e6d56625931e). For instance, features like WebGL and DRM are still enabled, and you won't find a setting like `privacy.resistFingerprinting` mentioned here<sup>^[*why?*](https://old.reddit.com/r/firefox/comments/wuqpgi/are_there_any_aboutconfig_tweaks_to_get_smooth/ile3whx/?context=3)</sup>. And while Betterfox is designed to set-and-forget, it contains plenty of options for those who like to tinker.
Betterfox was created with a [less is more](https://medium.com/the-mission/less-is-more-the-minimum-effective-dose-e6d56625931e) mentality (i.e., keeping in mind [the law of diminishing returns](https://pmctraining.com/site/wp-content/uploads/2018/04/Law-of-Diminishing-Returns-CHART.png)). Most repos I've encountered have niche privacy and security concerns with little regard for speed, annoyances, or mainstream use. The average user doesn't need all `prefs` altered to get the results they want. If your context calls for _anonymity_ and not just reasonable _privacy_, then please use [Tor Browser](https://www.torproject.org).<sup>[1](https://youtu.be/5NrbdO4yWek?t=4334)</sup> [Fingerprinting](https://smartframe.io/blog/browser-fingerprinting-everything-you-need-to-know/) is a high [threat model](https://thenewoil.org/en/guides/prologue/threatmodel/) issue that is [only addressed reasonably by Tor](https://github.com/arkenfox/user.js/wiki/3.3-Overrides-%5BTo-RFP-or-Not%5D).
## Assumptions ## Assumptions
If you use any of the features below, please view the [common overrides](https://github.com/yokoffing/Betterfox/issues/87) sticky to restore functionality. Apply preferences from the [common overrides](https://github.com/yokoffing/Betterfox/issues/87) sticky if you want to revert the following behavior:
* **Google Safe Browsing** (GSB) is disabled. We recommend use DNS-level protection like [NextDNS](https://nextdns.io/?from=xujj63g5), so check out our configuration guide [here](https://github.com/yokoffing/NextDNS-Config). :warning: If you have no other form of protection, then please enable GSB! * Firefox **Accessibility Service** is disabled to improve resource utilization and security. Override this if you use assistive software.
* Firefox **Accessibility Service** is disabled to improve resource utilization and security. This will impact external application autofill capability (the ability to use a keyboard shortcut to fill in forms including logins) and screen readers. If you use assistive software, override this. * **Embedded tweets, instagram, reddit posts, and tiktoks** load on webpages, even though these requests are usually blocked when using [Strict Enhanced Tracking Protection](https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop#w_strict-enhanced-tracking-protection).
* The native **password manager** is also disabled. If you don't use something like [KeePass](https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/), [Bitwarden](https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/), or [1Password](https://addons.mozilla.org/en-US/firefox/addon/1password-x-password-manager), then enable Firefox's password management. * The native **password manager** is disabled. We recommend using [KeePass](https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/), [Bitwarden](https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/), or [1Password](https://addons.mozilla.org/en-US/firefox/addon/1password-x-password-manager).
* **Embedded tweets, instagram, reddit posts, and tiktoks** load on webpages, even though these requests are usually blocked when using Firefox's [Strict Enhanced Tracking Protection](https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop#w_strict-enhanced-tracking-protection).
* **Firefox Sync** and **Firefox View** are disabled. * **Firefox Sync** and **Firefox View** are disabled.
* **Site notifications** are disabled. * **Location requests** are rejected and **site notifications** are disabled.
* **Location requests** are rejected.
* Since Firefox implemented [state](https://github.com/yokoffing/Betterfox/blob/537eb902106f5cacebfd7a77555193ba4573dc6e/SecureFox.js#L73-L88) and [network](https://github.com/yokoffing/Betterfox/blob/537eb902106f5cacebfd7a77555193ba4573dc6e/SecureFox.js#L93-L100) **partitioning**, it is recommended but no longer necessary to clear browsing data after every session.
* [Fingerprinting](https://smartframe.io/blog/browser-fingerprinting-everything-you-need-to-know/) is a high [threat model](https://thenewoil.org/threatmodel.html) issue and is only addressed reasonably by TOR.<sup>[1](https://youtu.be/5NrbdO4yWek?t=4334)</sup> If your threat level calls for _anonymity_ and not just reasonable _privacy_, then please use the [TOR browser](https://www.torproject.org).
## Mentions ### Suggestions
* Enable **sanitize on close** ([clear browsing data on shutdown](https://github.com/yokoffing/Betterfox/blob/99f2e860633f307781ddb73d792358ad1bec6af5/Securefox.js#L409-L434)).
* You can **allow exceptions** if you want to stay logged in to some sites:
1) Go to *Settings → Privacy & Security → Cookies and Site Data → Manage Exceptions*
2) Check *Delete cookies and site data when Firefox is closed*.
* Use [uBlock Origin](https://addons.mozilla.org/blog/ublock-origin-everything-you-need-to-know-about-the-ad-blocker/) or [Ghostery](https://addons.mozilla.org/en-US/firefox/addon/ghostery/) to block ads and trackers.
* Add DNS-level protection like [NextDNS](https://nextdns.io/?from=xujj63g5). Check out our configuration guide [here](https://github.com/yokoffing/NextDNS-Config).
### Reddit ## Recognition
- User comments: ### 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/browsers/comments/y7w57n/which_browser_do_you_use_on_your_devices/it30hqi/?context=3) [2](https://old.reddit.com/r/browsers/comments/y7w57n/which_browser_do_you_use_on_your_devices/it30hqi/?context=3)
[3](https://www.troddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy0kru3) [3](https://old.reddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy0kru3)
[4](https://www.troddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz) [4](https://old.reddit.com/r/firefox/comments/z5auzi/firefox_not_properly_usingrecognizing_gpu_poor/iy36hyz)
[5](https://old.reddit.com/r/firefox/comments/1030fri/why_does_firefox_feel_slowchoppy/j2wu4ow/) [5](https://old.reddit.com/r/firefox/comments/1030fri/why_does_firefox_feel_slowchoppy/j2wu4ow/)
[6](https://old.reddit.com/r/pcmasterrace/comments/zwioe1/what_browser_will_you_be_using_in_2023_please/j1wmbxo/) [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) [7](https://old.reddit.com/r/firefox/comments/zodxzx/performance_optimizations_for_firefox/j0memta/?context=2)
[8](https://old.reddit.com/r/browsers/comments/106qwyk/in_contrast_to_previous_post_what_do_you_like/j3irpx0/?context=2)
[9](https://old.reddit.com/r/firefox/comments/115va7d/list_of_aboutconfiguserjs_privacy_tweaks/j9700bc/?context=2)
[10](https://old.reddit.com/r/browsers/comments/11q6je7/is_block_or_snoof_browser_fingerprint_better/jc2mhcx/?context=2)
### 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 Private Browser](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 Private Browser](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>
### YouTube ### YouTube
* [I Hate Firefox. But I'm Still Switching Back to It.](https://www.youtube.com/watch?v=w0SJFED5xK0) (Nov 2022) * [Firefox is NOT private. Here's how to fix it.](https://youtu.be/Fr8UFJzpNls) (Mar 2023)
* [I Hate Firefox. But I'm Still Switching Back to It.](https://youtu.be/w0SJFED5xK0?t=220) (Nov 2022)
* [Español] [Optimizar y Acelerar Firefox](https://www.youtube.com/watch?v=3XtoONmq5_Q) (Nov 2022) * [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) * [How To Improve Firefox Performance](https://www.youtube.com/watch?v=N8IOJiOFVEk) (Dec 2021)
### Podcasts ### 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) * [GhoSTORIES with Franz & Pete](https://anchor.fm/ghostories/episodes/S2E6-We-Talking-Ghostery-Dawn----Again-er0q02/a-a4o5vmh), S2|E6, 17:05-18:40 (Feb 2021)
### Browser Integration ### Articles
* [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) * [2023 Browser Showdown: Comparing Chrome, Brave, Firefox, Vivaldi, and Opera Is it Worth the Switch?](https://www.appdate.lk/technology/2023-browser-showdown/)
* [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>
### 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)
@@ -83,22 +87,14 @@ If you use any of the features below, please view the [common overrides](https:/
* [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/)
### Contributions ### Contributions
* [Ghostery desktop browser](https://github.com/ghostery/user-agent-desktop/issues?q=is%3Apr+is%3Aissue+author%3Ayokoffing+) * [Ghostery Private 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)
* [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) * [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://builtin.com/software-engineering-perspectives/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 ongoing research provided by [arkenfox](https://github.com/arkenfox/user.js). They are the foundation to any worthwhile `user.js`.
## Support
Im 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="20px" src="https://coekuss.com/quietfox/paypal.png"> PayPal: [paypal.me](about:blank) (forthcoming)
<div align='center'><a href='https://www.websitecounterfree.com'><img src='https://www.websitecounterfree.com/c.php?d=9&id=19653&s=1' border='0' alt='Free Website Counter'></a><br / > <div align='center'><a href='https://www.websitecounterfree.com'><img src='https://www.websitecounterfree.com/c.php?d=9&id=19653&s=1' border='0' alt='Free Website Counter'></a><br / >
<div align='center'>23 July 2022</div> <div align='center'>since 23 July 2022</div>
+64 -43
View File
@@ -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: 109 * * version: 112 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
****************************************************************************/ ****************************************************************************/
@@ -57,9 +57,12 @@ 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) [FF100+]
// Creates operating system process-level boundaries for all sites loaded in Firefox for Desktop. Isolating each site // Site Isolation builds upon a new security architecture that extends current
// into a separate operating system process makes it harder for malicious sites to read another sites private data. // protection mechanisms by separating (web) content and loading each site
// in its own operating system process. This new security architecture allows
// Firefox to completely separate code originating from different sites and, in turn,
// defend against malicious sites trying to access sensitive information from other sites you are visiting.
// [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/
// [2] https://hacks.mozilla.org/2022/05/improved-process-isolation-in-firefox-100/ // [2] https://hacks.mozilla.org/2022/05/improved-process-isolation-in-firefox-100/
// [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/
@@ -126,7 +129,7 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
// [2] https://web.dev/samesite-cookies-explained/ // [2] https://web.dev/samesite-cookies-explained/
//user_pref("network.cookie.sameSite.laxByDefault", true); //user_pref("network.cookie.sameSite.laxByDefault", true);
//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);
// PREF: Hyperlink Auditing (click tracking). // PREF: Hyperlink Auditing (click tracking).
//user_pref("browser.send_pings", false); // DEFAULT //user_pref("browser.send_pings", false); // DEFAULT
@@ -153,11 +156,16 @@ user_pref("browser.uitour.enabled", false);
// PREF: enable Global Privacy Control (GPC) [NIGHTLY] // PREF: enable Global Privacy Control (GPC) [NIGHTLY]
// Honored by many highly ranked sites [2] // Honored by many highly ranked sites [2]
// [1] https://globalprivacycontrol.org/ // [TEST] https://global-privacy-control.glitch.me/
// [1] https://globalprivacycontrol.org/press-release/20201007.html
// [2] https://github.com/arkenfox/user.js/issues/1542#issuecomment-1279823954 // [2] https://github.com/arkenfox/user.js/issues/1542#issuecomment-1279823954
// [3] https://blog.mozilla.org/netpolicy/2021/10/28/implementing-global-privacy-control/ // [3] https://blog.mozilla.org/netpolicy/2021/10/28/implementing-global-privacy-control/
//user_pref("privacy.globalprivacycontrol.enabled", true); // [4] https://help.duckduckgo.com/duckduckgo-help-pages/privacy/gpc/
//user_pref("privacy.globalprivacycontrol.functionality.enabled", true); // [5] https://brave.com/web-standards-at-brave/4-global-privacy-control/
// [6] https://www.eff.org/gpc-privacy-badger
// [7] https://www.eff.org/issues/do-not-track
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) *
@@ -305,7 +313,7 @@ user_pref("security.tls.enable_0rtt_data", false); // disable 0 RTT to improve t
// PREF: disable showing about:blank as soon as possible during startup [FF60+] // PREF: disable showing about:blank as soon as possible during startup [FF60+]
// When default true this no longer masks the RFP chrome resizing activity // When default true this no longer masks the RFP chrome resizing activity
// [1] https://bugzilla.mozilla.org/1448423 // [1] https://bugzilla.mozilla.org/1448423
user_pref("browser.startup.blankWindow", false); //user_pref("browser.startup.blankWindow", false);
// PREF: disable ICC color management // PREF: disable ICC color management
// Use a color calibrator for best results [WINDOWS] // Use a color calibrator for best results [WINDOWS]
@@ -313,7 +321,7 @@ user_pref("browser.startup.blankWindow", false);
// [SETTING] General>Language and Appearance>Fonts and Colors>Colors>Use system colors // [SETTING] General>Language and Appearance>Fonts and Colors>Colors>Use system colors
// default=false NON-WINDOWS // default=false NON-WINDOWS
// [1] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/3.5/ICC_color_correction_in_Firefox // [1] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/3.5/ICC_color_correction_in_Firefox
user_pref("browser.display.use_system_colors", false); //user_pref("browser.display.use_system_colors", false);
// PREF: enforce non-native widget theme // PREF: enforce non-native widget theme
// Security: removes/reduces system API calls, e.g. win32k API [1] // Security: removes/reduces system API calls, e.g. win32k API [1]
@@ -350,7 +358,8 @@ user_pref("browser.sessionstore.privacy_level", 2);
//user_pref("browser.helperApps.deleteTempFileOnExit", true); // DEFAULT [FF108] //user_pref("browser.helperApps.deleteTempFileOnExit", true); // DEFAULT [FF108]
// PREF: disable page thumbnails capturing // PREF: disable page thumbnails capturing
user_pref("browser.pagethumbnails.capturing_disabled", true); // [HIDDEN PREF] // Page thumbnails are only used in chrome/privileged contexts
//user_pref("browser.pagethumbnails.capturing_disabled", true); // [HIDDEN PREF]
// PREF: disable automatic Firefox start and session restore after reboot [WINDOWS] // PREF: disable automatic Firefox start and session restore after reboot [WINDOWS]
// [1] https://bugzilla.mozilla.org/603903 // [1] https://bugzilla.mozilla.org/603903
@@ -473,7 +482,7 @@ user_pref("browser.places.speculativeConnect.enabled", false);
// [3] https://www.keycdn.com/blog/resource-hints#2-dns-prefetching // [3] https://www.keycdn.com/blog/resource-hints#2-dns-prefetching
// [4] http://www.mecs-press.org/ijieeb/ijieeb-v7-n5/IJIEEB-V7-N5-2.pdf // [4] http://www.mecs-press.org/ijieeb/ijieeb-v7-n5/IJIEEB-V7-N5-2.pdf
user_pref("network.dns.disablePrefetch", true); user_pref("network.dns.disablePrefetch", true);
user_pref("network.dns.disablePrefetchFromHTTPS", true); // enforce DEFAULT //user_pref("network.dns.disablePrefetchFromHTTPS", true); // DEFAULT
// PREF: Preload <link rel=preload> // PREF: Preload <link rel=preload>
// This tells the browser that the resource should be loaded as part of the current navigation // This tells the browser that the resource should be loaded as part of the current navigation
@@ -594,9 +603,9 @@ user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false);
//user_pref("browser.fixup.alternate.enabled", false); // [DEFAULT FF104+] //user_pref("browser.fixup.alternate.enabled", false); // [DEFAULT FF104+]
// PREF: display "Not Secure" text on HTTP sites // PREF: display "Not Secure" text on HTTP sites
// No longer needed with HTTPS-Only // Needed with HTTPS-First Policy; not needed with HTTPS-Only Mode
//user_pref("security.insecure_connection_text.enabled", true); user_pref("security.insecure_connection_text.enabled", true);
//user_pref("security.insecure_connection_text.pbmode.enabled", true); user_pref("security.insecure_connection_text.pbmode.enabled", true);
// PREF: Disable location bar autofill // PREF: Disable location bar autofill
// https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox#w_url-autocomplete // https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox#w_url-autocomplete
@@ -623,10 +632,13 @@ user_pref("network.IDN_show_punycode", true);
// [NOTE] HTTPS-Only Mode needs to be disabled for HTTPS First to work. // [NOTE] HTTPS-Only Mode needs to be disabled for HTTPS First to work.
// [TEST] http://example.com [upgrade] // [TEST] http://example.com [upgrade]
// [TEST] http://httpforever.com/ [no upgrade] // [TEST] http://httpforever.com/ [no upgrade]
// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1704453 // [1] https://blog.mozilla.org/security/2021/08/10/firefox-91-introduces-https-by-default-in-private-browsing/
// [2] https://web.dev/why-https-matters/ // [2] https://brave.com/privacy-updates/22-https-by-default/
// [3] https://www.cloudflare.com/learning/ssl/why-use-https/ // [3] https://github.com/brave/adblock-lists/blob/master/brave-lists/https-upgrade-exceptions-list.txt
//user_pref("dom.security.https_first", true); // [4] https://web.dev/why-https-matters/
// [5] https://www.cloudflare.com/learning/ssl/why-use-https/
user_pref("dom.security.https_first", true);
//user_pref("dom.security.https_first_pbm", true); // DEFAULT //user_pref("dom.security.https_first_pbm", true); // DEFAULT
/****************************************************************************** /******************************************************************************
@@ -646,11 +658,12 @@ user_pref("network.IDN_show_punycode", true);
// [4] https://www.cloudflare.com/learning/ssl/why-use-https/ // [4] https://www.cloudflare.com/learning/ssl/why-use-https/
// PREF: enable HTTPS-only Mode // PREF: enable HTTPS-only Mode
user_pref("dom.security.https_only_mode", true); //user_pref("dom.security.https_only_mode_pbm", true); // Private Browsing only
//user_pref("dom.security.https_only_mode", true); // Normal + Private Browsing
// PREF: Offer suggestion for HTTPS site when available // PREF: offer suggestion for HTTPS site when available
// [1] https://nitter.winscloud.net/leli_gibts_scho/status/1371458534186057731 // [1] https://nitter.winscloud.net/leli_gibts_scho/status/1371458534186057731
user_pref("dom.security.https_only_mode_error_page_user_suggestions", true); //user_pref("dom.security.https_only_mode_error_page_user_suggestions", true);
// PREF: HTTP background requests in HTTPS-only Mode // PREF: HTTP background requests in HTTPS-only Mode
// When attempting to upgrade, if the server doesn't respond within 3 seconds[=default time], // When attempting to upgrade, if the server doesn't respond within 3 seconds[=default time],
@@ -676,21 +689,36 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true);
// [NOTE] You can set this to 0 if you are already using secure DNS for your entire network (e.g. OS-level, router-level). // [NOTE] You can set this to 0 if you are already using secure DNS for your entire network (e.g. OS-level, router-level).
// [1] https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/ // [1] https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/
// [2] https://www.internetsociety.org/blog/2018/12/dns-privacy-support-in-mozilla-firefox/ // [2] https://www.internetsociety.org/blog/2018/12/dns-privacy-support-in-mozilla-firefox/
// 0=off, 2=TRR preferred, 3=TRR only, 5=TRR disabled // 0=off, 2=TRR preferred (with System fallback), 3=TRR only (without System fallback), 5=TRR disabled
//user_pref("network.trr.mode", 2); // enable TRR (with System fallback)
//user_pref("network.trr.mode", 3); // enable TRR (without System fallback) //user_pref("network.trr.mode", 3); // enable TRR (without System fallback)
// PREF: DoH resolver // PREF: DoH resolver
// You will type between the "" for both prefs.
// I recommend creating your own URI with NextDNS for both privacy and security.
// https://nextdns.io
// [1] https://github.com/uBlockOrigin/uBlock-issues/issues/1710 // [1] https://github.com/uBlockOrigin/uBlock-issues/issues/1710
//user_pref("network.trr.uri", "https://xxxx/dns-query"); //user_pref("network.trr.uri", "https://xxxx/dns-query");
//user_pref("network.trr.custom_uri", "https://xxxx/dns-query"); //user_pref("network.trr.custom_uri", "https://xxxx/dns-query");
user_pref("network.dns.skipTRR-when-parental-control-enabled", false);
//user_pref("network.trr.confirmationNS", "skip"); // skip undesired DOH test connection
// PREF: enable Oblivious DoH // PREF: EDNS Client Subnet DNS extension (ECS support and DNSSEC validation)
// When set to false, TRR asks the resolver to enable EDNS Client Subnet (ECS).
// [NOTE] Change back to true if you find that some websites don't resolve.
// This is usually due to misconfiguration on the part of the domain owner.
//user_pref("network.trr.disable-ECS", false);
// PREF: DNS Rebind Protection
// Set to true to allow RFC 1918 private addresses in TRR responses
//user_pref("network.trr.allow-rfc1918", false); // DEFAULT
// PREF: Assorted Options
//user_pref("network.trr.confirmationNS", "skip"); // skip undesired DOH test connection
//user_pref("network.dns.skipTRR-when-parental-control-enabled", false); // bypass parental controls when using DoH
//user_pref("network.trr.skip-AAAA-when-not-supported", true); DEFAULT; If Firefox detects that your system does not have IPv6 connectivity, it will not request IPv6 addresses from the DoH server
//user_pref("network.trr.clear-cache-on-pref-change", true); // DEFAULT; DNS+TRR cache will be cleared when a relevant TRR pref changes
//user_pref("network.trr.wait-for-portal", false); // DEFAULT; set this to true to tell Firefox to wait for the captive portal detection before TRR is used
// PREF: DOH exlcusions
//user_pref("network.trr.excluded-domains", ""); // DEFAULT; comma-separated list of domain names to be resolved using the native resolver instead of TRR. This pref can be used to make /etc/hosts works with DNS over HTTPS in Firefox.
//user_pref("network.trr.builtin-excluded-domains", "localhost,local"); // DEFAULT; comma-separated list of domain names to be resolved using the native resolver instead of TRR
// PREF: enable Oblivious DoH setup (Cloudfare)
// [1] https://blog.cloudflare.com/oblivious-dns/ // [1] https://blog.cloudflare.com/oblivious-dns/
// [2] https://www.reddit.com/r/firefox/comments/xc9y4g/how_to_enable_oblivious_doh_odoh_for_enhanced_dns/ // [2] https://www.reddit.com/r/firefox/comments/xc9y4g/how_to_enable_oblivious_doh_odoh_for_enhanced_dns/
//user_pref("network.trr.mode", 3); //user_pref("network.trr.mode", 3);
@@ -700,11 +728,6 @@ user_pref("network.dns.skipTRR-when-parental-control-enabled", false);
//user_pref("network.trr.odoh.target_path", "dns-query"); //user_pref("network.trr.odoh.target_path", "dns-query");
//user_pref("network.trr.odoh.proxy_uri", "https://odoh1.surfdomeinen.nl/proxy"); //user_pref("network.trr.odoh.proxy_uri", "https://odoh1.surfdomeinen.nl/proxy");
// PREF: DoH resolver list
// [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\": \"<NextDNS Custom>\", \"url\": \"https://dns.nextdns.io/******/FF_WINDOWS\" }]");
/****************************************************************************** /******************************************************************************
* SECTION: ESNI / ECH * * SECTION: ESNI / ECH *
******************************************************************************/ ******************************************************************************/
@@ -820,9 +843,9 @@ user_pref("signon.rememberSignons", false);
// [1] https://www.ghacks.net/2020/05/18/firefox-77-wont-truncate-text-exceeding-max-length-to-address-password-pasting-issues/ // [1] https://www.ghacks.net/2020/05/18/firefox-77-wont-truncate-text-exceeding-max-length-to-address-password-pasting-issues/
user_pref("editor.truncate_user_pastes", false); user_pref("editor.truncate_user_pastes", false);
// PREF: show Reveal Password icon // PREF: Reveal Password
//user_pref("layout.forms.reveal-password-button.enabled", true); //user_pref("layout.forms.reveal-password-button.enabled", true); // show icon
//user_pref("layout.forms.reveal-password-context-menu.enabled", false); // DEFAULT //user_pref("layout.forms.reveal-password-context-menu.enabled", true); // right-click menu option; DEFAULT FF112
/**************************************************************************** /****************************************************************************
* SECTION: ADDRESS + CREDIT CARD MANAGER * * SECTION: ADDRESS + CREDIT CARD MANAGER *
@@ -993,6 +1016,7 @@ user_pref("media.peerconnection.ice.default_address_only", true);
// [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
// [2] https://old.reddit.com/r/firefox/comments/10gvplf/comment/j55htc7
//user_pref("media.eme.enabled", false); //user_pref("media.eme.enabled", false);
// Optionally, hide the setting which also disables the DRM prompt: // Optionally, hide the setting which also disables the DRM prompt:
//user_pref("browser.eme.ui.enabled", false); //user_pref("browser.eme.ui.enabled", false);
@@ -1093,11 +1117,6 @@ user_pref("accessibility.force_disabled", 1);
// PREF: disable the Accessibility panel // PREF: disable the Accessibility panel
//user_pref("devtools.accessibility.enabled", false); //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 [1] // [ALTERNATIVE] Use xBrowserSync [1]
// [1] https://addons.mozilla.org/en-US/firefox/addon/xbs // [1] https://addons.mozilla.org/en-US/firefox/addon/xbs
@@ -1246,6 +1265,8 @@ user_pref("network.captive-portal-service.enabled", false);
user_pref("network.connectivity-service.enabled", false); user_pref("network.connectivity-service.enabled", false);
// PREF: software that continually reports what default browser you are using // PREF: software that continually reports what default browser you are using
// [WARNING] Breaks "Make Default..." button in Preferences to set Firefox as the default browser [1].
// [1] https://github.com/yokoffing/Betterfox/issues/166
user_pref("default-browser-agent.enabled", false); user_pref("default-browser-agent.enabled", false);
// PREF: "report extensions for abuse" // PREF: "report extensions for abuse"
+4 -4
View File
@@ -8,12 +8,12 @@
*/ */
/**************************************************************************** /****************************************************************************
* BetterFox - LibreWolf overrides (beta) * * Betterfox - LibreWolf overrides (beta) *
* Quis custodiet ipsos custodes * * Quis custodiet ipsos custodes *
* version: November 2022 * * version: November 2022 *
* url: https://github.com/yokoffing/Better-Fox * * url: https://github.com/yokoffing/Betterfox *
* license: https://github.com/yokoffing/Better-Fox/blob/master/LICENSE * * license: https://github.com/yokoffing/Betterfox/blob/master/LICENSE *
* README: https://github.com/yokoffing/Better-Fox/blob/master/README.md * * README: https://github.com/yokoffing/Betterfox/blob/master/README.md *
****************************************************************************/ ****************************************************************************/
// Where do I find my librewolf.overrides.cfg? https://librewolf.net/docs/settings/#where-do-i-find-my-librewolfoverridescfg // Where do I find my librewolf.overrides.cfg? https://librewolf.net/docs/settings/#where-do-i-find-my-librewolfoverridescfg
+31 -31
View File
@@ -18,18 +18,15 @@
/** SETUP ON FIRST INSTALLATION ***/ /** SETUP ON FIRST INSTALLATION ***/
// Select one: // Select one:
user_pref("network.trr.uri", "https://dns.nextdns.io/******/Firefox"); // DoH - NextDNS user_pref("network.trr.uri", "https://dns.nextdns.io/******/Firefox"); // DoH - NextDNS
user_pref("https://dns.controld.com/**********/firefox"); // DoH - ControlD user_pref("https://dns.controld.com/******"); // DoH - ControlD
/** FASTFOX ***/ /** FASTFOX ***/
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true); user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
user_pref("browser.sessionstore.interval", 30000); // set minimum interval between session save operations user_pref("browser.sessionstore.interval", 50000); // 5 min.; set minimum interval between session save operations
user_pref("gfx.webrender.compositor.force-enabled", true); // enforce user_pref("gfx.webrender.compositor.force-enabled", true); // enforce
user_pref("layers.gpu-process.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("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("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.http.pacing.requests.min-parallelism", 18); // default=6
user_pref("network.dnsCacheEntries", 20000); // maximum # of DNS entries user_pref("network.dnsCacheEntries", 20000); // maximum # of DNS entries
user_pref("network.dnsCacheExpiration", 86400); // keep DNS entries for 24 hours user_pref("network.dnsCacheExpiration", 86400); // keep DNS entries for 24 hours
@@ -43,7 +40,7 @@ user_pref("network.predictor.enable-prefetch", true);
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); user_pref("network.predictor.preresolve-min-confidence", 10);
user_pref("network.predictor.preconnect-min-confidence", 20); user_pref("network.predictor.preconnect-min-confidence", 20);
user_pref("network.predictor.prefetch-min-confidence", 40); user_pref("network.predictor.prefetch-min-confidence", 30);
user_pref("network.predictor.prefetch-force-valid-for", 3600); user_pref("network.predictor.prefetch-force-valid-for", 3600);
user_pref("network.predictor.prefetch-rolling-load-count", 120); user_pref("network.predictor.prefetch-rolling-load-count", 120);
user_pref("network.predictor.max-resources-per-entry", 250); user_pref("network.predictor.max-resources-per-entry", 250);
@@ -52,23 +49,21 @@ user_pref("network.predictor.enable-hover-on-ssl", true);
/** 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("browser.urlbar.groupLabels.enabled", false); // hide Firefox Suggest label in URL dropdown box
//user_pref("signon.rememberSignons", false); // Privacy & Security>Logins and Passwords>Ask to save logins and passwords for websites
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); // Site Data user_pref("privacy.clearOnShutdown.offlineApps", true); // Site Data
user_pref("browser.safebrowsing.downloads.enabled", false); // allow SB to scan your downloads to identify suspicious files; local checks only user_pref("browser.safebrowsing.downloads.enabled", false); // deny SB to scan downloads to identify suspicious files; local checks only
user_pref("browser.safebrowsing.downloads.remote.url", ""); // enforce no remote checks for downloads by SB user_pref("browser.safebrowsing.downloads.remote.url", ""); // enforce no remote checks for downloads by SB
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); // clean up UI; not needed in user.js if remote downloads are disabled user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); // clean up UI; not needed in user.js if remote downloads are disabled
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); // clean up UI; not needed in user.js if remote downloads are disabled user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); // clean up UI; not needed in user.js if remote downloads are disabled
user_pref("browser.safebrowsing.allowOverride", false); // do not allow user to override SB user_pref("browser.safebrowsing.allowOverride", false); // do not allow user to override SB
user_pref("dom.push.enabled", false); // disable Push API; breaks FF Sync 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.confirmationNS", "skip"); // skip TRR confirmation request
user_pref("network.notify.checkForProxies", false); // skip proxy request check user_pref("network.notify.checkForProxies", false); // skip proxy request check
// HTTPS-First instead of HTTPS-only user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
user_pref("dom.security.https_only_mode", false); // disable in user.js user_pref("network.trr.disable-ECS", false); // TRR asks the resolver to enable EDNS Client Subnet (ECS support); set to true if some websites don't resolve
user_pref("dom.security.https_first", true); // HTTPS-First instead of HTTPS-only
/** PESKYFOX ***/ /** PESKYFOX ***/
user_pref("devtools.accessibility.enabled", false); // removes annoying "Inspect Accessibility Properties" on right-click user_pref("devtools.accessibility.enabled", false); // removes annoying "Inspect Accessibility Properties" on right-click
@@ -94,11 +89,8 @@ user_pref("pdfjs.sidebarViewOnLoad", 2); // [HIDDEN] force showing of Table of C
user_pref("ui.key.menuAccessKey", 0); // remove underlined characters from various settings user_pref("ui.key.menuAccessKey", 0); // remove underlined characters from various settings
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); // PiP
user_pref("media.videocontrols.picture-in-picture.display-text-tracks.size", "small"); // PiP user_pref("media.videocontrols.picture-in-picture.display-text-tracks.size", "small"); // PiP
user_pref("image.jxl.enabled", true); // JPEG XL
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
@@ -107,42 +99,50 @@ user_pref("reader.parse-on-load.enabled", false); // disable reader mode
//user_pref("layout.css.scroll-driven-animations.enabled", true); // CSS scroll-linked animations //user_pref("layout.css.scroll-driven-animations.enabled", true); // CSS scroll-linked animations
//user_pref("dom.security.sanitizer.enabled", true); // HTML Sanitizer API //user_pref("dom.security.sanitizer.enabled", true); // HTML Sanitizer API
//user_pref("privacy.clearsitedata.cache.enabled", true); // Clear-Site-Data: "cache" header //user_pref("privacy.clearsitedata.cache.enabled", true); // Clear-Site-Data: "cache" header
//user_pref("dom.indexedDB.preprocessing", true); // indexedDB Preprocessing user_pref("dom.indexedDB.preprocessing", true); // indexedDB Preprocessing
user_pref("javascript.options.experimental.shadow_realms", true); // Shadowrealms //user_pref("javascript.options.experimental.shadow_realms", true); // Shadowrealms
user_pref("javascript.options.wasm_gc", true); // Wasm GC //user_pref("javascript.options.wasm_gc", true); // Wasm GC
user_pref("javascript.options.wasm_function_references", true); // Wasm Function references //user_pref("javascript.options.wasm_function_references", true); // Wasm Function references
user_pref("javascript.options.experimental.import_assertions", true); // import assertions //user_pref("javascript.options.experimental.import_assertions", true); // import assertions
user_pref("javascript.options.experimental.array_grouping", true); // Array.fromAsync JS API //user_pref("javascript.options.experimental.array_grouping", true); // Array.fromAsync JS API
//user_pref("image.jxl.enabled", true); // JPEG XL
user_pref("image.avif.sequence.enabled", true); // Animated AVIF
//user_pref("extensions.translations.disabled", false); // Language Translation; still needs Firefox Translations add-on
user_pref("cookiebanners.service.mode", 2); // block cookie banners natively user_pref("cookiebanners.service.mode", 2); // block cookie banners natively
user_pref("cookiebanners.service.mode.privateBrowsing", 2); // block cookie banners natively user_pref("cookiebanners.service.mode.privateBrowsing", 2); // block cookie banners natively in PB mode
user_pref("privacy.globalprivacycontrol.enabled", true); // enable GPC user_pref("privacy.userContext.enabled", false); // disable Containers functionality
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("network.dns.echconfig.enabled", false); // true by default on NIGHTLY
//user_pref("browser.urlbar.suggest.quickactions", false); // Quick Actions in URL bar //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]
// EncryptedClientHello
user_pref("network.dns.echconfig.enabled", false); // disable ECH (waiting on support); ControlD will require a root CA installation to work
//user_pref("network.dns.http3_echconfig.enabled", true); // disable ECH (waiting on support); ControlD will require a root CA installation to work
/** DELETE IF NOT WINDOWS ***/ /** DELETE IF NOT WINDOWS DESKTOP ***/
user_pref("network.trr.mode", 3); // enable TRR (without System fallback)
user_pref("pdfjs.defaultZoomValue", "125"); // DESKTOP; alt=page-width; PDF zoom level user_pref("pdfjs.defaultZoomValue", "125"); // DESKTOP; alt=page-width; PDF zoom level
//user_pref("dom.webgpu.enabled", true); // enable WebGPU
//user_pref("gfx.webgpu.force-enabled", true); // enable WebGPU
user_pref("dom.ipc.processCount", 12); // Shared Web Content; 12-core CPU 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("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.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("gfx.font_rendering.cleartype_params.gamma", 898); // 1000-2200; https://www.reddit.com/r/firefox/comments/10ed7o2/comment/j4qar9y/
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", 2097152); // fixed maximum 2 GB in memory cache user_pref("browser.cache.memory.capacity", 2097152); // fixed maximum 2 GB in memory cache
user_pref("browser.cache.memory.max_entry_size", 327680); // maximum size of in memory cached objects 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
//user_pref("font.name.sans-serif.x-western", "Roboto"); // sans-serif font //user_pref("font.name.sans-serif.x-western", "Roboto"); // sans-serif font
//user_pref("font.name.monospace.x-western", "Fira Code"); // monospace font //user_pref("font.name.monospace.x-western", "Fira Code"); // monospace font
/** DELETE IF NOT macOS ***/ /** DELETE IF NOT macOS LAPTOP ***/
user_pref("network.trr.mode", 2); // enable TRR (with System fallback)
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("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 -24
View File
@@ -10,7 +10,7 @@
/**************************************************************************** /****************************************************************************
* Betterfox * * Betterfox *
* "Ad meliora" * * "Ad meliora" *
* version: 109 * * version: 112 *
* url: https://github.com/yokoffing/Betterfox * * url: https://github.com/yokoffing/Betterfox *
****************************************************************************/ ****************************************************************************/
@@ -51,8 +51,8 @@ user_pref("browser.cache.memory.max_entry_size", 153600);
/** NETWORK ***/ /** NETWORK ***/
user_pref("network.buffer.cache.size", 262144); user_pref("network.buffer.cache.size", 262144);
user_pref("network.buffer.cache.count", 128); user_pref("network.buffer.cache.count", 128);
user_pref("network.dnsCacheExpiration", 3600); user_pref("network.http.max-connections", 1800);
user_pref("network.dnsCacheExpirationGracePeriod", 240); user_pref("network.http.max-persistent-connections-per-server", 10);
user_pref("network.ssl_tokens_cache_capacity", 32768); user_pref("network.ssl_tokens_cache_capacity", 32768);
/**************************************************************************** /****************************************************************************
@@ -65,6 +65,8 @@ user_pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twim
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.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");
user_pref("browser.uitour.enabled", false); user_pref("browser.uitour.enabled", false);
user_pref("privacy.globalprivacycontrol.enabled", true);
user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
/** OCSP & CERTS / HPKP ***/ /** OCSP & CERTS / HPKP ***/
user_pref("security.OCSP.enabled", 0); user_pref("security.OCSP.enabled", 0);
@@ -77,15 +79,10 @@ user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
user_pref("browser.xul.error_pages.expert_bad_cert", true); user_pref("browser.xul.error_pages.expert_bad_cert", true);
user_pref("security.tls.enable_0rtt_data", false); user_pref("security.tls.enable_0rtt_data", false);
/** RFP ***/
user_pref("browser.startup.blankWindow", false);
user_pref("browser.display.use_system_colors", false);
/** DISK AVOIDANCE ***/ /** DISK AVOIDANCE ***/
user_pref("browser.cache.disk.enable", false); user_pref("browser.cache.disk.enable", false);
user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); user_pref("browser.privatebrowsing.forceMediaMemoryCache", true);
user_pref("browser.sessionstore.privacy_level", 2); user_pref("browser.sessionstore.privacy_level", 2);
user_pref("browser.pagethumbnails.capturing_disabled", true);
/** SHUTDOWN & SANITIZING ***/ /** SHUTDOWN & SANITIZING ***/
user_pref("privacy.history.custom", true); user_pref("privacy.history.custom", true);
@@ -93,7 +90,6 @@ user_pref("privacy.history.custom", true);
/** SPECULATIVE CONNECTIONS ***/ /** SPECULATIVE CONNECTIONS ***/
user_pref("network.http.speculative-parallel-limit", 0); user_pref("network.http.speculative-parallel-limit", 0);
user_pref("network.dns.disablePrefetch", true); user_pref("network.dns.disablePrefetch", true);
user_pref("network.dns.disablePrefetchFromHTTPS", true);
user_pref("browser.urlbar.speculativeConnect.enabled", false); user_pref("browser.urlbar.speculativeConnect.enabled", false);
user_pref("browser.places.speculativeConnect.enabled", false); user_pref("browser.places.speculativeConnect.enabled", false);
user_pref("network.prefetch-next", false); user_pref("network.prefetch-next", false);
@@ -106,14 +102,12 @@ user_pref("browser.urlbar.update2.engineAliasRefresh", true);
user_pref("browser.search.suggest.enabled", false); user_pref("browser.search.suggest.enabled", false);
user_pref("browser.urlbar.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("security.insecure_connection_text.enabled", true);
user_pref("security.insecure_connection_text.pbmode.enabled", true);
user_pref("network.IDN_show_punycode", true); user_pref("network.IDN_show_punycode", true);
/** HTTPS-ONLY MODE ***/ /** HTTPS-FIRST MODE ***/
user_pref("dom.security.https_only_mode", true); user_pref("dom.security.https_first", true);
user_pref("dom.security.https_only_mode_error_page_user_suggestions", true);
/** DNS-over-HTTPS (DOH) ***/
user_pref("network.dns.skipTRR-when-parental-control-enabled", false);
/** PROXY / SOCKS / IPv6 ***/ /** PROXY / SOCKS / IPv6 ***/
user_pref("network.proxy.socks_remote_dns", true); user_pref("network.proxy.socks_remote_dns", true);
@@ -150,17 +144,12 @@ 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);
/** SAFE BROWSING ***/ /** SAFE BROWSING ***/
user_pref("browser.safebrowsing.blockedURIs.enabled", true); // reset pref; remove in v.110
user_pref("browser.safebrowsing.malware.enabled", true); // reset pref; remove in v.110
user_pref("browser.safebrowsing.phishing.enabled", true); // reset pref; remove in v.110
user_pref("browser.safebrowsing.downloads.enabled", true); // reset pref; remove in v.110
user_pref("browser.safebrowsing.downloads.remote.enabled", false); user_pref("browser.safebrowsing.downloads.remote.enabled", false);
/** MOZILLA ***/ /** MOZILLA ***/
user_pref("accessibility.force_disabled", 1); 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", 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%");
@@ -224,7 +213,7 @@ user_pref("browser.privatebrowsing.enable-new-indicator", false);
/** FULLSCREEN ***/ /** FULLSCREEN ***/
user_pref("full-screen-api.transition-duration.enter", "0 0"); user_pref("full-screen-api.transition-duration.enter", "0 0");
user_pref("full-screen-api.transition-duration.leave", "0 0"); user_pref("full-screen-api.transition-duration.leave", "0 0");
user_pref("full-screen-api.warning.delay", 0); user_pref("full-screen-api.warning.delay", -1);
user_pref("full-screen-api.warning.timeout", 0); user_pref("full-screen-api.warning.timeout", 0);
/** URL BAR ***/ /** URL BAR ***/
@@ -250,11 +239,8 @@ user_pref("browser.download.always_ask_before_handling_new_types", true);
user_pref("browser.download.open_pdf_attachments_inline", true); user_pref("browser.download.open_pdf_attachments_inline", true);
/** TAB BEHAVIOR ***/ /** TAB BEHAVIOR ***/
user_pref("browser.link.open_newwindow.restriction", 0);
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("dom.popup_allowed_events", "click dblclick");
user_pref("layout.css.has-selector.enabled", true); user_pref("layout.css.has-selector.enabled", true);
/**************************************************************************** /****************************************************************************