Open dusklight00 opened 10 months ago
document.addEventListener("visibilitychange", (event) => { if (document.visibilityState == "visible") { console.log("tab is active") } else { console.log("tab is inactive") } });
Thanks me later
Thank you yarr ✨
Thanks me later