diff --git a/js/ajax.js b/js/ajax.js index 6afb199..4c3c23f 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -35,26 +35,13 @@ if(resppage = true){ } } -//Multithreaded download window.onload = async function startdown(){ while(true) { await delay(10); await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"}) } } -window.onload = async function startdown(){ - while(true) { - await delay(10); - await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"}) - } -} -window.onload = async function startdown(){ - while(true) { - await delay(10); - await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"}) - } -} -window.onload = async function startdown(){ +window.onload = async function startdown2(){ while(true) { await delay(10); await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"})