mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08: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
|
|
@ -9,7 +9,10 @@ Iframe for testing multiple host detetion in storage actor
|
|||
<body>
|
||||
<script>
|
||||
"use strict";
|
||||
let cookieExpiresTime = 2000000000000;
|
||||
document.cookie = "uc1=foobar; domain=.example.org; path=/";
|
||||
document.cookie = "uc2=foobar-2; expires=" +
|
||||
new Date(cookieExpiresTime).toGMTString() + "; path=/; domain=.example.org";
|
||||
localStorage.setItem("iframe-u-ls1", "foobar");
|
||||
sessionStorage.setItem("iframe-u-ss1", "foobar1");
|
||||
sessionStorage.setItem("iframe-u-ss2", "foobar2");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue