summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-08-27 22:09:17 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-08-28 06:50:31 -0400
commit0500bb09643365c47c604478a915a430f0f51d8c (patch)
treecbb8a0de8b6ed839551733407f130304454bf706
parent8ea003a363e1faaa11326363ec15b9dc45828ec2 (diff)
downloadiceweasel-uxp-0500bb09643365c47c604478a915a430f0f51d8c.tar.gz
Prefs: Force cookies to expire at end of session
Also update comments to explain available cookie options.
-rw-r--r--branding/iceweasel/pref/iceweasel-uxp-branding.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/branding/iceweasel/pref/iceweasel-uxp-branding.js b/branding/iceweasel/pref/iceweasel-uxp-branding.js
index b0b3087..8a26b55 100644
--- a/branding/iceweasel/pref/iceweasel-uxp-branding.js
+++ b/branding/iceweasel/pref/iceweasel-uxp-branding.js
@@ -77,9 +77,20 @@ pref("plugins.hide_infobar_for_missing_plugin", true);
pref("plugins.hide_infobar_for_outdated_plugin", true);
pref("plugins.notifyMissingFlash", false);
-// Disable third party cookies
+// Cookie Behaviour
+// 0: All cookies are allowed.
+// 1: Only cookies from the originating server are allowed. (Default)
+// 2: No cookies are allowed.
+// 3: Third-party cookies are allowed only if that site has stored cookies already from a previous visit.
pref("network.cookie.cookieBehavior", 1);
+// Cookie Lifetime Policy
+// 0: The cookie's lifetime is supplied by the server.
+// 1: The user is prompted for the cookie's lifetime.
+// 2: The cookie expires at the end of the session (when the browser closes). (Default)
+// 3: The cookie lasts for the number of days specified by network.cookie.lifetime.days.
+pref("network.cookie.lifetimePolicy", 2);
+
// Spoof the useragent to a generic one
//pref("general.useragent.compatMode.firefox", false);
// Spoof the useragent to a generic one for user experience and privacy