From 8811a28c56d332c170596169511808c6debb55eb Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Tue, 28 May 2019 14:04:09 +0000 Subject: [PATCH] 2705: document.cookie max lifetime https://bugzilla.mozilla.org/show_bug.cgi?id=1529836 --- user.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/user.js b/user.js index 2da4f38..19755af 100644 --- a/user.js +++ b/user.js @@ -1291,6 +1291,9 @@ user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true); // [FF58+] * [NOTE] The setting below is disabled (but not changed) if you block all cookies (2701 = 2) * [SETTING] Privacy & Security>Cookies and Site Data>Delete cookies and site data when Firefox is closed ***/ // user_pref("network.cookie.lifetimePolicy", 2); +/* 2705: set client-side cookies maximum lifetime in days [FF67+] + * i.e cookies set through the document.cookie API */ + // user_pref("privacy.documentCookies.maxage", 7); /* 2710: disable DOM (Document Object Model) Storage * [WARNING] This will break a LOT of sites' functionality AND extensions! * You are better off using an extension for more granular control ***/