1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-15 03:33:32 +01:00

Support modified third-party cookie behavior. Closes issue #60.

This commit is contained in:
Kris Maglione
2015-06-12 23:50:04 -07:00
parent 1b965147ff
commit 07928ba263
3 changed files with 10 additions and 5 deletions

View File

@@ -709,7 +709,8 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
values: [
["all", "Accept all cookies"],
["samesite", "Accept all non-third-party cookies"],
["none", "Accept no cookies"]
["none", "Accept no cookies"],
["visited", "Accept cookies from visited sites"]
],
getter: function () (this.values[prefs.get(this.PREF)] || ["all"])[0],
setter: function (val) {