mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
parent
1667713aa0
commit
0e398993b1
1 changed files with 4 additions and 2 deletions
|
@ -29,7 +29,9 @@
|
|||
}
|
||||
|
||||
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";
|
||||
}
|
||||
</script>
|
Loading…
Reference in a new issue