diff --git a/home/programs/browsers/firefox/user.js/betterfox.js b/home/programs/browsers/firefox/user.js/betterfox.js index 2375563..3ab08dc 100644 --- a/home/programs/browsers/firefox/user.js/betterfox.js +++ b/home/programs/browsers/firefox/user.js/betterfox.js @@ -10,7 +10,7 @@ /**************************************************************************** * Betterfox * * "Ad meliora" * - * version: 119 * + * version: 131 * * url: https://github.com/yokoffing/Betterfox * ****************************************************************************/ @@ -37,26 +37,23 @@ user_pref("media.cache_resume_threshold", 3600); user_pref("image.mem.decode_bytes_at_a_time", 32768); /** NETWORK ***/ -user_pref("network.buffer.cache.size", 262144); -user_pref("network.buffer.cache.count", 128); user_pref("network.http.max-connections", 1800); user_pref("network.http.max-persistent-connections-per-server", 10); user_pref("network.http.max-urgent-start-excessive-connections-per-host", 5); user_pref("network.http.pacing.requests.enabled", false); user_pref("network.dnsCacheExpiration", 3600); -user_pref("network.dns.max_high_priority_threads", 8); user_pref("network.ssl_tokens_cache_capacity", 10240); /** SPECULATIVE LOADING ***/ user_pref("network.dns.disablePrefetch", true); +user_pref("network.dns.disablePrefetchFromHTTPS", true); user_pref("network.prefetch-next", false); user_pref("network.predictor.enabled", false); +user_pref("network.predictor.enable-prefetch", false); /** EXPERIMENTAL ***/ user_pref("layout.css.grid-template-masonry-value.enabled", true); user_pref("dom.enable_web_task_scheduling", true); -user_pref("layout.css.has-selector.enabled", true); -user_pref("dom.security.sanitizer.enabled", true); /**************************************************************************** * SECTION: SECUREFOX * @@ -71,12 +68,10 @@ user_pref( "urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com" ); -user_pref("network.cookie.sameSite.noneRequiresSecure", true); user_pref("browser.download.start_downloads_in_tmp_dir", true); user_pref("browser.helperApps.deleteTempFileOnExit", true); user_pref("browser.uitour.enabled", false); user_pref("privacy.globalprivacycontrol.enabled", true); -user_pref("privacy.globalprivacycontrol.functionality.enabled", true); /** OCSP & CERTS / HPKP ***/ user_pref("security.OCSP.enabled", 0); @@ -96,11 +91,13 @@ user_pref("browser.sessionstore.interval", 60000); user_pref("privacy.history.custom", true); /** SEARCH / URL BAR ***/ +user_pref("browser.urlbar.trimHttps", true); +user_pref("browser.urlbar.untrimOnUserInteraction.featureGate", true); user_pref("browser.search.separatePrivateDefault.ui.enabled", true); user_pref("browser.urlbar.update2.engineAliasRefresh", true); user_pref("browser.search.suggest.enabled", false); -user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); -user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); +user_pref("browser.urlbar.quicksuggest.enabled", false); +user_pref("browser.urlbar.groupLabels.enabled", false); user_pref("browser.formfill.enable", false); user_pref("security.insecure_connection_text.enabled", true); user_pref("security.insecure_connection_text.pbmode.enabled", true); @@ -110,22 +107,17 @@ user_pref("network.IDN_show_punycode", true); user_pref("dom.security.https_first", true); /** PASSWORDS ***/ -user_pref("signon.rememberSignons", false); user_pref("signon.formlessCapture.enabled", false); user_pref("signon.privateBrowsingCapture.enabled", false); user_pref("network.auth.subresource-http-auth-allow", 1); user_pref("editor.truncate_user_pastes", false); -/** ADDRESS + CREDIT CARD MANAGER ***/ -user_pref("extensions.formautofill.addresses.enabled", false); -user_pref("extensions.formautofill.creditCards.enabled", false); - /** MIXED CONTENT + CROSS-SITE ***/ user_pref("security.mixed_content.block_display_content", true); -user_pref("security.mixed_content.upgrade_display_content", true); -user_pref("security.mixed_content.upgrade_display_content.image", true); user_pref("pdfjs.enableScripting", false); -user_pref("extensions.postDownloadThirdPartyPrompt", false); + +/** EXTENSIONS ***/ +user_pref("extensions.enabledScopes", 5); /** HEADERS / REFERERS ***/ user_pref("network.http.referer.XOriginTrimmingPolicy", 2); @@ -133,20 +125,12 @@ user_pref("network.http.referer.XOriginTrimmingPolicy", 2); /** CONTAINERS ***/ user_pref("privacy.userContext.ui.enabled", true); -/** WEBRTC ***/ -user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true); -user_pref("media.peerconnection.ice.default_address_only", true); - /** SAFE BROWSING ***/ user_pref("browser.safebrowsing.downloads.remote.enabled", false); /** MOZILLA ***/ user_pref("permissions.default.desktop-notification", 2); user_pref("permissions.default.geo", 2); -user_pref( - "geo.provider.network.url", - "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%" -); user_pref("permissions.manager.defaultsUrl", ""); user_pref("webchannel.allowObject.urlWhitelist", ""); @@ -165,7 +149,6 @@ user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); user_pref("toolkit.telemetry.coverage.opt-out", true); user_pref("toolkit.coverage.opt-out", true); user_pref("toolkit.coverage.endpoint.base", ""); -user_pref("browser.ping-centre.telemetry", false); user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false); user_pref("browser.newtabpage.activity-stream.telemetry", false); @@ -202,28 +185,26 @@ user_pref( false ); user_pref("browser.preferences.moreFromMozilla", false); -user_pref("browser.tabs.tabmanager.enabled", false); user_pref("browser.aboutConfig.showWarning", false); user_pref("browser.aboutwelcome.enabled", false); +user_pref("browser.profiles.enabled", true); /** THEME ADJUSTMENTS ***/ user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); user_pref("browser.compactmode.show", true); -user_pref("browser.display.focus_ring_on_anything", true); -user_pref("browser.display.focus_ring_style", 0); -user_pref("browser.display.focus_ring_width", 0); -user_pref("layout.css.prefers-color-scheme.content-override", 2); user_pref("browser.privateWindowSeparation.enabled", false); // WINDOWS +user_pref( + "browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", + true +); /** COOKIE BANNER HANDLING ***/ user_pref("cookiebanners.service.mode", 1); user_pref("cookiebanners.service.mode.privateBrowsing", 1); -user_pref("cookiebanners.service.enableGlobalRules", true); /** FULLSCREEN NOTICE ***/ 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.warning.delay", -1); user_pref("full-screen-api.warning.timeout", 0); /** URL BAR ***/ @@ -233,14 +214,13 @@ user_pref("browser.urlbar.trending.featureGate", false); /** NEW TAB PAGE ***/ user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); +user_pref("browser.newtabpage.activity-stream.showWeather", false); user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); -/*** POCKET ***/ +/** POCKET ***/ user_pref("extensions.pocket.enabled", false); /** DOWNLOADS ***/ -user_pref("browser.download.useDownloadDir", false); -user_pref("browser.download.always_ask_before_handling_new_types", true); user_pref("browser.download.manager.addToRecentDocs", false); /** PDF ***/