11 lines
424 B
JavaScript
11 lines
424 B
JavaScript
/* document.addEventListener('readystatechange', event => {
|
|
if (document.readyState === "complete") {
|
|
const watch = document.querySelector('.main-watch');
|
|
if (watch) {
|
|
setTimeout(() => {
|
|
fetch(`https://qa.softcad.pw/${watch.dataset.type}/view/${document.location.hostname}/${watch.dataset.id}`)
|
|
.catch((err) => {});
|
|
}, 800);
|
|
}
|
|
}
|
|
}); */
|