mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
parent
1667713aa0
commit
0e398993b1
1 changed files with 4 additions and 2 deletions
|
@ -29,7 +29,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function agreeWithCookies() {
|
function agreeWithCookies() {
|
||||||
document.cookie = "cookiesAgreed=true";
|
let expires = (new Date(Date.now() + 40000000000)).toUTCString();
|
||||||
|
|
||||||
|
document.cookie = "cookiesAgreed=true;expires=" + expires + ";SameSite=Strict";
|
||||||
u(".cookies-popup").nodes[0].style.display = "none";
|
u(".cookies-popup").nodes[0].style.display = "none";
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
Loading…
Reference in a new issue