From 195c83eb5a5192170a58baaf1d890db1b6f2a1e5 Mon Sep 17 00:00:00 2001 From: Narsil Date: Sun, 29 Dec 2024 21:34:20 +0000 Subject: [PATCH] Upload files to "config" --- config/mozilla.cfg | 102 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 79 insertions(+), 23 deletions(-) diff --git a/config/mozilla.cfg b/config/mozilla.cfg index f7cbe72..d170fe7 100644 --- a/config/mozilla.cfg +++ b/config/mozilla.cfg @@ -28,6 +28,7 @@ lockPref("browser.aboutConfig.showWarning", false); // // Disable default browser check lockPref("browser.shell.checkDefaultBrowser", false); +lockPref("browser.shell.skipDefaultBrowserCheckOnFirstRun", true); // ------------------------------------- // Set startup page // 0=blank, 1=home, 2=last visited page, 3=resume previous session @@ -93,11 +94,14 @@ lockPref("extensions.htmlaboutaddons.recommendations.enabled", false); // ------------------------------------- // Disable personalized Extension Recommendations in about:addons and AMO [FF65+] lockPref("browser.discovery.enabled", false); +defaultPref("browser.discovery.sites", ""); +defaultPref("extensions.getAddons.discovery.api_url", ""); // ------------------------------------- // Disable shopping experience [FF116+] defaultPref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false] defaultPref("browser.shopping.experience2023.opted", 2); defaultPref("browser.shopping.experience2023.active", false); +lockPref("browser.shopping.experience2023.ads.enabled", false); // // TELEMETRY // @@ -117,7 +121,9 @@ lockPref("toolkit.telemetry.shutdownPingSender.enabled", false); // [FF55+] lockPref("toolkit.telemetry.updatePing.enabled", false); // [FF56+] lockPref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter lockPref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+] -lockPref("browser.search.serpEventTelemetry.enabled",false); +lockPref("browser.search.serpEventTelemetry.enabled",false); +lockPref("toolkit.shopping.ohttpConfigURL", ""); +lockPref("toolkit.shopping.ohttpRelayURL", ""); // ------------------------------------- // Skip checking omni.ja and other files defaultPref("corroborator.enabled", false); @@ -276,7 +282,7 @@ lockPref("network.prefetch-next", false); // ------------------------------------- // Disable DNS prefetching lockPref("network.dns.disablePrefetch", true); -// defaultPref("network.dns.disablePrefetchFromHTTPS", true); // [DEFAULT: true] +defaultPref("network.dns.disablePrefetchFromHTTPS", true); // ------------------------------------- // Disable predictor / prefetching defaultPref("network.predictor.enabled", false); @@ -315,8 +321,8 @@ defaultPref("network.trr.mode", 5); defaultPref("network.trr.confirmationNS", ""); // ------------------------------------- // Disable skipping DoH when parental controls are enabled -defaultPref("network.trr.uri", ""); -defaultPref("network.trr.custom_uri", ""); +defaultPref("network.trr.uri", "https://dns.quad9.net/dns-query"); +defaultPref("network.trr.custom_uri", "https://dns.quad9.net/dns-query"); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // LOCATION BAR / SEARCH BAR / SUGGESTIONS / HISTORY / FORMS @@ -326,9 +332,9 @@ defaultPref("network.trr.custom_uri", ""); defaultPref("browser.urlbar.speculativeConnect.enabled", false); // ------------------------------------- // Disable location bar contextual suggestions -// defaultPref("browser.urlbar.quicksuggest.enabled", false); // [FF92+] [DEFAULT: false] -// defaultPref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] [DEFAULT: false] -// defaultPref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+] [DEFAULT: false] +defaultPref("browser.urlbar.quicksuggest.enabled", false); // [FF92+] +defaultPref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] +defaultPref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+] // ------------------------------------- // Disable live search suggestions defaultPref("browser.search.suggest.enabled", false); @@ -347,6 +353,9 @@ defaultPref("browser.urlbar.yelp.featureGate", false); // [FF124+] [DEFAULT: fal // Disable urlbar clipboard suggestions [FF118+] defaultPref("browser.urlbar.clipboard.featureGate", false); // ------------------------------------- +// Disable recent searches [FF120+] +defaultPref("browser.urlbar.recentsearches.featureGate", false); +// ------------------------------------- // Disable search and form history defaultPref("browser.formfill.enable", false); // ------------------------------------- @@ -362,6 +371,13 @@ defaultPref("browser.search.separatePrivateDefault.ui.enabled", true); // [FF71+ // ------------------------------------- // Disable merino lockPref("browser.urlbar.merino.enabled", false); +// ------------------------------------- +// Never trim URLs +lockPref("browser.urlbar.trimHttps", false); +lockPref("browser.urlbar.trimURLs", false); +// ------------------------------------- +// Disable GNOME Integration +defaultPref("browser.gnome-search-provider.enabled", false); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // PASSWORDS @@ -501,6 +517,7 @@ defaultPref("network.http.referer.XOriginTrimmingPolicy", 2); // Enable Container Tabs and its UI setting [FF50+] // defaultPref("privacy.userContext.enabled", true); // defaultPref("privacy.userContext.ui.enabled", true); +// defaultPref("permissions.isolateBy.userContext", true); // ------------------------------------- // Set behavior on "+ Tab" button to display container menu on left click [FF74+] // defaultPPref("privacy.userContext.newTabContainerOnLeftClick.enabled", true); @@ -559,6 +576,9 @@ defaultPref("devtools.debugger.remote-enabled", false); // [DEFAULT: false] // ------------------------------------- // Remove special permissions for certain mozilla domains [FF35+] lockPref("permissions.manager.defaultsUrl", ""); +lockPref("browser.tabs.remote.separatePrivilegedMozillaWebContentProcess", false); +lockPref("browser.tabs.remote.separatedMozillaDomains", ""); +lockPref("dom.ipc.processCount.privilegedmozilla", 0); // ------------------------------------- // Remove webchannel whitelist lockPref("webchannel.allowObject.urlWhitelist", ""); @@ -574,7 +594,9 @@ lockPref("pdfjs.enableScripting", false); // [FF86+] defaultPref("browser.tabs.searchclipboardfor.middleclick", false); // [DEFAULT: false NON-LINUX] // ------------------------------------- // Disable content analysis by DLP (Data Loss Prevention) agents -defaultPref("browser.contentanalysis.default_allow", false); // [FF124+] [DEFAULT: false] +// 0=Block all requests, 1=Warn on all requests (which lets the user decide), 2=Allow all requests +defaultPref("browser.contentanalysis.enabled", false); // [FF121+] [DEFAULT: false] +defaultPref("browser.contentanalysis.default_result", 0); // [FF127+] [DEFAULT: 0] // ------------------------------------- // Disable the default checkedness for "Save card and address to Firefox" checkboxes defaultPref("dom.payments.defaults.saveAddress", false); @@ -611,6 +633,7 @@ lockPref("extensions.postDownloadThirdPartyPrompt", false); // ------------------------------------- // Disable extensions suggestions defaultPref("extensions.webservice.discoverURL", ""); +defaultPref("extensions.recommendations.themeRecommendationUrl", ""); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // ETP (ENHANCED TRACKING PROTECTION) @@ -689,30 +712,33 @@ defaultPref("privacy.sanitize.timeSpan", 0); // FPP (fingerprintingProtection) // >>>>>>>>>>>>>>>>>>>>> // Enable FPP in PB mode [FF114+] -// defaultPref("privacy.fingerprintingProtection.pbmode", true); // [DEFAULT: true FF118+] +defaultPref("privacy.fingerprintingProtection.pbmode", true); // [DEFAULT: true FF118+] // ------------------------------------- // Set global FPP overrides [FF114+] // defaultPref("privacy.fingerprintingProtection.overrides", ""); // ------------------------------------- +// Set granular FPP overrides +// defaultPref("privacy.fingerprintingProtection.granularOverrides", ""); +// ------------------------------------- // Disable remote FPP overrides [FF127+] // defaultPref("privacy.fingerprintingProtection.remoteOverrides.enabled", false); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -// RFP (resistFingerprinting) +// OPTIONAL RFP (resistFingerprinting) // >>>>>>>>>>>>>>>>>>>>> // // Disable RFP // defaultPref("privacy.resistFingerprinting", true); // [FF114+] // defaultPref("privacy.resistFingerprinting.pbmode", true); // [FF114+] // ------------------------------------- -// Set new window size rounding max values [FF55+] +// Set RFP new window size max rounded values [FF55+] defaultPref("privacy.window.maxInnerWidth", 1400); defaultPref("privacy.window.maxInnerHeight", 900); // ------------------------------------- // Disable mozAddonManager Web API [FF57+] lockPref("privacy.resistFingerprinting.block_mozAddonManager", true); // ------------------------------------- -// Enable RFP letterboxing [FF67+] +// Enable letterboxing [FF67+] // defaultPref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF] // defaultPref("privacy.resistFingerprinting.letterboxing.dimensions", ""); // [HIDDEN PREF] // ------------------------------------- @@ -720,15 +746,12 @@ lockPref("privacy.resistFingerprinting.block_mozAddonManager", true); // defaultPref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid"); // ------------------------------------- // Disable RFP spoof english prompt [FF59+] -// 0=prompt, 1=disabled, 2=enabled (requires RFP) +// 0=prompt, 1=disabled, 2=enabled defaultPref("privacy.spoof_english", 1); // ------------------------------------- // Disable using system colors lockPref("browser.display.use_system_colors", false); // [DEFAULT: false NON-WINDOWS] // ------------------------------------- -// Enforce non-native widget theme -lockPref("widget.non-native-theme.enabled", true); // [DEFAULT: true] -// ------------------------------------- // Enforce links targeting new windows to open in a new tab instead // 1=most recent window or tab, 2=new window, 3=new tab defaultPref("browser.link.open_newwindow", 3); // [DEFAULT: 3] @@ -778,6 +801,7 @@ defaultPref("browser.urlbar.suggest.bookmark", false); defaultPref("browser.urlbar.suggest.openpage", false); defaultPref("browser.urlbar.suggest.topsites", false); // [FF78+] defaultPref("browser.urlbar.suggest.weather", false); +defaultPref("browser.urlbar.suggest.fakespot", false); // ------------------------------------- // Disable location bar dropdown // defaultPref("browser.urlbar.maxRichResults", 0); @@ -843,9 +867,10 @@ defaultPref("gfx.font_rendering.graphite.enabled", false); // Disable asm.js [FF22+] lockPref("javascript.options.asmjs", false); // ------------------------------------- -// Disable Ion and baseline JIT to harden against JS exploits +// Disable Ion and baseline JIT to harden against JS exploits [RESTART] // defaultPref("javascript.options.ion", false); // defaultPref("javascript.options.baselinejit", false); +// defaultPref("javascript.options.wasm_baselinejit", false); // defaultPref("javascript.options.jit_trustedprincipals", true); // [FF75+] [HIDDEN PREF] // ------------------------------------- // Disable WebAssembly [FF52+] @@ -870,6 +895,22 @@ defaultPref("browser.eme.ui.enabled", false); // ------------------------------------- // Set DoH bootstrap address [FF89+] // defaultPref("network.trr.bootstrapAddr", "10.0.0.1"); // [HIDDEN PREF] +// ------------------------------------- +// Enable Post Quantum Key Agreement (Kyber) Crear sección, ya aparecen algunas entradas en OTHER +defaultPref("media.webrtc.enable_pq_dtls", true); +defaultPref("network.http.http3.enable_kyber", true); +defaultPref("security.tls.enable_kyber", true); +// ------------------------------------- +// Protect against CSRF Attacks (Like Chromium) +defaultPref("network.cookie.sameSite.laxByDefault", true); +defaultPref("network.cookie.sameSite.noneRequiresSecure", true); +defaultPref("network.cookie.sameSite.schemeful", true); +// ------------------------------------- +// Block Cookie Banners +defaultPref("cookiebanners.service.mode", 1); +defaultPref("cookiebanners.service.mode.privateBrowsing", 1); +defaultPref("cookiebanners.service.enableGlobalRules", true); +defaultPref("cookiebanners.ui.desktop.enabled", true); // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // DON'T TOUCH @@ -908,7 +949,7 @@ lockPref("extensions.webcompat-reporter.enabled", false); // [DEFAULT: false] // Disable Quarantined Domains [FF115+] defaultPref("extensions.quarantinedDomains.enabled", false); // [DEFAULT: true] // ------------------------------------- -// prefsCleaner: previously active items removed from arkenfox 115-117 +// prefsCleaner: previously active items removed from arkenfox 115-127 // defaultPref("accessibility.force_disabled", ""); // defaultPref("browser.urlbar.dnsResolveSingleWordsAfterSearch", ""); // defaultPref("network.protocol-handler.external.ms-windows-store", ""); @@ -933,7 +974,7 @@ defaultPref("permissions.default.desktop-notification", 2); defaultPref("permissions.default.xr", 2); // Virtual Reality // ------------------------------------- // Disable canvas capture stream -defaultPref"canvas.capturestream.enabled", false); +defaultPref("canvas.capturestream.enabled", false); // ------------------------------------- // Disable offscreen canvas defaultPref("gfx.offscreencanvas.enabled", false); @@ -967,6 +1008,8 @@ defaultPref("gfx.offscreencanvas.enabled", false); // 0=no-referer, 1=same-origin, 2=strict-origin-when-cross-origin, 3=no-referrer-when-downgrade // defaultPref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2] // defaultPref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2] +defaultPref("network.http.referer.defaultPolicy.trackers", 1); +defaultPref("network.http.referer.defaultPolicy.trackers.pbmode", 1); // ------------------------------------- // Disable HTTP Alternative Services [FF37+] // defaultPref("network.http.altsvc.enabled", false); @@ -989,10 +1032,10 @@ defaultPref("extensions.systemAddon.update.url", ""); // [FF44+] defaultPref("privacy.donottrackheader.enabled", false); // ------------------------------------- // Customize ETP settings -defaultPref("network.cookie.cookieBehavior", 5); // [DEFAULT: 5 FF103+] -// defaultPref("privacy.fingerprintingProtection", true); // [FF114+] [ETP FF119+] +// defaultPref("network.cookie.cookieBehavior", 5); // [DEFAULT: 5 FF103+] +defaultPref("privacy.fingerprintingProtection", true); // [FF114+] [ETP FF119+] // defaultPref("privacy.partition.network_state.ocsp_cache", true); // [DEFAULT: true FF123+] -// defaultPref("privacy.query_stripping.enabled", true); // [FF101+] +defaultPref("privacy.query_stripping.enabled", true); // [FF101+] defaultPref("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"); // defaultPref("network.http.referer.disallowCrossSiteRelaxingDefault", true); // defaultPref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); // [FF100+] @@ -1021,7 +1064,9 @@ defaultPref("dom.push.userAgentID", ""); defaultPref("media.peerconnection.enabled", false); // ------------------------------------- // Enable GPC (Global Privacy Control) in non-PB windows -// defaultPref("privacy.globalprivacycontrol.enabled", true); +defaultPref("privacy.globalprivacycontrol.enabled", true); +defaultPref("privacy.globalprivacycontrol.functionality.enabled", true); +defaultPref("privacy.globalprivacycontrol.pbmode.enabled", true); // [DEFAULT: true] // // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // DON'T BOTHER: FINGERPRINTING @@ -1069,6 +1114,7 @@ defaultPref("browser.startup.homepage_override.mstone", "ignore"); // [HIDDEN PR defaultPref("startup.homepage_welcome_url", ""); defaultPref("startup.homepage_welcome_url.additional", ""); defaultPref("startup.homepage_override_url", ""); // What's New page after updates +defaultPref("browser.aboutwelcome.enabled", false); // // WARNINGS // @@ -1116,6 +1162,7 @@ defaultPref("browser.newtabpage.activity-stream.showSearch", false); defaultPref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false); defaultPref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); defaultPref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); +defaultPref("browser.newtabpage.activity-stream.showWeather", false); // // UX FEATURES // @@ -1124,6 +1171,7 @@ lockPref("extensions.screenshots.disabled", true); // [FF55+] lockPref("identity.fxaccounts.enabled", false); // Firefox Accounts & Sync [FF60+] [RESTART] defaultPref("reader.parse-on-load.enabled", false); // Reader View defaultPref("browser.tabs.firefox-view", false); // Firefox-view +defaultPref("browser.firefox-view.virtual-list.enabled", false); // // PERFORMANCE AND SOME TRICKS // @@ -1205,4 +1253,12 @@ defaultPref("browser.ping-centre.telemetry", false); // // Disable What's New toolbar icon [FF69+] defaultPref("browser.messaging-system.whatsNewPanel.enabled", false); +// +// FF127 +// +// Disable content analysis by DLP (Data Loss Prevention) agents - replaced by default_result +defaultPref("browser.contentanalysis.default_allow", false); +// ------------------------------------- +// Enforce non-native widget theme +defaultPref("widget.non-native-theme.enabled", true); // [DEFAULT: true] // \ No newline at end of file