test cookies
This commit is contained in:
parent
7e92c88b22
commit
faed7d7a6c
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@
|
|||
const d = new Date();
|
||||
d.setTime(d.getTime() + (1 * 24 * 60 * 60 * 1000));
|
||||
document.cookie = "signature=" + document.getElementById("signature-input").defaultValue + "; expires=" + d.toUTCString() + ";path=/";
|
||||
alert(document.getElementById("signature-input").defaultValue);
|
||||
}
|
||||
|
||||
// load caches signature
|
||||
|
|
Reference in a new issue