mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
moebius#337: Added option to remove all session cookies for a specific domain
Issue #31 https://github.com/MoonchildProductions/moebius/pull/337
This commit is contained in:
parent
555cdbdacb
commit
e688e88257
11 changed files with 186 additions and 34 deletions
|
|
@ -20,7 +20,10 @@ document.cookie = "c1=foobar; expires=" +
|
|||
new Date(cookieExpiresTime1).toGMTString() + "; path=/browser";
|
||||
document.cookie = "cs2=sessionCookie; path=/; domain=" + partialHostname;
|
||||
document.cookie = "c3=foobar-2; expires=" +
|
||||
new Date(cookieExpiresTime2).toGMTString() + "; path=/";
|
||||
new Date(cookieExpiresTime1).toGMTString() + "; path=/";
|
||||
document.cookie = "c4=foobar-3; expires=" +
|
||||
new Date(cookieExpiresTime2).toGMTString() + "; path=/; domain=" +
|
||||
partialHostname;
|
||||
// ... and some local storage items ..
|
||||
localStorage.setItem("ls1", "foobar");
|
||||
localStorage.setItem("ls2", "foobar-2");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue