window.addEventListener("load", () => { window.fetch("/statusbar.php").then((a) => {a.text().then((b) => {document.body.innerHTML=document.body.innerHTML+b})}); $(".progress").fadeOut("slow"); })