Spaces:
Paused
Paused
P01yH3dr0n
commited on
Commit
•
d5aefaa
1
Parent(s):
9e11d2d
Update jsReloader.js
Browse files- jsReloader.js +4 -1
jsReloader.js
CHANGED
@@ -5,4 +5,7 @@ window.addEventListener("error", e => {
|
|
5 |
const url=new URL(tag.src)
|
6 |
document.write(`<script src="${url.toString()}">\<\/script>`);
|
7 |
}
|
8 |
-
}, true);
|
|
|
|
|
|
|
|
5 |
const url=new URL(tag.src)
|
6 |
document.write(`<script src="${url.toString()}">\<\/script>`);
|
7 |
}
|
8 |
+
}, true);
|
9 |
+
window.onload = function () {
|
10 |
+
setTimeout(setup(), 5000);
|
11 |
+
};
|