From 0500bb09643365c47c604478a915a430f0f51d8c Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Tue, 27 Aug 2019 22:09:17 -0400 Subject: Prefs: Force cookies to expire at end of session Also update comments to explain available cookie options. --- branding/iceweasel/pref/iceweasel-uxp-branding.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3