test cookies

This commit is contained in:
awesomeuser 2023-08-02 21:24:30 +00:00
parent 7e92c88b22
commit faed7d7a6c

View file

@ -88,6 +88,7 @@
const d = new Date(); const d = new Date();
d.setTime(d.getTime() + (1 * 24 * 60 * 60 * 1000)); d.setTime(d.getTime() + (1 * 24 * 60 * 60 * 1000));
document.cookie = "signature=" + document.getElementById("signature-input").defaultValue + "; expires=" + d.toUTCString() + ";path=/"; document.cookie = "signature=" + document.getElementById("signature-input").defaultValue + "; expires=" + d.toUTCString() + ";path=/";
alert(document.getElementById("signature-input").defaultValue);
} }
// load caches signature // load caches signature