Fix function

This commit is contained in:
Tracker-Friendly 2024-02-14 18:05:42 +00:00
parent db540c4792
commit 412bd0fdd9
1 changed files with 1 additions and 1 deletions

View File

@ -579,7 +579,7 @@ function isFirstTimeVisitor() {
} else {
var expirationDate = new Date();
expirationDate.setFullYear(expirationDate.getFullYear() + 1);
document.cookie = "visited=true; expires=" + expirationDate.toUTCStrin>
document.cookie = "visited=true; expires=" + expirationDate.toUTCString() + "; path=/; SameSite=strict";
return true;
}
}