... |
... |
@@ -963,7 +963,6 @@ |
963 |
963 |
const d = new Date(); |
964 |
964 |
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); |
965 |
965 |
let expires = "expires="+d.toUTCString(); |
966 |
|
- console.log("make cookie:",cname + "=" + cvalue + ";" + expires + ";path=/"); |
967 |
967 |
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; |
968 |
968 |
} |
969 |
969 |
|
... |
... |
@@ -996,10 +996,12 @@ |
996 |
996 |
window.onload = function() { |
997 |
997 |
let cookieValue = checkCookie(); |
998 |
998 |
console.log("checkCookie",cookieValue); |
999 |
|
- if (cookieValue == null) { |
1000 |
|
- document.getElementById("overlayv8").style.display = "flex"; |
1001 |
|
- } else if (cookieValue == true) { |
|
998 |
+ if (0 && cookieValue != null) { |
|
999 |
+ console.log("cookieValue",cookieValue); |
|
1000 |
+ } else if (0) { |
1002 |
1002 |
window.location.href = "https://help8.formcycle.eu/support/home"; |
|
1002 |
+ } else { |
|
1003 |
+ document.getElementById("overlayv8").style.display = "flex"; |
1003 |
1003 |
} |
1004 |
1004 |
}; |
1005 |
1005 |
|