Skip to content

Commit b833ea7

Browse files
authored
v118 (#235)
1 parent c574f60 commit b833ea7

File tree

5 files changed

+53
-50
lines changed

5 files changed

+53
-50
lines changed

Fastfox.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Fastfox *
44
* "Non ducor duco" *
55
* priority: speedy browsing *
6-
* version: 117 *
6+
* version: 118 *
77
* url: https://github.com/yokoffing/Betterfox *
88
***************************************************************************************/
99

@@ -231,7 +231,6 @@ user_pref("dom.security.sanitizer.enabled", true);
231231

232232
// PREF: if your hardware doesn't support Webrender, you can fallback to Webrender's software renderer
233233
// [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/
234-
//user_pref("gfx.webrender.enabled", true); // [REMOVED FF118?]
235234
//user_pref("gfx.webrender.software", true); // Software Webrender uses CPU instead of GPU
236235
//user_pref("gfx.webrender.software.opengl", true); // LINUX
237236

Peskyfox.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Peskyfox *
44
* "Aquila non capit muscas" *
55
* priority: remove annoyances *
6-
* version: 117 *
6+
* version: 118 *
77
* url: https://github.com/yokoffing/Betterfox *
88
***************************************************************************/
99

@@ -388,7 +388,7 @@ user_pref("pdfjs.sidebarViewOnLoad", 2);
388388
//user_pref("browser.tabs.loadDivertedInBackground", false); // DEFAULT
389389

390390
// PREF: force bookmarks to open in a new tab, not the current tab
391-
user_pref("browser.tabs.loadBookmarksInTabs", true);
391+
//user_pref("browser.tabs.loadBookmarksInTabs", true);
392392
//user_pref("browser.tabs.loadBookmarksInBackground", true); // load bookmarks in background
393393

394394
// PREF: leave Bookmarks Menu open when selecting a site
@@ -460,9 +460,9 @@ user_pref("findbar.highlightAll", true);
460460
//user_pref("ui.key.menuAccessKeyFocuses", false);
461461
//user_pref("ui.key.menuAccessKey", 18); // DEFAULT
462462

463-
// PREF: CTRL+TAB cycles tabs in chronological order instead of
464-
// recently-used order
465-
//user_pref("browser.ctrlTab.recentlyUsedOrder", false);
463+
// PREF: cycle through tabs in recently used order
464+
// [SETTING] Ctrl+Tab cycles through tabs in recently used order
465+
//user_pref("browser.ctrlTab.sortByRecentlyUsed", true);
466466

467467
// PREF: Spell-check
468468
// 0=none, 1-multi-line, 2=multi-line & single-line

Securefox.js

+40-38
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Securefox *
44
* "Natura non contristatur" *
55
* priority: provide sensible security and privacy *
6-
* version: 117 *
6+
* version: 118 *
77
* url: https://github.com/yokoffing/Betterfox *
88
****************************************************************************/
99

@@ -118,7 +118,7 @@ user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.
118118
//user_pref("privacy.partition.serviceWorkers", true); // [DEFAULT: true FF105+]
119119
//user_pref("privacy.partition.network_state.ocsp_cache", true); // enabled with "Strict"
120120
//user_pref("privacy.partition.bloburl_per_agent_cluster", false); // DEFAULT [REGRESSIONS - DO NOT TOUCH]
121-
//user_pref("privacy.partition.bloburl_per_partition_key", true); // enabled with "Strict"? [FF118+]
121+
user_pref("privacy.partition.bloburl_per_partition_key", true); // [FF118+]
122122
// enable APS (Always Partitioning Storage) [FF104+]
123123
//user_pref("privacy.partition.always_partition_third_party_non_cookie_storage", true); // [DEFAULT: true FF109+]
124124
//user_pref("privacy.partition.always_partition_third_party_non_cookie_storage.exempt_sessionstorage", false); // [DEFAULT: false FF109+]
@@ -247,7 +247,13 @@ user_pref("security.remote_settings.crlite_filters.enabled", true);
247247
user_pref("security.pki.crlite_mode", 2);
248248

249249
// PREF: HTTP Public Key Pinning (HPKP)
250-
// If you rely on an antivirus to protect your web browsing
250+
// HPKP enhances the security of SSL certificates by associating
251+
// a host with their expected public key. It prevents attackers
252+
// from impersonating the host using fraudulent certificates,
253+
// even if they hold a valid certificate from a trusted certification authority.
254+
// HPKP ensures that the client maintains a secure connection with
255+
// the correct server, thereby reducing the risk of man-in-the-middle (MITM) attacks.
256+
// [NOTE] If you rely on an antivirus to protect your web browsing
251257
// by inspecting ALL your web traffic, then leave at 1.
252258
// [ERROR] MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE
253259
// By default, pinning enforcement is not applied if a user-installed
@@ -263,16 +269,12 @@ user_pref("security.cert_pinning.enforcement_level", 2);
263269
//user_pref("security.enterprise_roots.enabled", false); // DEFAULT
264270
//user_pref("security.certerrors.mitm.auto_enable_enterprise_roots", false);
265271

266-
// PREF: disable Microsoft Family Safety [WINDOWS 8-10]
267-
// [1] https://wiki.mozilla.org/QA/Windows_Child_Mode
268-
//user_pref("security.family_safety.mode", 0);
269-
270272
/****************************************************************************
271273
* SECTION: SSL (Secure Sockets Layer) / TLS (Transport Layer Security) *
272274
****************************************************************************/
273275

274276
// PREF: display warning on the padlock for "broken security"
275-
// Bug: warning padlock not indicated for subresources on a secure page! [2]
277+
// [NOTE] Warning padlock not indicated for subresources on a secure page! [2]
276278
// [1] https://wiki.mozilla.org/Security:Renegotiation
277279
// [2] https://bugzilla.mozilla.org/1353705
278280
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
@@ -483,6 +485,17 @@ user_pref("privacy.history.custom", true);
483485
// [2] https://winaero.com/firefox-75-strips-https-and-www-from-address-bar-results/
484486
//user_pref("browser.urlbar.trimURLs", true); // DEFAULT
485487

488+
// PREF: trim https:// from the URL bar [FF119+]
489+
// Firefox will hide https:// from the address bar, but not subdomains like www.
490+
// [TEST] http://www.http2demo.io/
491+
// [1] https://www.ghacks.net/2023/09/19/firefox-119-will-launch-with-an-important-address-bar-change/
492+
//user_pref("browser.urlbar.trimHttps", true);
493+
494+
// PREF: display "Not Secure" text on HTTP sites
495+
// Needed with HTTPS-First Policy; not needed with HTTPS-Only Mode.
496+
user_pref("security.insecure_connection_text.enabled", true);
497+
user_pref("security.insecure_connection_text.pbmode.enabled", true);
498+
486499
// PREF: do not show search terms in URL bar [FF110+] [FF113+]
487500
// Show search query instead of URL on search results pages.
488501
// [SETTING] Search>Search Bar>Use the address bar for search and navigation>Show search terms instead of URL...
@@ -542,13 +555,6 @@ user_pref("browser.formfill.enable", false);
542555
// and is a security risk (e.g. common typos & malicious sites set up to exploit this).
543556
//user_pref("browser.fixup.alternate.enabled", false); // [DEFAULT FF104+]
544557

545-
// PREF: display "Not Secure" text on HTTP sites
546-
// Needed with HTTPS-First Policy; not needed with HTTPS-Only Mode.
547-
user_pref("security.insecure_connection_text.enabled", true);
548-
user_pref("security.insecure_connection_text.pbmode.enabled", true);
549-
//user_pref("security.insecure_connection_icon.enabled", true); // DEFAULT
550-
//user_pref("security.insecure_connection_icon.pbmode.enabled", true); // DEFAULT
551-
552558
// PREF: Disable location bar autofill
553559
// https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox#w_url-autocomplete
554560
//user_pref("browser.urlbar.autoFill", false);
@@ -637,27 +643,23 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true);
637643
* SECTION: DNS-over-HTTPS *
638644
******************************************************************************/
639645

