This commit is contained in:
randogoth 2023-05-22 11:51:23 +03:00
parent f06b9b5ec2
commit b0adeaef8a

View file

@ -29,9 +29,9 @@ fetch('https://nmns.place/track?' + new URLSearchParams({
hash: Cookies.get('nfcexplorer'), hash: Cookies.get('nfcexplorer'),
ua: ua, ua: ua,
cat: cat cat: cat
})).then(response => response.text().then((text) => { })).then(response => response.text().then((progress) => {
console.log(text) total = document.querySelector('span#progress').innerHTML
document.querySelector('span#progress').innerHTML = text + 'of' + document.querySelector('span#progress').innerHTML document.querySelector('span#progress').innerHTML = progress + ' of ' + total
})) }))
.catch(error => { .catch(error => {
// handle the error // handle the error