Allow to set exceptions for cookies. All others will be cleared on session close.

This commit is contained in:
Alexander Schäferdiek 2021-04-23 17:04:37 +02:00
parent 602af92a5d
commit d1fdcaa31e

View file

@ -120,12 +120,15 @@ 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.cookie.cookieBehavior", 5); // 5 = isolate
user_pref("network.cookie.cookieBehavior", 4);
user_pref("network.dns.disablePrefetch", true); user_pref("network.dns.disablePrefetch", true);
user_pref("network.ftp.enabled", 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);
// set policy to 3 lifetime.days to kick in, see http://kb.mozillazine.org/Network.cookie.lifetimePolicy
user_pref("network.cookie.lifetimePolicy", 2); user_pref("network.cookie.lifetimePolicy", 2);
//user_pref("network.cookie.lifetime.days", 5)
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);
@ -133,6 +136,8 @@ 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);
user_pref("network.security.esni.enabled", true); user_pref("network.security.esni.enabled", true);
user_pref("privacy.purge_trackers.enabled", true);
user_pref("privacy.partition.network_state", true);
// allow local storage, so websites won't break // allow local storage, so websites won't break
user_pref("offline-apps.allow_by_default", true); user_pref("offline-apps.allow_by_default", true);
//user_pref("offline-apps.quota.warn", 0); //user_pref("offline-apps.quota.warn", 0);
@ -144,14 +149,16 @@ user_pref("places.history.enabled", true);
user_pref("plugin.default.state", 0); user_pref("plugin.default.state", 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); // allow to set exceptions
user_pref("privacy.clearOnShutdown.cookies", false);
user_pref("privacy.clearOnShutdown.downloads", true); user_pref("privacy.clearOnShutdown.downloads", true);
// keep history // keep history
user_pref("privacy.clearOnShutdown.history", false); user_pref("privacy.clearOnShutdown.history", false);
user_pref("privacy.clearOnShutdown.offlineApps", true); user_pref("privacy.clearOnShutdown.offlineApps", true);
user_pref("privacy.clearOnShutdown.sessions", true); user_pref("privacy.clearOnShutdown.sessions", true);
user_pref("privacy.clearOnShutdown.formdata", true); user_pref("privacy.clearOnShutdown.formdata", true);
user_pref("privacy.clearOnShutdown.siteSettings", true); // allow to set exceptions
user_pref("privacy.clearOnShutdown.siteSettings", false);
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);