640-
// PREF: DNS-over-HTTPS (DoH) mode
641-
// Mozilla uses Cloudfare by default. NextDNS is also an option.
642-
// You can set this to 0 if you are already using secure DNS for
643-
// your entire network (e.g. OS-level, router-level).
646+
// PREF: DNS-over-HTTPS (DoH) implementation
647+
// [NOTE] Mode 3 has site exceptions with a nice UI on the error page.
648+
// [SETTINGS] Privacy & Security > DNS over HTTPS > Enable secure DNS using:
644649
// [NOTE] Mode 3 has site-exceptions with a nice UI on the error page
645650
// [1] https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/
646-
// [2] https://www.internetsociety.org/blog/2018/12/dns-privacy-support-in-mozilla-firefox/
647-
// 0=disable DoH (default)
648-
// 2=use DoH; fall back to native DNS if necessary
649-
// 3=only use DoH; do not fall back to native DNS
650-
// 5=explicitly disable DoH
651+
// [2] https://support.mozilla.org/en-US/kb/dns-over-https#w_protection-levels-explained
652+
// 0= Default Protection: disable DoH (default)
653+
// 2= Increased Protection: use DoH and fall back to native DNS if necessary
654+
// 3= Max Protection: only use DoH; do not fall back to native DNS
655+
// 5= Off: disable DoH
651656
//user_pref("network.trr.mode", 0); // DEFAULT
652657

