diff --git a/blank.html b/blank.html
new file mode 100644
index 00000000..3ff8e510
--- /dev/null
+++ b/blank.html
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+ looking for url..
+
+
diff --git a/cookieclicker/index.html b/cookieclicker/index.html
index 889b2d4b..46146b3c 100644
--- a/cookieclicker/index.html
+++ b/cookieclicker/index.html
@@ -6,6 +6,7 @@
+
diff --git a/js/all.js b/js/all.js
index 9cc8caa7..f3508b0e 100644
--- a/js/all.js
+++ b/js/all.js
@@ -69,7 +69,7 @@ function panicMode() {
}
const head = document.getElementsByTagName('head')[0];
-window.onload = function() {
+document.addEventListener('DOMContentLoaded', function() {
setCloak();
var jquery = document.createElement('script');
jquery.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js';
@@ -82,7 +82,7 @@ window.onload = function() {
gtag('js', new Date());
gtag('config', 'G-98DP5VKS42');`;
document.head.append(gscript, ingscript, jquery);
-}
+}, false);
defer(function () {
panicMode();
diff --git a/js/main.js b/js/main.js
index 02dacdf7..5263f4f7 100644
--- a/js/main.js
+++ b/js/main.js
@@ -13,7 +13,7 @@ function check() {
}
}
-window.onload = function () {
+document.addEventListener('DOMContentLoaded', function() {
if (localStorage.getItem("theme")) {
document.body.setAttribute("theme", localStorage.getItem("theme"));
} else {
@@ -21,7 +21,7 @@ window.onload = function () {
}
checkAlert();
check();
-};
+});
function checkAlert() {
if (!Cookies.get("supportalert")) {