progress count

This commit is contained in:
randogoth 2023-05-22 11:25:46 +03:00
parent 7f1a8e0a6c
commit 361c75c6f7
6 changed files with 53 additions and 31 deletions

View file

@ -22,7 +22,16 @@ if ( !Cookies.get('nfcexplorer') ) {
Cookies.set('nfcexplorer', generateUUID())
}
cat = document.querySelector('meta[data-category]').content
fetch('https://nmns.place/track?' + new URLSearchParams({
hash: Cookies.get('nfcexplorer'),
ua: ua,
}));
cat: cat
})).then(response => {
progress = document.querySelector('span#progress').content
document.querySelector('span#progress').content = response
})
.catch(error => {
// handle the error
});