diff --git a/README.md b/README.md index fc00efe..5bfb02d 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,8 @@ I really thank the following authors: * [Tor Project](https://www.torproject.org) - Some Tor Browser strings. * [Quindecim](https://git.nixnet.xyz/quindecim/mobile_user.js) - Initial releases, unique strings and user design. * [LibreWolf](https://gitlab.com/librewolf-community) - Some strings. -* [Better-Fox](https://github.com/yokoffing/Better-Fox) - Some strings +* [Better-Fox](https://github.com/yokoffing/Better-Fox) - Some strings. +* [celenity](https://codeberg.org/celenity/Phoenix) - More strings. * [gallegonovato](https://git.nixnet.xyz/gallegonovato) - For his suggestions and support. * [v1nc](https://github.com/v1nc/) - For his user.js updater app. diff --git a/user.js b/user.js index d0db75e..7dc82d1 100644 --- a/user.js +++ b/user.js @@ -22,6 +22,7 @@ user_pref("browser.aboutConfig.showWarning", false); // // Disable default browser check user_pref("browser.shell.checkDefaultBrowser", false); +user_pref("browser.shell.skipDefaultBrowserCheckOnFirstRun", true); // ------------------------------------- // Set startup page // 0=blank, 1=home, 2=last visited page, 3=resume previous session @@ -79,11 +80,14 @@ user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); // ------------------------------------- // Disable personalized Extension Recommendations in about:addons and AMO [FF65+] user_pref("browser.discovery.enabled", false); +user_pref("browser.discovery.sites", ""); +user_pref("extensions.getAddons.discovery.api_url", ""); // ------------------------------------- // Disable shopping experience [FF116+] user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false] user_pref("browser.shopping.experience2023.opted", 2); user_pref("browser.shopping.experience2023.active", false); +user_pref("browser.shopping.experience2023.ads.enabled", false); // // TELEMETRY // @@ -103,7 +107,9 @@ user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); // [FF55+] user_pref("toolkit.telemetry.updatePing.enabled", false); // [FF56+] user_pref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+] -user_pref("browser.search.serpEventTelemetry.enabled",false); +user_pref("browser.search.serpEventTelemetry.enabled",false); +user_pref("toolkit.shopping.ohttpConfigURL", ""); +user_pref("toolkit.shopping.ohttpRelayURL", ""); // ------------------------------------- // Disable Telemetry Coverage user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF] @@ -315,8 +321,8 @@ user_pref("network.trr.mode", 5); user_pref("network.trr.confirmationNS", ""); // ------------------------------------- // Disable skipping DoH when parental controls are enabled -user_pref("network.trr.uri", ""); -user_pref("network.trr.custom_uri", ""); +// user_pref("network.trr.uri", "https://dns.quad9.net/dns-query"); +// user_pref("network.trr.custom_uri", "https://dns.quad9.net/dns-query"); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // LOCATION BAR / SEARCH BAR / SUGGESTIONS / HISTORY / FORMS @@ -365,6 +371,13 @@ user_pref("browser.search.separatePrivateDefault.ui.enabled", true); // [FF71+] // ------------------------------------- // Disable merino user_pref("browser.urlbar.merino.enabled", false); +// ------------------------------------- +// Never trim URLs +user_pref("browser.urlbar.trimHttps", false); +user_pref("browser.urlbar.trimURLs", false); +// ------------------------------------- +// Disable GNOME Integration +user_pref("browser.gnome-search-provider.enabled", false); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // PASSWORDS @@ -504,6 +517,8 @@ user_pref("network.http.referer.XOriginTrimmingPolicy", 2); // Enable Container Tabs and its UI setting [FF50+] user_pref("privacy.userContext.enabled", true); user_pref("privacy.userContext.ui.enabled", true); +user_pref("permissions.isolateBy.userContext", true); +user_pref("permissions.isolateBy.userContext", true); // ------------------------------------- // Set behavior on "+ Tab" button to display container menu on left click [FF74+] // user_pref("privacy.userContext.newTabContainerOnLeftClick.enabled", true); @@ -563,6 +578,9 @@ user_pref("devtools.debugger.remote-enabled", false); // [DEFAULT: false] // ------------------------------------- // Remove special permissions for certain mozilla domains [FF35+] user_pref("permissions.manager.defaultsUrl", ""); +user_pref("browser.tabs.remote.separatePrivilegedMozillaWebContentProcess", false); +user_pref("browser.tabs.remote.separatedMozillaDomains", ""); +user_pref("dom.ipc.processCount.privilegedmozilla", 0); // ------------------------------------- // Remove webchannel whitelist user_pref("webchannel.allowObject.urlWhitelist", ""); @@ -614,6 +632,7 @@ user_pref("extensions.postDownloadThirdPartyPrompt", false); // ------------------------------------- // Disable extensions suggestions user_pref("extensions.webservice.discoverURL", ""); +user_pref("extensions.recommendations.themeRecommendationUrl", ""); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // ETP (ENHANCED TRACKING PROTECTION) @@ -692,7 +711,7 @@ user_pref("privacy.sanitize.timeSpan", 0); // FPP (fingerprintingProtection) // >>>>>>>>>>>>>>>>>>>>> // Enable FPP in PB mode [FF114+] -// user_pref("privacy.fingerprintingProtection.pbmode", true); // [DEFAULT: true FF118+] +user_pref("privacy.fingerprintingProtection.pbmode", true); // [DEFAULT: true FF118+] // ------------------------------------- // Set global FPP overrides [FF114+] // user_pref("privacy.fingerprintingProtection.overrides", ""); @@ -782,6 +801,7 @@ user_pref("browser.urlbar.suggest.openpage", false); user_pref("browser.urlbar.suggest.topsites", false); // [FF78+] user_pref("browser.urlbar.autocomplete.enabled", false); user_pref("browser.urlbar.suggest.weather", false); +user_pref("browser.urlbar.suggest.fakespot", false); // ------------------------------------- // Disable location bar dropdown // user_pref("browser.urlbar.maxRichResults", 0); @@ -850,6 +870,7 @@ user_pref("javascript.options.asmjs", false); // Disable Ion and baseline JIT to harden against JS exploits [RESTART] user_pref("javascript.options.ion", false); user_pref("javascript.options.baselinejit", false); +user_pref("javascript.options.wasm_baselinejit", false); user_pref("javascript.options.jit_trustedprincipals", true); // [FF75+] [HIDDEN PREF] // ------------------------------------- // Disable WebAssembly [FF52+] @@ -874,6 +895,22 @@ user_pref("browser.eme.ui.enabled", false); // ------------------------------------- // Set DoH bootstrap address [FF89+] // user_pref("network.trr.bootstrapAddr", "10.0.0.1"); // [HIDDEN PREF] +// ------------------------------------- +// Enable Post Quantum Key Agreement (Kyber) +user_pref("media.webrtc.enable_pq_dtls", true); +user_pref("network.http.http3.enable_kyber", true); +user_pref("security.tls.enable_kyber", true); +// ------------------------------------- +// Protect against CSRF Attacks (Like Chromium) +user_pref("network.cookie.sameSite.laxByDefault", true); +user_pref("network.cookie.sameSite.noneRequiresSecure", true); +user_pref("network.cookie.sameSite.schemeful", true); +// ------------------------------------- +// Block Cookie Banners +user_pref("cookiebanners.service.mode", 1); +user_pref("cookiebanners.service.mode.privateBrowsing", 1); +user_pref("cookiebanners.service.enableGlobalRules", true); +user_pref("cookiebanners.ui.desktop.enabled", true); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // DON'T TOUCH @@ -971,6 +1008,8 @@ user_pref("gfx.offscreencanvas.enabled", false); // 0=no-referer, 1=same-origin, 2=strict-origin-when-cross-origin, 3=no-referrer-when-downgrade // user_pref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2] // user_pref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2] +user_pref("network.http.referer.defaultPolicy.trackers", 1); +user_pref("network.http.referer.defaultPolicy.trackers.pbmode", 1); // ------------------------------------- // Disable HTTP Alternative Services [FF37+] // user_pref("network.http.altsvc.enabled", false); @@ -1026,7 +1065,9 @@ user_pref("dom.push.userAgentID", ""); user_pref("media.peerconnection.enabled", false); // ------------------------------------- // Enable GPC (Global Privacy Control) in non-PB windows -// user_pref("privacy.globalprivacycontrol.enabled", true); +user_pref("privacy.globalprivacycontrol.enabled", true); +user_pref("privacy.globalprivacycontrol.functionality.enabled", true); +user_pref("privacy.globalprivacycontrol.pbmode.enabled", true); // [DEFAULT: true] // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // DON'T BOTHER: FINGERPRINTING @@ -1074,6 +1115,7 @@ user_pref("browser.startup.homepage_override.mstone", "ignore"); // [HIDDEN PREF user_pref("startup.homepage_welcome_url", ""); user_pref("startup.homepage_welcome_url.additional", ""); user_pref("startup.homepage_override_url", ""); // What's New page after updates +user_pref("browser.aboutwelcome.enabled", false); // // WARNINGS // @@ -1099,7 +1141,7 @@ user_pref("extensions.update.background.url", ""); // Disable auto-INSTALLING extension and theme updates user_pref("extensions.update.autoUpdateDefault", false); // ------------------------------------- -// Disable extension metadata +// Disable extension metadata and discovery user_pref("extensions.getAddons.cache.enabled", false); // ------------------------------------- // Disable search engine updates (e.g. OpenSearch) @@ -1120,6 +1162,7 @@ user_pref("browser.newtabpage.activity-stream.showSearch", false); user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false); user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); +user_pref("browser.newtabpage.activity-stream.showWeather", false); // // UX FEATURES // @@ -1128,11 +1171,11 @@ user_pref("extensions.screenshots.disabled", true); // [FF55+] user_pref("identity.fxaccounts.enabled", false); // Firefox Accounts & Sync [FF60+] [RESTART] user_pref("reader.parse-on-load.enabled", false); // Reader View user_pref("browser.tabs.firefox-view", false); // Firefox-view +user_pref("browser.firefox-view.virtual-list.enabled", false); // // OTHER // -user_pref("security.tls.enable_kyber", true); -user_pref("network.http.http3.enable_kyber", true); +// user_pref("browser.bookmarks.max_backups", 2); user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable CFR [FF67+] user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable CFR [FF67+] user_pref("browser.urlbar.showSearchTerms.enabled", false);