Automatically reload the page on disconnect and handle errors such as "Server is full"
< Opiniones de Moomoo.io Auto reloader
why bother when you could shorten the script to:var AutoReload = setInterval(function () { "disconnectedreload" == document.getElementById("loadingText").textContent && ((window.onbeforeunload = null), clearInterval(AutoReload), window.location.reload());});
Inicia sesión para responder.
why bother when you could shorten the script to:
var AutoReload = setInterval(function () {
"disconnectedreload" == document.getElementById("loadingText").textContent &&
((window.onbeforeunload = null),
clearInterval(AutoReload),
window.location.reload());
});