Adapt to latest upstream changes for FireFox 78

This commit is contained in:
Alexander Schäferdiek 2020-07-27 18:42:15 +02:00
parent fa1f50b79b
commit b3d4a907a0

View file

@ -1,8 +1,8 @@
// Mozilla User Preferences // Mozilla User Preferences
// //
// 2020/05/20 // 2020/07/15
// //
// Based on Privacy-Handbuch, merged/adjusted minimal/moderate user.js // Based on Privacy-Handbuch, merged/adjusted minimal/moderate/strong 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!
@ -10,23 +10,27 @@
user_pref("app.normandy.enabled", false); user_pref("app.normandy.enabled", false);
user_pref("app.shield.optoutstudies.enabled", false); user_pref("app.shield.optoutstudies.enabled", false);
user_pref("browser.cache.compression_level", 1); user_pref("beacon.enabled", false);
user_pref("browser.cache.disk.enable", false); user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.disk_cache_ssl", false); user_pref("browser.cache.disk_cache_ssl", false);
user_pref("browser.cache.offline.enable", false); user_pref("browser.cache.offline.enable", false);
user_pref("browser.contentblocking.category", "strict"); user_pref("browser.contentblocking.category", "strict");
//user_pref("browser.display.use_document_fonts", 0); //user_pref("browser.display.use_document_fonts", 0);
//user_pref("browser.eme.ui.enabled", false);
user_pref("browser.fixup.alternate.enabled", false); user_pref("browser.fixup.alternate.enabled", false);
user_pref("browser.formfill.enable", false); user_pref("browser.formfill.enable", false);
user_pref("browser.link.open_newwindow.restriction", 0); user_pref("browser.link.open_newwindow.restriction", 0);
user_pref("browser.library.activity-stream.enabled", false); user_pref("browser.library.activity-stream.enabled", false);
user_pref("browser.newtabpage.enabled", false); user_pref("browser.newtabpage.enabled", false);
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
user_pref("browser.newtabpage.activity-stream.feeds.topsites", true);
user_pref("browser.newtabpage.activity-stream.feeds.system.topsites", false);
user_pref("browser.newtabpage.activity-stream.showSponsored", false);
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
user_pref("browser.newtabpage.enabled", false); user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", 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.telemetry", false); user_pref("browser.newtabpage.activity-stream.telemetry", false);
user_pref("browser.onboarding.enabled", false);
user_pref("browser.pagethumbnails.capturing_disabled", true); user_pref("browser.pagethumbnails.capturing_disabled", true);
user_pref("browser.ping-centre.telemetry", false); user_pref("browser.ping-centre.telemetry", false);
user_pref("browser.privatebrowsing.autostart", false); user_pref("browser.privatebrowsing.autostart", false);
@ -60,55 +64,67 @@ user_pref("browser.sessionstore.max_windows_undo", 0);
user_pref("browser.sessionstore.privacy_level", 2); user_pref("browser.sessionstore.privacy_level", 2);
user_pref("browser.slowStartup.notificationDisabled", true); 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.startup.page", 0); user_pref("browser.startup.page", 0);
user_pref("browser.startup.homepage_override.mstone", "ignore"); 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);
user_pref("browser.urlbar.oneOffSearches", false);
user_pref("browser.urlbar.suggest.openpage", false); user_pref("browser.urlbar.suggest.openpage", false);
user_pref("browser.urlbar.suggest.searches", false); user_pref("browser.urlbar.suggest.searches", false);
user_pref("camera.control.face_detection.enabled", false); user_pref("browser.urlbar.suggest.topsites", false);
user_pref("camera.control.autofocus_moving_callback.enabled", false);
user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("datareporting.healthreport.uploadEnabled", false);
user_pref("datareporting.policy.dataSubmissionEnabled", false); user_pref("datareporting.policy.dataSubmissionEnabled", false);
//user_pref("device.sensors.enabled", false); //user_pref("device.sensors.enabled", false);
//user_pref("dom.enable_performance", false); //user_pref("dom.enable_performance", 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.event.clipboardevents.enabled", false);
//user_pref("dom.gamepad.enabled", false); //user_pref("dom.gamepad.enabled", false);
//user_pref("dom.webnotifications.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);
user_pref("extensions.blocklist.enabled", false); user_pref("extensions.blocklist.enabled", false);
user_pref("extensions.blocklist.url", "");
user_pref("extensions.getAddons.cache.enabled", false);
user_pref("extensions.htmlaboutaddons.discover.enabled", false);
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
user_pref("extensions.ui.lastCategory", "addons://list/extension");
user_pref("extensions.formautofill.addresses.enabled", false); 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.getAddons.cache.enabled", false);
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
user_pref("extensions.ui.lastCategory", "addons://list/extension");
user_pref("extensions.pocket.enabled", false); user_pref("extensions.pocket.enabled", false);
user_pref("extensions.screenshots.disabled", true); 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.webextensions.restrictedDomains", ""); user_pref("extensions.webextensions.restrictedDomains", "");
//user_pref("font.blacklist.underline_offset", ""); //user_pref("font.blacklist.underline_offset", "");
//user_pref("gfx.direct2d.disabled", true);
//user_pref("gfx.downloadable_fonts.enabled", false);
//user_pref("gfx.font_rendering.opentype_svg.enabled", false);
//user_pref("gfx.font_rendering.graphite.enabled", false);
//user_pref("javascript.options.baselinejit", false);
//user_pref("javascript.options.ion", false);
//user_pref("layers.acceleration.disabled", true); //user_pref("layers.acceleration.disabled", true);
//user_pref("layout.css.font-loading-api.enabled", false);
//user_pref("layout.css.visited_links_enabled", false);
user_pref("media.autoplay.default", 5);
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.gmp-gmpopenh264.enabled", false); //user_pref("media.gmp-provider.enabled", false);
// user_pref("media.gmp-gmpopenh264.autoupdate", false); //user_pref("media.gmp-gmpopenh264.enabled", false);
// user_pref("media.gmp-gmpopenh264.provider.enabled", false); //user_pref("media.gmp-gmpopenh264.autoupdate", false);
// user_pref("media.gmp-gmpopenh264.visible", false); //user_pref("media.gmp-gmpopenh264.provider.enabled", false);
//user_pref("media.gmp-gmpopenh264.visible", false);
//user_pref("media.hardware-video-decoding.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.dns.disablePrefetch", true); user_pref("network.dns.disablePrefetch", true);
user_pref("network.dns.disableIPv6", false); user_pref("network.dns.disableIPv6", false);
user_pref("network.ftp.enabled", false);
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);
@ -120,9 +136,10 @@ user_pref("network.manage-offline-status", false);
// allow local storage to not break things // 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("pdfjs.disabled", true);
user_pref("places.history.enabled", true); user_pref("places.history.enabled", true);
//user_pref("permissions.default.geo", 2);
user_pref("plugin.default.state", 0); user_pref("plugin.default.state", 0);
user_pref("plugin.state.flash", 0);
user_pref("plugins.update.url", ""); user_pref("plugins.update.url", "");
user_pref("privacy.clearOnShutdown.cache", true); user_pref("privacy.clearOnShutdown.cache", true);
user_pref("privacy.clearOnShutdown.cookies", true); user_pref("privacy.clearOnShutdown.cookies", true);
@ -141,13 +158,11 @@ 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.sanitize.migrateClearSavedPwdsOnExit", true); user_pref("privacy.sanitize.migrateClearSavedPwdsOnExit", true);
user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.sanitize.sanitizeOnShutdown", true);
// disable containers // 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.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);
@ -158,19 +173,20 @@ user_pref("security.insecure_connection_icon.pbmode.enabled", true);
user_pref("security.insecure_connection_text.enabled", true); user_pref("security.insecure_connection_text.enabled", true);
user_pref("security.insecure_connection_text.pbmode.enabled", true); user_pref("security.insecure_connection_text.pbmode.enabled", true);
user_pref("security.mixed_content.upgrade_display_content", true); user_pref("security.mixed_content.upgrade_display_content", true);
user_pref("security.mixed_content.block_active_content", true);
user_pref("security.secure_connection_icon_color_gray", false); user_pref("security.secure_connection_icon_color_gray", false);
user_pref("security.ssl.require_safe_negotiation", true); 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("signon.rememberSignons", false);
//user_pref("svg.disabled", true);
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);
user_pref("toolkit.telemetry.coverage.opt-out", true); user_pref("toolkit.telemetry.coverage.opt-out", true);
user_pref("toolkit.telemetry.bhrPing.enabled", false);
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
user_pref("toolkit.telemetry.hybridContent.enabled", false); user_pref("toolkit.telemetry.hybridContent.enabled", false);
user_pref("toolkit.telemetry.bhrPing.enabled", false);
user_pref("toolkit.telemetry.newProfilePing.enabled", false); user_pref("toolkit.telemetry.newProfilePing.enabled", false);
user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
user_pref("toolkit.telemetry.updatePing.enabled", false); user_pref("toolkit.telemetry.updatePing.enabled", false);
@ -178,8 +194,9 @@ 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.use_standins_for_native_colors", true);
user_pref("ui.systemUsesDarkTheme", 0); user_pref("ui.systemUsesDarkTheme", 0);
user_pref("webgl.disable-extensions", true); //user_pref("webgl.disabled", true);
user_pref("webgl.disable-fail-if-major-performance-caveat", true); 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.min_capability_mode", true);
user_pref("webgl.enable-debug-renderer-info", false); user_pref("webgl.enable-debug-renderer-info", false);
@ -189,24 +206,9 @@ user_pref("network.trr.resolvers", '[{ "name": "Cloudflare", "url": "https://moz
// 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);
// use system PDF reader
user_pref("pdfjs.disabled", true);
// disable flash
user_pref("plugin.state.flash", 1);
// only allow plugins which are actively confirmed // only allow plugins which are actively confirmed
user_pref("plugins.click_to_play", true); user_pref("plugins.click_to_play", true);
// disable http and FTP
//user_pref("dom.security.https_only_mode", true);
user_pref("network.ftp.enabled", false);
// disable auto-play
user_pref("media.autoplay.default", 1);
user_pref("media.autoplay.enabled.user-gestures-needed", 1);
user_pref("media.autoplay.allow-muted", false);
// additionally set, should be revised // additionally set, should be revised
user_pref("general.warnOnAboutConfig", false); user_pref("general.warnOnAboutConfig", false);
user_pref("experiments.activeExperiment", false); user_pref("experiments.activeExperiment", false);