mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +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
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE HTML>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<!--
|
||||
Iframe for testing multiple host detetion in storage actor
|
||||
|
|
@ -9,7 +9,10 @@ Iframe for testing multiple host detetion in storage actor
|
|||
<body>
|
||||
<script type="application/javascript;version=1.7">
|
||||
"use strict";
|
||||
let cookieExpiresTime = 2000000000000;
|
||||
document.cookie = "sc1=foobar;";
|
||||
document.cookie = "sc2=foobar-2; expires=" +
|
||||
new Date(cookieExpiresTime).toGMTString() + ";";
|
||||
localStorage.setItem("iframe-s-ls1", "foobar");
|
||||
sessionStorage.setItem("iframe-s-ss1", "foobar-2");
|
||||
dump("added cookies and storage from secured iframe\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue