Browse Source

2705: document.cookie max lifetime

https://bugzilla.mozilla.org/show_bug.cgi?id=1529836
Thorin-Oakenpants 6 years ago
parent
commit
8811a28c56
1 changed files with 3 additions and 0 deletions
  1. 3 0
      user.js

+ 3 - 0
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 ***/