Update user.js

This commit is contained in:
Alexander Schäferdiek 2020-04-25 13:54:26 +02:00
parent 709b72292f
commit f28572983f

View file

@ -1,17 +1,14 @@
# Mozilla User Preferences # Mozilla User Preferences
# #
# 2020/02/25 # 2020/04/25
# Based on
# #
# Privacy-Handbuch, minimal/moderate user.js # Based on Privacy-Handbuch, merged/adjusted minimal/moderate user.js
# Download: https://www.privacy-handbuch.de/handbuch_21u.htm # Download: https://www.privacy-handbuch.de/handbuch_21u.htm
# #
#
# Install when Firefox is closed! # Install when Firefox is closed!
# Feel free to comment in or modify if you don't like the default setting. # Feel free to comment in or modify if you don't like the default setting.
user_pref("general.warnOnAboutConfig", false);
user_pref("app.normandy.enabled", false); user_pref("app.normandy.enabled", false);
user_pref("app.normandy.api_url", ""); user_pref("app.normandy.api_url", "");
user_pref("app.shield.optoutstudies.enabled", false); user_pref("app.shield.optoutstudies.enabled", false);
@ -37,6 +34,7 @@ user_pref("browser.newtabpage.activity-stream.feeds.sections", false);
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false); user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
user_pref("browser.newtabpage.activity-stream.feeds.systemtick", false); user_pref("browser.newtabpage.activity-stream.feeds.systemtick", false);
// set just for convenience
user_pref("browser.newtabpage.activity-stream.feeds.topsites", true); user_pref("browser.newtabpage.activity-stream.feeds.topsites", true);
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories.options", ""); user_pref("browser.newtabpage.activity-stream.feeds.section.topstories.options", "");
user_pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", ""); user_pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", "");
@ -80,6 +78,7 @@ user_pref("browser.slowStartup.notificationDisabled", true);
user_pref("browser.slowStartup.maxSamples", 0); user_pref("browser.slowStartup.maxSamples", 0);
user_pref("browser.slowStartup.samples", 0); user_pref("browser.slowStartup.samples", 0);
user_pref("browser.startup.page", 0); user_pref("browser.startup.page", 0);
user_pref("browser.startup.homepage_override.mstone", "ignore");
user_pref("browser.tabs.crashReporting.sendReport", false); user_pref("browser.tabs.crashReporting.sendReport", false);
user_pref("browser.urlbar.speculativeConnect.enabled", false); user_pref("browser.urlbar.speculativeConnect.enabled", false);
user_pref("browser.urlbar.trimURLs", false); user_pref("browser.urlbar.trimURLs", false);
@ -97,8 +96,8 @@ user_pref("datareporting.policy.dataSubmissionEnabled", false);
//user_pref("dom.enable_performance_navigation_timing", false); //user_pref("dom.enable_performance_navigation_timing", false);
//user_pref("dom.enable_resource_timing", false); //user_pref("dom.enable_resource_timing", false);
//user_pref("dom.gamepad.enabled", false); //user_pref("dom.gamepad.enabled", false);
user_pref("dom.webaudio.enabled", true);
//user_pref("dom.webnotifications.enabled", false); //user_pref("dom.webnotifications.enabled", false);
user_pref("dom.webaudio.enabled", true);
user_pref("extensions.blocklist.enabled", false); user_pref("extensions.blocklist.enabled", false);
user_pref("extensions.blocklist.url", ""); user_pref("extensions.blocklist.url", "");
user_pref("extensions.getAddons.cache.enabled", false); user_pref("extensions.getAddons.cache.enabled", false);
@ -109,7 +108,7 @@ user_pref("extensions.formautofill.addresses.enabled", false);
user_pref("extensions.formautofill.creditCards.enabled", false); user_pref("extensions.formautofill.creditCards.enabled", false);
user_pref("extensions.formautofill.heuristics.enabled", false); user_pref("extensions.formautofill.heuristics.enabled", false);
user_pref("extensions.pocket.enabled", false); user_pref("extensions.pocket.enabled", false);
user_pref("extensions.screenshots.disabled", false); user_pref("extensions.screenshots.disabled", true);
user_pref("extensions.screenshots.upload-disabled", true); user_pref("extensions.screenshots.upload-disabled", true);
user_pref("extensions.systemAddon.update.enabled", false); user_pref("extensions.systemAddon.update.enabled", false);
user_pref("extensions.systemAddon.update.url", ""); user_pref("extensions.systemAddon.update.url", "");
@ -117,24 +116,25 @@ user_pref("extensions.webextensions.restrictedDomains", "");
//user_pref("font.blacklist.underline_offset", ""); //user_pref("font.blacklist.underline_offset", "");
//user_pref("layers.acceleration.disabled", true); //user_pref("layers.acceleration.disabled", true);
user_pref("media.cache_size", 0); user_pref("media.cache_size", 0);
//user_pref("media.eme.enabled", false); user_pref("media.eme.enabled", false);
//user_pref("media.navigator.enabled", false); user_pref("media.navigator.enabled", false);
//user_pref("media.navigator.video.enabled", false); user_pref("media.navigator.video.enabled", false);
//user_pref("media.peerconnection.enabled", false); user_pref("media.peerconnection.enabled", false);
//user_pref("media.video_stats.enabled", false); user_pref("media.video_stats.enabled", false);
//user_pref("media.webspeech.synth.enabled", false); user_pref("media.webspeech.synth.enabled", false);
user_pref("network.allow-experiments", false); user_pref("network.allow-experiments", false);
//user_pref("network.dns.disablePrefetch", true); user_pref("network.dns.disablePrefetch", true);
// still allow IPv6
//user_pref("network.dns.disableIPv6", true); //user_pref("network.dns.disableIPv6", true);
user_pref("network.captive-portal-service.enabled", false); user_pref("network.captive-portal-service.enabled", false);
user_pref("network.connectivity-service.enabled", false); user_pref("network.connectivity-service.enabled", false);
//user_pref("network.http.altsvc.enabled", false); user_pref("network.http.altsvc.enabled", false);
//user_pref("network.http.altsvc.oe", false); user_pref("network.http.altsvc.oe", false);
user_pref("network.http.referer.XOriginPolicy", 2); user_pref("network.http.referer.XOriginPolicy", 2);
user_pref("network.http.sendRefererHeader", 2); user_pref("network.http.speculative-parallel-limit", 0);
//user_pref("network.http.speculative-parallel-limit", 0);
user_pref("network.IDN_show_punycode", true); user_pref("network.IDN_show_punycode", true);
user_pref("network.manage-offline-status", false); user_pref("network.manage-offline-status", false);
// allow local storage to not break things
//user_pref("offline-apps.allow_by_default", false); //user_pref("offline-apps.allow_by_default", false);
//user_pref("offline-apps.quota.warn", 0); //user_pref("offline-apps.quota.warn", 0);
user_pref("places.history.enabled", true); user_pref("places.history.enabled", true);
@ -154,18 +154,22 @@ user_pref("privacy.clearOnShutdown.siteSettings", true);
user_pref("privacy.cpd.offlineApps", true); user_pref("privacy.cpd.offlineApps", true);
user_pref("privacy.cpd.passwords", true); user_pref("privacy.cpd.passwords", true);
user_pref("privacy.cpd.siteSettings", true); user_pref("privacy.cpd.siteSettings", true);
// send do not track although some sites might ignore and you might be more recognizable
user_pref("privacy.donottrackheader.enabled", true);
user_pref("privacy.firstparty.isolate", true); user_pref("privacy.firstparty.isolate", true);
user_pref("privacy.firstparty.isolate.block_post_message", true); user_pref("privacy.firstparty.isolate.block_post_message", true);
user_pref("privacy.history.custom", true); user_pref("privacy.history.custom", true);
user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); user_pref("privacy.resistFingerprinting.block_mozAddonManager", true);
user_pref("privacy.sanitize.migrateClearSavedPwdsOnExit", true); user_pref("privacy.sanitize.migrateClearSavedPwdsOnExit", true);
user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.sanitize.sanitizeOnShutdown", true);
// disable containers
user_pref("privacy.userContext.enabled", false); user_pref("privacy.userContext.enabled", false);
user_pref("privacy.userContext.ui.enabled", false); user_pref("privacy.userContext.ui.enabled", false);
user_pref("privacy.userContext.longPressBehavior", 2); user_pref("privacy.userContext.longPressBehavior", 2);
user_pref("privacy.usercontext.about_newtab_segregation.enabled", true); user_pref("privacy.usercontext.about_newtab_segregation.enabled", true);
user_pref("reader.parse-on-load.enabled", false); user_pref("reader.parse-on-load.enabled", false);
user_pref("security.cert_pinning.enforcement_level", 2); user_pref("security.cert_pinning.enforcement_level", 2);
user_pref("security.family_safety.mode", 0);
user_pref("security.identityblock.show_extended_validation", true); user_pref("security.identityblock.show_extended_validation", true);
user_pref("security.insecure_connection_icon.enabled", true); user_pref("security.insecure_connection_icon.enabled", true);
user_pref("security.insecure_connection_icon.pbmode.enabled", true); user_pref("security.insecure_connection_icon.pbmode.enabled", true);
@ -178,7 +182,6 @@ user_pref("security.ssl.require_safe_negotiation", true);
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true); user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
user_pref("signon.autofillForms", false); user_pref("signon.autofillForms", false);
user_pref("signon.formlessCapture.enabled", false); user_pref("signon.formlessCapture.enabled", false);
user_pref("startup.homepage_welcome_url", "");
user_pref("toolkit.coverage.endpoint.base", ""); user_pref("toolkit.coverage.endpoint.base", "");
user_pref("toolkit.coverage.opt-out", true); user_pref("toolkit.coverage.opt-out", true);
user_pref("toolkit.telemetry.archive.enabled", false); user_pref("toolkit.telemetry.archive.enabled", false);
@ -192,20 +195,20 @@ user_pref("toolkit.telemetry.updatePing.enabled", false);
user_pref("toolkit.telemetry.server", ""); user_pref("toolkit.telemetry.server", "");
user_pref("toolkit.telemetry.unified", false); user_pref("toolkit.telemetry.unified", false);
user_pref("toolkit.telemetry.infoURL", ""); user_pref("toolkit.telemetry.infoURL", "");
user_pref("ui.use_standins_for_native_colors", true);
user_pref("ui.systemUsesDarkTheme", 0);
user_pref("webgl.disable-extensions", true); user_pref("webgl.disable-extensions", true);
user_pref("webgl.disable-fail-if-major-performance-caveat", true); user_pref("webgl.disable-fail-if-major-performance-caveat", true);
user_pref("webgl.min_capability_mode", true); user_pref("webgl.min_capability_mode", true);
user_pref("webgl.enable-debug-renderer-info", false); user_pref("webgl.enable-debug-renderer-info", false);
user_pref("network.trr.resolvers", '[{ "name": "Cloudflare", "url": "https://mozilla.cloudflare-dns.com/dns-query" },{ "name": "NextDNS", "url": "https://trr.dns.nextdns.io/" },{ "name": "dnsforge.de", "url": "https://dnsforge.de/dns-query" },{ "name": "Digitale Gesellschaft (CH)", "url": "https://dns.digitale-gesellschaft.ch/dns-query" }, { "name": "Freifunk Muenchen", "url": "https://doh.ffmuc.net" }, { "name": "Quad9", "url": "https://dns.quad9.net/dns-query" }]');
// 0 = use system DNS, 2 = use DNS-over-HTTPS resolver, select one in UI under network, otherwise you might end up with cloudflare // 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", 0); user_pref("network.trr.mode", 0);
user_pref("network.trr.resolvers", '[{ "name": "Cloudflare", "url": "https://mozilla.cloudflare-dns.com/dns-query" },{ "name": "SecureDNS", "url": "https://doh.securedns.eu/dns-query" },{ "name": "AppliedPrivacy", "url": "https://doh.appliedprivacy.net/query" },{ "name": "Digitale Gesellschaft (CH)", "url": "https://dns.digitale-gesellschaft.ch/dns-query" }, { "name": "Quad9", "url": "https://dns.quad9.net/dns-query" }]');
// user interface
user_pref("ui.use_standins_for_native_colors", true);
user_pref("ui.systemUsesDarkTheme", 0);
// additionally set, should be revised // additionally set, should be revised
user_pref("privacy.donottrackheader.enabled", true); user_pref("general.warnOnAboutConfig", false);
user_pref("experiments.activeExperiment", false); user_pref("experiments.activeExperiment", false);
user_pref("experiments.enabled", false); user_pref("experiments.enabled", false);
user_pref("experiments.manifest.uri", ""); user_pref("experiments.manifest.uri", "");
@ -215,6 +218,9 @@ user_pref("security.family_safety.mode", 0);
user_pref("signon.management.page.breach-alerts.enabled", false); user_pref("signon.management.page.breach-alerts.enabled", false);
user_pref("signon.management.page.breachAlertUrl", ""); user_pref("signon.management.page.breachAlertUrl", "");
// disabling referer might break some sites, set to 0 to disable
user_pref("network.http.sendRefererHeader", 2);
// customly set, adjust to your liking // customly set, adjust to your liking
user_pref("general.smoothScroll", false); user_pref("general.smoothScroll", false);
user_pref("general.smoothScroll.pages", false); user_pref("general.smoothScroll.pages", false);