cookie de config lax
This commit is contained in:
parent
59c0ec0735
commit
975d0c579d
@ -22,5 +22,5 @@
|
||||
}
|
||||
|
||||
.activeButton {
|
||||
filter : brightness(125%);
|
||||
filter : brightness(150%);
|
||||
}
|
@ -208,7 +208,7 @@ function setCookie(name,value,days) {
|
||||
date.setTime(date.getTime() + (days*24*60*60*1000));
|
||||
expires = "; expires=" + date.toUTCString();
|
||||
}
|
||||
document.cookie = name + "=" + (value || "") + expires + "; path=/";
|
||||
document.cookie = name + "=" + (value || "") + expires + "; path=/; samesite=lax";
|
||||
}
|
||||
|
||||
function getCookie(name) {
|
||||
|
Loading…
Reference in New Issue
Block a user