progress count
This commit is contained in:
parent
7f1a8e0a6c
commit
361c75c6f7
6 changed files with 53 additions and 31 deletions
|
|
@ -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
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue