2020-06-07 13:53:07 +00:00
|
|
|
// Mozilla User Preferences
|
|
|
|
//
|
2020-11-04 18:02:05 +00:00
|
|
|
// 2020/11/04
|
2020-06-07 13:53:07 +00:00
|
|
|
//
|
2020-09-15 17:37:50 +00:00
|
|
|
// Based on Privacy-Handbuch, merged/adjusted minimal/moderate user.js
|
2020-06-07 13:53:07 +00:00
|
|
|
// Download: https://www.privacy-handbuch.de/handbuch_21u.htm
|
|
|
|
//
|
|
|
|
// Install when Firefox is closed!
|
|
|
|
// Feel free to comment in or modify if you don't like the default setting.
|
2019-12-03 12:26:59 +00:00
|
|
|
|
|
|
|
user_pref("app.normandy.enabled", false);
|
|
|
|
user_pref("app.shield.optoutstudies.enabled", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
user_pref("beacon.enabled", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("browser.cache.disk.enable", false);
|
|
|
|
user_pref("browser.cache.disk_cache_ssl", false);
|
|
|
|
user_pref("browser.cache.offline.enable", false);
|
|
|
|
user_pref("browser.contentblocking.category", "strict");
|
|
|
|
//user_pref("browser.display.use_document_fonts", 0);
|
2020-10-22 16:10:15 +00:00
|
|
|
// Disable to disallow playback of DRM content
|
|
|
|
user_pref("browser.eme.ui.enabled", true);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("browser.fixup.alternate.enabled", false);
|
|
|
|
user_pref("browser.formfill.enable", false);
|
|
|
|
user_pref("browser.link.open_newwindow.restriction", 0);
|
|
|
|
user_pref("browser.library.activity-stream.enabled", false);
|
|
|
|
user_pref("browser.newtabpage.enabled", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
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);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
|
|
|
|
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
2020-06-07 13:53:07 +00:00
|
|
|
user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("browser.pagethumbnails.capturing_disabled", true);
|
|
|
|
user_pref("browser.ping-centre.telemetry", false);
|
|
|
|
user_pref("browser.privatebrowsing.autostart", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.url", " ");
|
|
|
|
user_pref("browser.safebrowsing.downloads.enabled", false);
|
|
|
|
user_pref("browser.safebrowsing.phishing.enabled", false);
|
|
|
|
user_pref("browser.safebrowsing.malware.enabled", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.block_dangerous", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.block_dangerous_host", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
|
|
|
|
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
|
|
|
|
user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
|
|
|
user_pref("browser.safebrowsing.provider.google.gethashURL", "");
|
|
|
|
user_pref("browser.safebrowsing.provider.google.updateURL", "");
|
|
|
|
user_pref("browser.safebrowsing.provider.google4.gethashURL", "");
|
|
|
|
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);
|
2020-11-04 18:02:05 +00:00
|
|
|
user_pref("browser.region.update.enabled", false);
|
2020-11-08 15:07:54 +00:00
|
|
|
user_pref("browser.region.network.url", "");
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("browser.search.suggest.enabled", false);
|
|
|
|
user_pref("browser.search.reset.enabled", false);
|
|
|
|
user_pref("browser.search.reset.whitelist", "");
|
2020-01-08 17:21:41 +00:00
|
|
|
// adjust if you like to restore/keep session
|
|
|
|
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);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("browser.sessionstore.max_windows_undo", 0);
|
|
|
|
user_pref("browser.sessionstore.privacy_level", 2);
|
|
|
|
user_pref("browser.slowStartup.notificationDisabled", true);
|
|
|
|
user_pref("browser.slowStartup.maxSamples", 0);
|
|
|
|
user_pref("browser.startup.page", 0);
|
2020-04-25 11:54:26 +00:00
|
|
|
user_pref("browser.startup.homepage_override.mstone", "ignore");
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("browser.tabs.crashReporting.sendReport", false);
|
|
|
|
user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
|
|
|
user_pref("browser.urlbar.trimURLs", false);
|
|
|
|
user_pref("browser.urlbar.suggest.openpage", false);
|
|
|
|
user_pref("browser.urlbar.suggest.searches", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
user_pref("browser.urlbar.suggest.topsites", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("datareporting.healthreport.uploadEnabled", false);
|
|
|
|
user_pref("datareporting.policy.dataSubmissionEnabled", false);
|
|
|
|
//user_pref("device.sensors.enabled", false);
|
|
|
|
//user_pref("dom.enable_performance", false);
|
|
|
|
//user_pref("dom.enable_performance_navigation_timing", false);
|
|
|
|
//user_pref("dom.enable_resource_timing", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
//user_pref("dom.event.clipboardevents.enabled", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
//user_pref("dom.gamepad.enabled", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
//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);
|
2020-11-04 18:02:05 +00:00
|
|
|
// disable downloads over http and enforce ssl
|
|
|
|
user_pref("dom.block_download_insecure", true);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("extensions.blocklist.enabled", false);
|
|
|
|
user_pref("extensions.formautofill.addresses.enabled", false);
|
|
|
|
user_pref("extensions.formautofill.creditCards.enabled", false);
|
|
|
|
user_pref("extensions.formautofill.heuristics.enabled", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
user_pref("extensions.getAddons.cache.enabled", false);
|
|
|
|
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
|
|
|
user_pref("extensions.ui.lastCategory", "addons://list/extension");
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("extensions.pocket.enabled", false);
|
2020-04-25 11:54:26 +00:00
|
|
|
user_pref("extensions.screenshots.disabled", true);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("extensions.screenshots.upload-disabled", true);
|
|
|
|
user_pref("extensions.systemAddon.update.enabled", false);
|
|
|
|
user_pref("extensions.webextensions.restrictedDomains", "");
|
|
|
|
//user_pref("font.blacklist.underline_offset", "");
|
2020-07-27 16:42:15 +00:00
|
|
|
//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);
|
2019-12-03 12:26:59 +00:00
|
|
|
//user_pref("layers.acceleration.disabled", true);
|
2020-07-27 16:42:15 +00:00
|
|
|
//user_pref("layout.css.font-loading-api.enabled", false);
|
|
|
|
//user_pref("layout.css.visited_links_enabled", false);
|
|
|
|
user_pref("media.autoplay.default", 5);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("media.cache_size", 0);
|
2020-04-25 11:54:26 +00:00
|
|
|
user_pref("media.eme.enabled", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
//user_pref("media.gmp-provider.enabled", false);
|
|
|
|
//user_pref("media.gmp-gmpopenh264.enabled", false);
|
|
|
|
//user_pref("media.gmp-gmpopenh264.autoupdate", false);
|
|
|
|
//user_pref("media.gmp-gmpopenh264.provider.enabled", false);
|
|
|
|
//user_pref("media.gmp-gmpopenh264.visible", false);
|
|
|
|
//user_pref("media.hardware-video-decoding.enabled", false);
|
2020-04-25 11:54:26 +00:00
|
|
|
user_pref("media.navigator.enabled", false);
|
|
|
|
user_pref("media.navigator.video.enabled", false);
|
|
|
|
user_pref("media.peerconnection.enabled", false);
|
|
|
|
user_pref("media.video_stats.enabled", false);
|
|
|
|
user_pref("media.webspeech.synth.enabled", false);
|
|
|
|
user_pref("network.dns.disablePrefetch", true);
|
2020-04-30 22:32:23 +00:00
|
|
|
user_pref("network.dns.disableIPv6", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
user_pref("network.ftp.enabled", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("network.captive-portal-service.enabled", false);
|
2020-01-08 17:21:41 +00:00
|
|
|
user_pref("network.connectivity-service.enabled", false);
|
2020-09-15 17:37:50 +00:00
|
|
|
user_pref("network.cookie.cookieBehavior", 4);
|
|
|
|
user_pref("network.cookie.lifetimePolicy", 0);
|
|
|
|
user_pref("network.cookie.thirdparty.sessionOnly", false);
|
2020-04-25 11:54:26 +00:00
|
|
|
user_pref("network.http.altsvc.enabled", false);
|
|
|
|
user_pref("network.http.altsvc.oe", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("network.http.referer.XOriginPolicy", 2);
|
2020-04-25 11:54:26 +00:00
|
|
|
user_pref("network.http.speculative-parallel-limit", 0);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("network.IDN_show_punycode", true);
|
|
|
|
user_pref("network.manage-offline-status", false);
|
2020-09-15 17:37:50 +00:00
|
|
|
// allow local storage, so websites won't break
|
2019-12-03 12:26:59 +00:00
|
|
|
//user_pref("offline-apps.allow_by_default", false);
|
|
|
|
//user_pref("offline-apps.quota.warn", 0);
|
2020-07-27 16:42:15 +00:00
|
|
|
user_pref("pdfjs.disabled", true);
|
2019-12-22 13:53:41 +00:00
|
|
|
user_pref("places.history.enabled", true);
|
2020-06-07 13:53:07 +00:00
|
|
|
user_pref("plugin.default.state", 0);
|
2020-07-27 16:42:15 +00:00
|
|
|
user_pref("plugin.state.flash", 0);
|
2020-06-07 13:53:07 +00:00
|
|
|
user_pref("plugins.update.url", "");
|
|
|
|
user_pref("privacy.clearOnShutdown.cache", true);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("privacy.clearOnShutdown.cookies", true);
|
|
|
|
user_pref("privacy.clearOnShutdown.downloads", true);
|
|
|
|
user_pref("privacy.clearOnShutdown.history", false);
|
|
|
|
user_pref("privacy.clearOnShutdown.offlineApps", true);
|
|
|
|
user_pref("privacy.clearOnShutdown.openWindows", false);
|
|
|
|
user_pref("privacy.clearOnShutdown.sessions", true);
|
|
|
|
user_pref("privacy.clearOnShutdown.formdata", true);
|
|
|
|
user_pref("privacy.clearOnShutdown.siteSettings", true);
|
|
|
|
user_pref("privacy.cpd.offlineApps", true);
|
|
|
|
user_pref("privacy.cpd.passwords", true);
|
|
|
|
user_pref("privacy.cpd.siteSettings", true);
|
2020-09-15 17:37:50 +00:00
|
|
|
user_pref("privacy.donottrackheader.enabled", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("privacy.firstparty.isolate", true);
|
2020-01-08 17:21:41 +00:00
|
|
|
user_pref("privacy.firstparty.isolate.block_post_message", true);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("privacy.history.custom", true);
|
2020-09-15 17:37:50 +00:00
|
|
|
user_pref("privacy.purge_trackers.enabled", true);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("privacy.sanitize.migrateClearSavedPwdsOnExit", true);
|
|
|
|
user_pref("privacy.sanitize.sanitizeOnShutdown", true);
|
2020-04-25 11:54:26 +00:00
|
|
|
// disable containers
|
2020-01-08 17:21:41 +00:00
|
|
|
user_pref("privacy.userContext.enabled", false);
|
|
|
|
user_pref("privacy.userContext.ui.enabled", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("privacy.usercontext.about_newtab_segregation.enabled", true);
|
2020-09-15 17:37:50 +00:00
|
|
|
// prevent wrong dates
|
|
|
|
user_pref("privacy.resistFingerprinting", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("reader.parse-on-load.enabled", false);
|
|
|
|
user_pref("security.cert_pinning.enforcement_level", 2);
|
2020-04-25 11:54:26 +00:00
|
|
|
user_pref("security.family_safety.mode", 0);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("security.identityblock.show_extended_validation", true);
|
|
|
|
user_pref("security.insecure_connection_icon.enabled", true);
|
|
|
|
user_pref("security.insecure_connection_icon.pbmode.enabled", true);
|
|
|
|
user_pref("security.insecure_connection_text.enabled", true);
|
|
|
|
user_pref("security.insecure_connection_text.pbmode.enabled", true);
|
|
|
|
user_pref("security.mixed_content.upgrade_display_content", true);
|
|
|
|
user_pref("security.secure_connection_icon_color_gray", false);
|
|
|
|
user_pref("security.ssl.require_safe_negotiation", true);
|
|
|
|
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
|
|
|
|
user_pref("signon.autofillForms", false);
|
|
|
|
user_pref("signon.formlessCapture.enabled", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
user_pref("signon.rememberSignons", false);
|
|
|
|
//user_pref("svg.disabled", true);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("toolkit.coverage.endpoint.base", "");
|
|
|
|
user_pref("toolkit.coverage.opt-out", true);
|
|
|
|
user_pref("toolkit.telemetry.archive.enabled", false);
|
|
|
|
user_pref("toolkit.telemetry.coverage.opt-out", true);
|
|
|
|
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
|
|
|
|
user_pref("toolkit.telemetry.hybridContent.enabled", false);
|
2020-07-27 16:42:15 +00:00
|
|
|
user_pref("toolkit.telemetry.bhrPing.enabled", false);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("toolkit.telemetry.newProfilePing.enabled", false);
|
|
|
|
user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
|
|
|
|
user_pref("toolkit.telemetry.updatePing.enabled", false);
|
|
|
|
user_pref("toolkit.telemetry.unified", false);
|
|
|
|
user_pref("toolkit.telemetry.infoURL", "");
|
2020-04-25 11:54:26 +00:00
|
|
|
user_pref("ui.use_standins_for_native_colors", true);
|
|
|
|
user_pref("ui.systemUsesDarkTheme", 0);
|
2019-12-03 12:26:59 +00:00
|
|
|
user_pref("webgl.disable-fail-if-major-performance-caveat", true);
|
|
|
|
user_pref("webgl.min_capability_mode", true);
|
|
|
|
user_pref("webgl.enable-debug-renderer-info", false);
|
2020-04-25 11:54:26 +00:00
|
|
|
|
2020-11-03 01:56:26 +00:00
|
|
|
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": "BlahDNS (DE)", "url": "https://doh-de.blahdns.com/dns-query" }, { "name": "BlahDNS (FI)", "url": "https://doh-fi.blahdns.com/dns-query" }, { "name": "Quad9", "url": "https://dns.quad9.net/dns-query" }, { "name": "dns.myservermanager.com", "url": "https://dns.myservermanager.com/dns-query" }]');
|
2020-04-25 11:54:26 +00:00
|
|
|
|
2020-06-07 13:53:07 +00:00
|
|
|
// adjust the following to your liking
|
2020-02-25 20:24:09 +00:00
|
|
|
// 0 = use system DNS, 2 = use DNS-over-HTTPS resolver, select one in UI under network, otherwise you might end up with cloudflare
|
2020-11-04 09:26:14 +00:00
|
|
|
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");
|
2019-12-03 12:26:59 +00:00
|
|
|
|
2020-06-07 13:53:07 +00:00
|
|
|
// only allow plugins which are actively confirmed
|
|
|
|
user_pref("plugins.click_to_play", true);
|
|
|
|
|
2020-01-08 17:21:41 +00:00
|
|
|
// additionally set, should be revised
|
2020-04-25 11:54:26 +00:00
|
|
|
user_pref("general.warnOnAboutConfig", false);
|
2020-01-08 17:21:41 +00:00
|
|
|
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", "");
|
|
|
|
|
2020-04-25 11:54:26 +00:00
|
|
|
// disabling referer might break some sites, set to 0 to disable
|
2020-11-05 11:11:02 +00:00
|
|
|
user_pref("network.http.sendRefererHeader", 0);
|
2020-04-25 11:54:26 +00:00
|
|
|
|
2019-12-03 12:26:59 +00:00
|
|
|
// customly set, adjust to your liking
|
|
|
|
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);
|
2020-02-25 19:24:03 +00:00
|
|
|
user_pref("media.cache_readahead_limit", 999999);
|
|
|
|
user_pref("media.cache_resume_threshold", 999999);
|