diff --git a/firefox/user.js b/firefox/user.js index 6c73887..716ca1b 100755 --- a/firefox/user.js +++ b/firefox/user.js @@ -2,7 +2,7 @@ // // 2020/11/04 // -// Based on Privacy-Handbuch, merged/adjusted minimal/moderate user.js +// Based on Privacy-Handbuch, merged/adjusted strong user.js // Download: https://www.privacy-handbuch.de/handbuch_21u.htm // // Install when Firefox is closed! @@ -35,6 +35,8 @@ user_pref("browser.newtabpage.activity-stream.telemetry", false); user_pref("browser.pagethumbnails.capturing_disabled", true); user_pref("browser.ping-centre.telemetry", false); user_pref("browser.privatebrowsing.autostart", false); +user_pref("browser.region.update.enabled", false); +user_pref("browser.region.network.url", ""); user_pref("browser.safebrowsing.downloads.remote.url", " "); user_pref("browser.safebrowsing.downloads.enabled", false); user_pref("browser.safebrowsing.phishing.enabled", false); @@ -52,8 +54,7 @@ user_pref("browser.safebrowsing.provider.google4.updateURL", ""); user_pref("browser.safebrowsing.provider.mozilla.gethashURL", ""); user_pref("browser.safebrowsing.provider.mozilla.updateURL", ""); user_pref("browser.search.update", false); -user_pref("browser.region.update.enabled", false); -user_pref("browser.region.network.url", ""); +user_pref("browser.search.geoSpecificDefaults", false); user_pref("browser.search.suggest.enabled", false); user_pref("browser.search.reset.enabled", false); user_pref("browser.search.reset.whitelist", ""); @@ -61,7 +62,7 @@ user_pref("browser.search.reset.whitelist", ""); user_pref("browser.sessionstore.resume_session_once", false); user_pref("browser.sessionstore.resume_from_crash", false); // set to -1 for unlimited ctrl+shift+t -user_pref("browser.sessionstore.max_tabs_undo", 3); +user_pref("browser.sessionstore.max_tabs_undo", 5); user_pref("browser.sessionstore.max_windows_undo", 0); user_pref("browser.sessionstore.privacy_level", 2); user_pref("browser.slowStartup.notificationDisabled", true); @@ -76,20 +77,19 @@ user_pref("browser.urlbar.suggest.searches", false); user_pref("browser.urlbar.suggest.topsites", false); user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("datareporting.policy.dataSubmissionEnabled", false); -//user_pref("device.sensors.enabled", false); +user_pref("device.sensors.enabled", false); +user_pref("dom.block_download_insecure", true); //user_pref("dom.enable_performance", false); //user_pref("dom.enable_performance_navigation_timing", false); //user_pref("dom.enable_resource_timing", false); //user_pref("dom.event.clipboardevents.enabled", false); -//user_pref("dom.gamepad.enabled", false); +user_pref("dom.gamepad.enabled", false); //user_pref("dom.min_timeout_value", 4); //user_pref("dom.push.connection.enabled", false); //user_pref("dom.push.enabled", false); //user_pref("dom.push.serverURL", ""); //user_pref("dom.security.https_only_mode", true); user_pref("dom.webnotifications.enabled", false); -// disable downloads over http and enforce ssl -user_pref("dom.block_download_insecure", true); user_pref("extensions.blocklist.enabled", false); user_pref("extensions.formautofill.addresses.enabled", false); user_pref("extensions.formautofill.creditCards.enabled", false); @@ -140,8 +140,9 @@ user_pref("network.http.referer.XOriginPolicy", 2); user_pref("network.http.speculative-parallel-limit", 0); user_pref("network.IDN_show_punycode", true); user_pref("network.manage-offline-status", false); +user_pref("network.security.esni.enabled", true); // allow local storage, so websites won't break -//user_pref("offline-apps.allow_by_default", false); +user_pref("offline-apps.allow_by_default", true); //user_pref("offline-apps.quota.warn", 0); user_pref("pdfjs.disabled", true); user_pref("places.history.enabled", true); @@ -167,9 +168,8 @@ user_pref("privacy.history.custom", true); user_pref("privacy.purge_trackers.enabled", true); user_pref("privacy.sanitize.migrateClearSavedPwdsOnExit", true); user_pref("privacy.sanitize.sanitizeOnShutdown", true); -// disable containers -user_pref("privacy.userContext.enabled", false); -user_pref("privacy.userContext.ui.enabled", false); +user_pref("privacy.userContext.enabled", true); +user_pref("privacy.userContext.ui.enabled", true); user_pref("privacy.usercontext.about_newtab_segregation.enabled", true); // prevent wrong dates user_pref("privacy.resistFingerprinting", false); @@ -188,7 +188,7 @@ user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true); user_pref("signon.autofillForms", false); user_pref("signon.formlessCapture.enabled", false); user_pref("signon.rememberSignons", false); -//user_pref("svg.disabled", true); +user_pref("svg.disabled", false); user_pref("toolkit.coverage.endpoint.base", ""); user_pref("toolkit.coverage.opt-out", true); user_pref("toolkit.telemetry.archive.enabled", false); @@ -203,7 +203,9 @@ user_pref("toolkit.telemetry.unified", false); user_pref("toolkit.telemetry.infoURL", ""); user_pref("ui.use_standins_for_native_colors", true); user_pref("ui.systemUsesDarkTheme", 0); +user_pref("webgl.disabled", false); user_pref("webgl.disable-fail-if-major-performance-caveat", true); +user_pref("webgl.enable-webgl2", false); user_pref("webgl.min_capability_mode", true); user_pref("webgl.enable-debug-renderer-info", false); @@ -212,36 +214,12 @@ user_pref("network.trr.resolvers", '[{ "name": "Cloudflare", "url": "https://moz // adjust the following to your liking // 0 = use system DNS, 2 = use DNS-over-HTTPS resolver, select one in UI under network, otherwise you might end up with cloudflare user_pref("network.trr.mode", 2); - -// set the trr URI from one of the list above user_pref("network.trr.uri", "https://dns.myservermanager.com/dns-query"); -// only allow plugins which are actively confirmed -user_pref("plugins.click_to_play", true); - -// additionally set, should be revised -user_pref("general.warnOnAboutConfig", false); -user_pref("experiments.activeExperiment", false); -user_pref("experiments.enabled", false); -user_pref("experiments.manifest.uri", ""); -user_pref("experiments.supported", false); -user_pref("security.OCSP.enabled", 1); -user_pref("security.family_safety.mode", 0); -user_pref("signon.management.page.breach-alerts.enabled", false); -user_pref("signon.management.page.breachAlertUrl", ""); - -// disabling referer might break some sites, set to 0 to disable -user_pref("network.http.sendRefererHeader", 0); - // customly set, adjust to your liking +user_pref("general.warnOnAboutConfig", false); user_pref("general.smoothScroll", false); user_pref("general.smoothScroll.pages", false); user_pref("mousewheel.min_line_scroll_amount", 40); -user_pref("geo.enabled", false); -user_pref("geo.wifi.uri", ""); -user_pref("webgl.disabled", true); -user_pref("media.video_stats.enabled", false); -user_pref("security.ssl3.dhe_rsa_aes_128_sha", false); -user_pref("security.ssl3.dhe_rsa_aes_256_sha", false); user_pref("media.cache_readahead_limit", 999999); user_pref("media.cache_resume_threshold", 999999);