653658
// PREF: display fallback warning page [FF115+]
654-
// Show a warning checkbox UI in modes 0 + 2.
659+
// Show a warning checkbox UI in modes 0 or 2 above.
655660
//user_pref("network.trr_ui.show_fallback_warning_option", false); // DEFAULT
656661
//user_pref("network.trr.display_fallback_warning", false); // DEFAULT
657662

658-
// PREF: fallback to native DNS upon network errors
659-
//user_pref("network.trr.strict_native_fallback", false); // DEFAULT
660-
661663
// PREF: DoH resolver
662664
// [1] https://github.com/uBlockOrigin/uBlock-issues/issues/1710
663665
//user_pref("network.trr.uri", "https://xxxx/dns-query");
@@ -666,6 +668,9 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true);
666668
// PREF: adjust providers
667669
//user_pref("network.trr.resolvers", '[{ "name": "Cloudflare", "url": "https://mozilla.cloudflare-dns.com/dns-query" },{ "name": "SecureDNS", "url": "https://doh.securedns.eu/dns-query" },{ "name": "AppliedPrivacy", "url": "https://doh.appliedprivacy.net/query" },{ "name": "Digitale Gesellschaft (CH)", "url": "https://dns.digitale-gesellschaft.ch/dns-query" }, { "name": "Quad9", "url": "https://dns.quad9.net/dns-query" }]');
668670

671+
// PREF: fallback to native DNS upon network errors
672+
//user_pref("network.trr.strict_native_fallback", false); // DEFAULT
673+
669674
// PREF: EDNS Client Subnet (ECS)
670675
// [WARNING] In some circumstances, enabling ECS may result
671676
// in suboptimal routing between CDN origins and end users [2].
@@ -874,13 +879,6 @@ user_pref("pdfjs.enableScripting", false);
874879
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1659530,1681331
875880
user_pref("extensions.postDownloadThirdPartyPrompt", false);
876881

