limepot-xyz/public/scripts/chromium.js
2024-07-27 00:01:47 -06:00

15 lines
303 B
JavaScript

function getAccepted() {
var value = localStorage.getItem("accepted");
return (value = "0");
}
function setAccepted() {
localStorage.setItem("accepted", accepted ? "0" : "1");
}
function acceptDisclaimer(disclaimer) {
if (getAccepted() == 0) setAccepted(1);
else {
setAccepted(0);
}
}