Upload files to "/"

This commit is contained in:
Narsil 2024-06-14 09:17:46 +00:00
parent 48b52e4864
commit 1f35ef2969
1 changed files with 63 additions and 25 deletions

88
user.js
View File

@ -23,7 +23,7 @@ user_pref("browser.aboutConfig.showWarning", false);
// Disable default browser check // Disable default browser check
user_pref("browser.shell.checkDefaultBrowser", false); user_pref("browser.shell.checkDefaultBrowser", false);
// ------------------------------------- // -------------------------------------
// Set startup page [SETUP-CHROME] // Set startup page
// 0=blank, 1=home, 2=last visited page, 3=resume previous session // 0=blank, 1=home, 2=last visited page, 3=resume previous session
user_pref("browser.startup.page", 0); user_pref("browser.startup.page", 0);
// ------------------------------------- // -------------------------------------
@ -35,8 +35,8 @@ user_pref("browser.startup.homepage", "about:blank");
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+] Pocket > Sponsored Stories user_pref("browser.newtabpage.activity-stream.showSponsored", false); // [FF58+]
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // [FF83+] Sponsored shortcuts user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // [FF83+] Shortcuts>Sponsored shortcuts
// ------------------------------------- // -------------------------------------
// Clear default topsites // Clear default topsites
user_pref("browser.newtabpage.activity-stream.default.sites", ""); user_pref("browser.newtabpage.activity-stream.default.sites", "");
@ -103,15 +103,13 @@ user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); // [FF55+]
user_pref("toolkit.telemetry.updatePing.enabled", false); // [FF56+] user_pref("toolkit.telemetry.updatePing.enabled", false); // [FF56+]
user_pref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter user_pref("toolkit.telemetry.bhrPing.enabled", false); // [FF57+] Background Hang Reporter
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+] user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); // [FF57+]
user_pref("browser.search.serpEventTelemetry.enabled",false);
// ------------------------------------- // -------------------------------------
// Disable Telemetry Coverage // Disable Telemetry Coverage
user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF] user_pref("toolkit.telemetry.coverage.opt-out", true); // [HIDDEN PREF]
user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF] user_pref("toolkit.coverage.opt-out", true); // [FF64+] [HIDDEN PREF]
user_pref("toolkit.coverage.endpoint.base", ""); user_pref("toolkit.coverage.endpoint.base", "");
// ------------------------------------- // -------------------------------------
// Disable PingCentre telemetry (used in several System Add-ons) [FF57+]
user_pref("browser.ping-centre.telemetry", false);
// -------------------------------------
// Disable Firefox Home (Activity Stream) telemetry // Disable Firefox Home (Activity Stream) telemetry
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false); user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
user_pref("browser.newtabpage.activity-stream.telemetry", false); user_pref("browser.newtabpage.activity-stream.telemetry", false);
@ -328,8 +326,9 @@ user_pref("network.trr.custom_uri", "");
user_pref("browser.urlbar.speculativeConnect.enabled", false); user_pref("browser.urlbar.speculativeConnect.enabled", false);
// ------------------------------------- // -------------------------------------
// Disable location bar contextual suggestions // Disable location bar contextual suggestions
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] // user_pref("browser.urlbar.quicksuggest.enabled", false); // [FF92+] [DEFAULT: false]
user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+] // user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] [DEFAULT: false]
// user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+] [DEFAULT: false]
// ------------------------------------- // -------------------------------------
// Disable live search suggestions // Disable live search suggestions
user_pref("browser.search.suggest.enabled", false); user_pref("browser.search.suggest.enabled", false);
@ -343,9 +342,10 @@ user_pref("browser.urlbar.addons.featureGate", false); // [FF115+]
user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF] user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF]
user_pref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false] user_pref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false]
user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false] user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false]
user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+] [DEFAULT: false]
// ------------------------------------- // -------------------------------------
// Disable urlbar clipboard suggestions [FF118+] // Disable urlbar clipboard suggestions [FF118+]
// user_pref("browser.urlbar.clipboard.featureGate", false); // [DEFAULT: false] user_pref("browser.urlbar.clipboard.featureGate", false);
// ------------------------------------- // -------------------------------------
// Disable search and form history // Disable search and form history
user_pref("browser.formfill.enable", false); user_pref("browser.formfill.enable", false);
@ -406,7 +406,7 @@ user_pref("browser.cache.disk.enable", false);
user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); // [FF75+] user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); // [FF75+]
user_pref("media.memory_cache_max_size", 65536); user_pref("media.memory_cache_max_size", 65536);
// ------------------------------------- // -------------------------------------
// Disable storing extra session data [SETUP-CHROME] // Disable storing extra session data
// 0=everywhere, 1=unencrypted sites, 2=nowhere // 0=everywhere, 1=unencrypted sites, 2=nowhere
user_pref("browser.sessionstore.privacy_level", 2); user_pref("browser.sessionstore.privacy_level", 2);
// ------------------------------------- // -------------------------------------
@ -504,6 +504,9 @@ user_pref("privacy.userContext.ui.enabled", true);
// ------------------------------------- // -------------------------------------
// Set behavior on "+ Tab" button to display container menu on left click [FF74+] // Set behavior on "+ Tab" button to display container menu on left click [FF74+]
// user_pref("privacy.userContext.newTabContainerOnLeftClick.enabled", true); // user_pref("privacy.userContext.newTabContainerOnLeftClick.enabled", true);
// -------------------------------------
// Set external links to open in site-specific containers [FF123+]
// user_pref("browser.link.force_default_user_context_id_for_external_opens", true);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// PLUGINS / MEDIA / WEBRTC // PLUGINS / MEDIA / WEBRTC
@ -571,6 +574,9 @@ user_pref("pdfjs.enableScripting", false); // [FF86+]
// Disable middle click on new tab button opening URLs or searches using clipboard [FF115+] // Disable middle click on new tab button opening URLs or searches using clipboard [FF115+]
user_pref("browser.tabs.searchclipboardfor.middleclick", false); // [DEFAULT: false NON-LINUX] user_pref("browser.tabs.searchclipboardfor.middleclick", false); // [DEFAULT: false NON-LINUX]
// ------------------------------------- // -------------------------------------
// Disable content analysis by DLP (Data Loss Prevention) agents
user_pref("browser.contentanalysis.default_allow", false); // [FF124+] [DEFAULT: 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);
@ -621,45 +627,59 @@ user_pref("browser.contentblocking.category", "strict"); // [HIDDEN PREF]
// Enable Firefox to clear items on shutdown // Enable Firefox to clear items on shutdown
user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.sanitize.sanitizeOnShutdown", true);
// //
// SANITIZE ON SHUTDOWN: IGNORES "ALLOW" SITE EXCEPTIONS // SANITIZE ON SHUTDOWN: IGNORES "ALLOW" SITE EXCEPTIONS | v2 migration is FF128+
// //
// Set/enforce what items to clear on shutdown [SETUP-CHROME] // Set/enforce what items to clear on shutdown
user_pref("privacy.clearOnShutdown.cache", true); user_pref("privacy.clearOnShutdown.cache", true);
user_pref("privacy.clearOnShutdown_v2.cache", true); // [FF128+] [DEFAULT: true]
user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT: true]
user_pref("privacy.clearOnShutdown.sessions", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true); // [FF128+] [DEFAULT: true]
// user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false] // user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false]
// user_pref("privacy.clearOnShutdown_v2.siteSettings", false); // [FF128+] [DEFAULT: false]
// ------------------------------------- // -------------------------------------
// Set Session Restore to clear on shutdown [FF34+] // Set Session Restore to clear on shutdown [FF34+]
// user_pref("privacy.clearOnShutdown.openWindows", true); // user_pref("privacy.clearOnShutdown.openWindows", true);
// //
// SANITIZE ON SHUTDOWN: RESPECTS "ALLOW" SITE EXCEPTIONS FF103+ // SANITIZE ON SHUTDOWN: RESPECTS "ALLOW" SITE EXCEPTIONS FF103+ | v2 migration is FF128+
// //
// Set "Cookies" and "Site Data" to clear on shutdown // Set "Cookies" and "Site Data" to clear on shutdown
user_pref("privacy.clearOnShutdown.cookies", true); // Cookies user_pref("privacy.clearOnShutdown.cookies", true); // Cookies
user_pref("privacy.clearOnShutdown.offlineApps", true); // Site Data user_pref("privacy.clearOnShutdown.offlineApps", true); // Site Data
user_pref("privacy.clearOnShutdown.sessions", true); // Active Logins [DEFAULT: true]
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); // Cookies, Site Data, Active Logins [FF128+]
// //
// SANITIZE MANUAL: IGNORES "ALLOW" SITE EXCEPTIONS // SANITIZE SITE DATA: IGNORES "ALLOW" SITE EXCEPTIONS
// //
// Reset default items to clear with Ctrl-Shift-Del // Set manual "Clear Data" items [FF128+]
user_pref("privacy.clearSiteData.cache", true);
user_pref("privacy.clearSiteData.cookiesAndStorage", false); // keep false until it respects "allow" site exceptions
user_pref("privacy.clearSiteData.historyFormDataAndDownloads", true);
// user_pref("privacy.clearSiteData.siteSettings", false);
//
// SANITIZE HISTORY: IGNORES "ALLOW" SITE EXCEPTIONS | clearHistory migration is FF128+
//
// Set manual "Clear History" items, also via Ctrl-Shift-Del
user_pref("privacy.cpd.cache", true); // [DEFAULT: true] user_pref("privacy.cpd.cache", true); // [DEFAULT: true]
user_pref("privacy.clearHistory.cache", true);
user_pref("privacy.cpd.formdata", true); // Form & Search History user_pref("privacy.cpd.formdata", true); // Form & Search History
user_pref("privacy.cpd.history", true); // Browsing & Download History user_pref("privacy.cpd.history", true); // Browsing & Download History
user_pref("privacy.cpd.offlineApps", true); // Offline Website Data // user_pref("privacy.cpd.downloads", true); // not used, see note above
user_pref("privacy.clearHistory.historyFormDataAndDownloads", true);
user_pref("privacy.cpd.cookies", false);
user_pref("privacy.cpd.sessions", true); // [DEFAULT: true] user_pref("privacy.cpd.sessions", true); // [DEFAULT: true]
user_pref("privacy.cpd.offlineApps", true); // [DEFAULT: false] user_pref("privacy.cpd.offlineApps", true); // [DEFAULT: false]
user_pref("privacy.cpd.cookies", true); user_pref("privacy.clearHistory.cookiesAndStorage", false);
// user_pref("privacy.cpd.downloads", true); // not used
// user_pref("privacy.cpd.openWindows", false); // Session Restore // user_pref("privacy.cpd.openWindows", false); // Session Restore
// user_pref("privacy.cpd.passwords", false); // user_pref("privacy.cpd.passwords", false);
// user_pref("privacy.cpd.siteSettings", false); // user_pref("privacy.cpd.siteSettings", false);
// user_pref("privacy.clearHistory.siteSettings", false);
// ------------------------------------- // -------------------------------------
// Clear Session Restore data when sanitizing on shutdown or manually [FF34+] //
// user_pref("privacy.clearOnShutdown.openWindows", true); // SANITIZE MANUAL: TIMERANGE
// user_pref("privacy.cpd.openWindows", true); //
// ------------------------------------- // set "Time range to clear" for "Clear Data" and "Clear History"
// Reset default "Time range to clear" for "Clear Recent History"
// 0=everything, 1=last hour, 2=last two hours, 3=last four hours, 4=today // 0=everything, 1=last hour, 2=last two hours, 3=last four hours, 4=today
user_pref("privacy.sanitize.timeSpan", 0); user_pref("privacy.sanitize.timeSpan", 0);
// //
@ -671,6 +691,9 @@ user_pref("privacy.sanitize.timeSpan", 0);
// ------------------------------------- // -------------------------------------
// Set global FPP overrides [FF114+] // Set global FPP overrides [FF114+]
// user_pref("privacy.fingerprintingProtection.overrides", ""); // user_pref("privacy.fingerprintingProtection.overrides", "");
// -------------------------------------
// Disable remote FPP overrides [FF127+]
// user_pref("privacy.fingerprintingProtection.remoteOverrides.enabled", false);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// RFP (resistFingerprinting) // RFP (resistFingerprinting)
@ -694,6 +717,10 @@ user_pref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF]
// Experimental RFP [FF91+] // Experimental RFP [FF91+]
// user_pref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid"); // user_pref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid");
// ------------------------------------- // -------------------------------------
// Enable RFP spoof english prompt [FF59+]
// 0=prompt, 1=disabled, 2=enabled (requires RFP)
user_pref("privacy.spoof_english", 2);
// -------------------------------------
// 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]
// ------------------------------------- // -------------------------------------
@ -987,6 +1014,8 @@ user_pref("dom.push.userAgentID", "");
// Disable WebRTC (Web Real-Time Communication) // Disable WebRTC (Web Real-Time Communication)
user_pref("media.peerconnection.enabled", false); user_pref("media.peerconnection.enabled", false);
// ------------------------------------- // -------------------------------------
// Enable GPC (Global Privacy Control) in non-PB windows
// user_pref("privacy.globalprivacycontrol.enabled", true);
// //
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> // >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// DON'T BOTHER: FINGERPRINTING // DON'T BOTHER: FINGERPRINTING
@ -1093,7 +1122,6 @@ user_pref("browser.tabs.firefox-view", false); // Firefox-view
// //
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable CFR [FF67+] 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.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); // disable CFR [FF67+]
user_pref("browser.messaging-system.whatsNewPanel.enabled", false); // What's New toolbar icon [FF69+]
user_pref("browser.urlbar.showSearchTerms.enabled", false); user_pref("browser.urlbar.showSearchTerms.enabled", false);
user_pref("browser.sessionstore.interval", 30000); // minimum interval between session save operations user_pref("browser.sessionstore.interval", 30000); // minimum interval between session save operations
user_pref("network.manage-offline-status", false); user_pref("network.manage-offline-status", false);
@ -1147,5 +1175,15 @@ user_pref("security.family_safety.mode", 0);
// Disable skipping DoH when parental controls are enabled [FF70+] // Disable skipping DoH when parental controls are enabled [FF70+]
user_pref("network.dns.skipTRR-when-parental-control-enabled", false); user_pref("network.dns.skipTRR-when-parental-control-enabled", false);
// //
// FF123
//
// Disable PingCentre telemetry (used in several System Add-ons) [FF57+]
user_pref("browser.ping-centre.telemetry", false);
//
// FF126
//
// Disable What's New toolbar icon [FF69+]
user_pref("browser.messaging-system.whatsNewPanel.enabled", false);
//
// Check the prefs are applied // Check the prefs are applied
user_pref("_config.is.applied", true); user_pref("_config.is.applied", true);