877-
// PREF: disable permissions delegation [deprecated in FF118]
878-
// Currently applies to cross-origin geolocation, camera, mic and screen-sharing
879-
// permissions, and fullscreen requests. Disabling delegation means any prompts
880-
// for these will show/use their correct 3rd party origin.
881-
// [1] https://groups.google.com/forum/#!topic/mozilla.dev.platform/BdFOMAuCGW8/discussion
882-
user_pref("permissions.delegation.enabled", false);
883-
884882
// PREF: disable middle click on new tab button opening URLs or searches using clipboard [FF115+]
885883
// Enable if you're using LINUX.
886884
//user_pref("browser.tabs.searchclipboardfor.middleclick", false); // DEFAULT WINDOWS macOS
@@ -947,6 +945,7 @@ user_pref("permissions.delegation.enabled", false);
947945
// 0=send full URI (default), 1=scheme+host+port+path, 2=scheme+host+port
948946
// [1] https://blog.mozilla.org/security/2021/03/22/firefox-87-trims-http-referrers-by-default-to-protect-user-privacy/
949947
// [2] https://web.dev/referrer-best-practices/
948+
// [3] https://www.reddit.com/r/waterfox/comments/16px8yq/comment/k29r6bu/?context=3
950949
user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
951950

952951
/******************************************************************************
@@ -1117,10 +1116,10 @@ user_pref("browser.safebrowsing.downloads.remote.enabled", false);
11171116
// [3] https://www.reddit.com/r/firefox/comments/p8g5zd/why_does_disabling_accessibility_services_improve
11181117
// [4] https://winaero.com/firefox-has-accessibility-service-memory-leak-you-should-disable-it/
11191118
// [5] https://www.ghacks.net/2022/12/26/firefoxs-accessibility-performance-is-getting-a-huge-boost/
1120-
user_pref("accessibility.force_disabled", 1);
1119+
//user_pref("accessibility.force_disabled", 1);
11211120
//user_pref("devtools.accessibility.enabled", false);
11221121

1123-
// PREF: disable Firefox accounts
1122+
// PREF: disable Firefox Sync
11241123
// [ALTERNATIVE] Use xBrowserSync [1]
11251124
// [1] https://addons.mozilla.org/en-US/firefox/addon/xbs
11261125
// [2] https://github.com/arkenfox/user.js/issues/1175
@@ -1131,6 +1130,9 @@ user_pref("identity.fxaccounts.enabled", false);
11311130
user_pref("browser.tabs.firefox-view", false);
11321131
//user_pref("browser.tabs.firefox-view-next", false); // [FF119+]
11331132

1133+
// PREF: disable the Firefox View tour from popping up
1134+
//user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}");
1135+
11341136
// PREF: disable Push Notifications API [FF44+]
11351137
// Push is an API that allows websites to send you (subscribed) messages even when the site
11361138
// isn't loaded, by pushing messages to your userAgentID through Mozilla's Push Server.
@@ -1258,7 +1260,7 @@ user_pref("datareporting.policy.dataSubmissionEnabled", false);
12581260
// [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to install and run studies
12591261
user_pref("app.shield.optoutstudies.enabled", false);
12601262

1261-
// Personalized Extension Recommendations in about:addons and AMO
1263+
// PREF: Personalized Extension Recommendations in about:addons and AMO
12621264
// [NOTE] This pref has no effect when Health Reports are disabled.
12631265
// [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to make personalized extension recommendations
12641266
user_pref("browser.discovery.enabled", false);

personal/user-overrides.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ user_pref("browser.search.update", false); // do not update opensearch engines
5555
user_pref("network.dns.skipTRR-when-parental-control-enabled", false); // bypass parental controls when using DoH
5656
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
5757
user_pref("extensions.webextensions.restrictedDomains", ""); // remove Mozilla domains so adblocker works on pages
58+
user_pref("browser.firefox-view.feature-tour", "{\"screen\":\"\",\"complete\":true}"); // disable the Firefox View tour from popping up for new profiles
59+
user_pref("accessibility.force_disabled", 1); // disable Accessibility features
5860

5961
/** PESKYFOX ***/
6062
user_pref("devtools.accessibility.enabled", false); // removes un-needed "Inspect Accessibility Properties" on right-click
@@ -77,7 +79,8 @@ user_pref("browser.bookmarks.max_backups", 0); // minimize disk use; manually ba
7779
user_pref("view_source.wrap_long_lines", true); // wrap source lines
7880
user_pref("devtools.debugger.ui.editor-wrapping", true); // wrap lines in devtools
7981
user_pref("browser.zoom.full", false); // text-only zoom, not all elements on page
80-
user_pref("pdfjs.sidebarViewOnLoad", 2); // [HIDDEN] force showing of Table of Contents in sidebar for PDFs (if available)
82+
//user_pref("pdfjs.sidebarViewOnLoad", 2); // [HIDDEN] force showing of Table of Contents in sidebar for PDFs (if available)
83+
user_pref("browser.tabs.loadBookmarksInTabs", true); // force bookmarks to open in a new tab, not the current tab
8184
user_pref("ui.key.menuAccessKey", 0); // remove underlined characters from various settings
8285
user_pref("general.autoScroll", false); // disable unintentional behavior for middle click
8386
user_pref("ui.SpellCheckerUnderlineStyle", 1); // dots for spell check errors
@@ -93,6 +96,7 @@ user_pref("privacy.userContext.enabled", false); // disable Containers functiona
9396
user_pref("browser.crashReports.unsubmittedCheck.enabled", false); // true by default on NIGHTLY
9497
//user_pref("browser.urlbar.suggest.quickactions", false); // Quick Actions in URL bar
9598
//user_pref("xpinstall.signatures.required", false); // [ESR/DEV/NIGHTLY]
99+
user_pref("browser.urlbar.trimHttps", true); // hide https in URL bar [FF119]
96100

