hot fix 2

This commit is contained in:
cyi1341 2024-02-11 23:13:50 +08:00
parent 169fb77b55
commit 3014ee5823
1 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@
let isSubmitted = true;
// Reload the page every 20 minutes (1200000 milliseconds)
setInterval(pageReload, 1200000);
setInterval(() => window.location.reload(), 1200000);
while (true) {
if (isSubmitted) {
console.log("%cNew Wayspot", "font-weight: bold;");
@ -609,7 +609,8 @@
var img = document.querySelector('.wf-image-modal.flex-grow.bg-contain.bg-center.bg-no-repeat img');
if (img === null) {
window.location.reload()
isSubmitted = true;
window.location.reload();
}
// Get the src attribute of the img element