Upload files to "/"

This commit is contained in:
Narsil 2025-08-14 16:50:55 +00:00
parent f5c01a30ee
commit 81ea7998c7
1 changed files with 29 additions and 9 deletions

38
user.js
View File

@ -29,15 +29,16 @@ user_pref("browser.shell.skipDefaultBrowserCheckOnFirstRun", true);
user_pref("browser.startup.page", 0); user_pref("browser.startup.page", 0);
// ------------------------------------- // -------------------------------------
// Set HOME+NEWWINDOW page // Set HOME+NEWWINDOW page
user_pref("browser.startup.homepage", "about:blank"); user_pref("browser.startup.homepage", "chrome://browser/content/blanktab.html");
// ------------------------------------- // -------------------------------------
// Set NEWTAB page // Set NEWTAB page
// true=Activity Stream (default), false=blank page // true=Activity Stream (default), false=blank page
user_pref("browser.newtabpage.enabled", false); user_pref("browser.newtabpage.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable sponsored content on Firefox Home (Activity Stream) // Disable sponsored content on Firefox Home (Activity Stream)
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // [FF58+] user_pref("browser.newtabpage.activity-stream.showSponsored", false); // [FF58+] Sponsored stories
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // [FF83+] Shortcuts>Sponsored shortcuts user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // [FF83+] Sponsored shortcuts
user_pref("browser.newtabpage.activity-stream.showSponsoredCheckboxes", false); // [FF140+] Support Firefox
// ------------------------------------- // -------------------------------------
// Clear default topsites // Clear default topsites
user_pref("browser.newtabpage.activity-stream.default.sites", ""); user_pref("browser.newtabpage.activity-stream.default.sites", "");
@ -82,8 +83,9 @@ user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
user_pref("browser.discovery.enabled", false); user_pref("browser.discovery.enabled", false);
user_pref("browser.discovery.sites", ""); user_pref("browser.discovery.sites", "");
user_pref("extensions.getAddons.discovery.api_url", ""); user_pref("extensions.getAddons.discovery.api_url", "");
// -------------------------------------
// //
// TELEMETRY // ACTIVITY STREAM
// //
// Disable new data submission [FF41+] // Disable new data submission [FF41+]
user_pref("datareporting.policy.dataSubmissionEnabled", false); user_pref("datareporting.policy.dataSubmissionEnabled", false);
@ -339,9 +341,11 @@ user_pref("browser.urlbar.trending.featureGate", false);
// ------------------------------------- // -------------------------------------
// Disable urlbar suggestions // Disable urlbar suggestions
user_pref("browser.urlbar.addons.featureGate", false); // [FF115+] user_pref("browser.urlbar.addons.featureGate", false); // [FF115+]
user_pref("browser.urlbar.amp.featureGate", false); // [FF141+] adMarketplace
user_pref("browser.urlbar.fakespot.featureGate", false); // [FF130+] [DEFAULT: false] user_pref("browser.urlbar.fakespot.featureGate", false); // [FF130+] [DEFAULT: false]
user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF] user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+]
user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false] user_pref("browser.urlbar.weather.featureGate", false); // [FF108+]
user_pref("browser.urlbar.wikipedia.featureGate", false); // [FF141+]
user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+] user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+]
// ------------------------------------- // -------------------------------------
// Disable urlbar clipboard suggestions [FF118+] // Disable urlbar clipboard suggestions [FF118+]
@ -595,6 +599,12 @@ user_pref("browser.tabs.searchclipboardfor.middleclick", false); // [DEFAULT: fa
user_pref("browser.contentanalysis.enabled", false); // [FF121+] [DEFAULT: false] user_pref("browser.contentanalysis.enabled", false); // [FF121+] [DEFAULT: false]
user_pref("browser.contentanalysis.default_result", 0); // [FF127+] [DEFAULT: 0] user_pref("browser.contentanalysis.default_result", 0); // [FF127+] [DEFAULT: 0]
// ------------------------------------- // -------------------------------------
// Disable referrer and storage access for resources injected by content scripts [FF139+]
// user_pref("privacy.antitracking.isolateContentScriptResources", true);
// -------------------------------------
// Disable CSP Level 2 Reporting [FF140+]
user_pref("security.csp.reporting.enabled", false);
// -------------------------------------
// Disable the default checkedness for "Save card and address to Firefox" checkboxes // Disable the default checkedness for "Save card and address to Firefox" checkboxes
user_pref("dom.payments.defaults.saveAddress", false); user_pref("dom.payments.defaults.saveAddress", false);
user_pref("dom.payments.defaults.saveCreditCard", false); user_pref("dom.payments.defaults.saveCreditCard", false);
@ -660,7 +670,7 @@ user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true); // [D
// //
// Set/enforce clearOnShutdown items [FF136+] // Set/enforce clearOnShutdown items [FF136+]
user_pref("privacy.clearOnShutdown_v2.browsingHistoryAndDownloads", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown_v2.browsingHistoryAndDownloads", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown_v2.downloads", true); user_pref("privacy.clearOnShutdown_v2.downloads", true); // [HIDDEN]
user_pref("privacy.clearOnShutdown_v2.formdata", true); user_pref("privacy.clearOnShutdown_v2.formdata", true);
// //
// Set Session Restore to clear on shutdown [FF34+] // Set Session Restore to clear on shutdown [FF34+]
@ -742,6 +752,9 @@ user_pref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF]
// 0=prompt, 1=disabled, 2=enabled // 0=prompt, 1=disabled, 2=enabled
user_pref("privacy.spoof_english", 2); user_pref("privacy.spoof_english", 2);
// ------------------------------------- // -------------------------------------
// Skip browser.startup.blankWindow if RFP is used [FF136+]
// user_pref("privacy.resistFingerprinting.skipEarlyBlankFirstPaint", true); // [DEFAULT: true]
// -------------------------------------
// Disable using system colors // Disable using system colors
user_pref("browser.display.use_system_colors", false); // [DEFAULT: false NON-WINDOWS] user_pref("browser.display.use_system_colors", false); // [DEFAULT: false NON-WINDOWS]
// ------------------------------------- // -------------------------------------
@ -883,7 +896,7 @@ user_pref("gfx.font_rendering.opentype_svg.enabled", false);
// Disable widevine CDM (Content Decryption Module) // Disable widevine CDM (Content Decryption Module)
user_pref("media.gmp-widevinecdm.enabled", false); user_pref("media.gmp-widevinecdm.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable all DRM content (EME: Encryption Media Extension) // Disable all DRM (Digital Rights Management) content (EME: Encryption Media Extension)
user_pref("media.eme.enabled", false); user_pref("media.eme.enabled", false);
user_pref("browser.eme.ui.enabled", false); user_pref("browser.eme.ui.enabled", false);
// ------------------------------------- // -------------------------------------
@ -1094,7 +1107,6 @@ user_pref("privacy.globalprivacycontrol.pbmode.enabled", true); // [DEFAULT: tru
// user_pref("general.oscpu.override", ""); // [HIDDEN PREF] // user_pref("general.oscpu.override", ""); // [HIDDEN PREF]
// user_pref("general.platform.override", ""); // [HIDDEN PREF] // user_pref("general.platform.override", ""); // [HIDDEN PREF]
// user_pref("general.useragent.override", "Mozilla/5.0 (Android 10; Mobile; rv:128.0) Gecko/115.0 Firefox/128.0"); // [HIDDEN PREF] // user_pref("general.useragent.override", "Mozilla/5.0 (Android 10; Mobile; rv:128.0) Gecko/115.0 Firefox/128.0"); // [HIDDEN PREF]
// user_pref("media.ondevicechange.enabled", false);
// user_pref("media.video_stats.enabled", false); // user_pref("media.video_stats.enabled", false);
// user_pref("webgl.enable-debug-renderer-info", false); // user_pref("webgl.enable-debug-renderer-info", false);
user_pref("ui.use_standins_for_native_colors", true); user_pref("ui.use_standins_for_native_colors", true);
@ -1214,5 +1226,13 @@ user_pref("media.realtime_decoder.enabled", false);
// Remove webchannel whitelist // Remove webchannel whitelist
// user_pref("webchannel.allowObject.urlWhitelist", ""); // user_pref("webchannel.allowObject.urlWhitelist", "");
// //
// FF140
//
// Disable shopping experience [FF116+]
user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false]
// -------------------------------------
// Disable urlbar suggestions
user_pref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false]
//
// Check the prefs are applied // Check the prefs are applied
user_pref("_config.is.applied", true); user_pref("_config.is.applied", true);