97101
/** DELETE IF NOT WINDOWS DESKTOP ***/
98102
user_pref("network.trr.mode", 3); // enable TRR (without System fallback)

user.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/****************************************************************************
1111
* Betterfox *
1212
* "Ad meliora" *
13-
* version: 117 *
13+
* version: 118 *
1414
* url: https://github.com/yokoffing/Betterfox *
1515
****************************************************************************/
1616

@@ -72,6 +72,7 @@ user_pref("network.predictor.enable-prefetch", false);
7272
user_pref("browser.contentblocking.category", "strict");
7373
user_pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com");
7474
user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com");
75+
user_pref("privacy.partition.bloburl_per_partition_key", true);
7576
user_pref("browser.uitour.enabled", false);
7677
user_pref("privacy.globalprivacycontrol.enabled", true);
7778
user_pref("privacy.globalprivacycontrol.functionality.enabled", true);
@@ -121,7 +122,6 @@ user_pref("network.auth.subresource-http-auth-allow", 1);
121122
user_pref("security.mixed_content.block_display_content", true);
122123
user_pref("pdfjs.enableScripting", false);
123124
user_pref("extensions.postDownloadThirdPartyPrompt", false);
124-
user_pref("permissions.delegation.enabled", false);
125125

126126
/** HEADERS / REFERERS ***/
127127
user_pref("network.http.referer.XOriginTrimmingPolicy", 2);
@@ -137,7 +137,6 @@ user_pref("media.peerconnection.ice.default_address_only", true);
137137
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
138138

139139
/** MOZILLA ***/
140-
user_pref("accessibility.force_disabled", 1);
141140
user_pref("identity.fxaccounts.enabled", false);
142141
user_pref("browser.tabs.firefox-view", false);
143142
user_pref("permissions.default.desktop-notification", 2);
@@ -230,7 +229,6 @@ user_pref("browser.download.open_pdf_attachments_inline", true);
230229
user_pref("pdfjs.sidebarViewOnLoad", 2);
231230

232231
/** TAB BEHAVIOR ***/
233-
user_pref("browser.tabs.loadBookmarksInTabs", true);
234232
user_pref("browser.bookmarks.openInTabClosesMenu", false);
235233
user_pref("browser.menu.showViewImageInfo", true);
236234
user_pref("findbar.highlightAll", true);

0 commit comments

Comments
 (0)