Know how long it's been since a user has "seen" your app.
-
Updated
Dec 5, 2021 - TypeScript
Know how long it's been since a user has "seen" your app.
sse协议的后端service,前端可以不引入js依赖,直接写业务逻辑,后端可以直接根据用户ID推送消息
Send data to a Google Form using sendBeacon() after the user is finished with the page.
Call one last function as a user leaves your web application
Background Video Playback Fix / 网页后台防暂停脚本: prevent video pause on tab switch, visibilitychange, blur, pagehide, or freeze. Tampermonkey userscript.
Wrapper for the Page Visibility API
A Manifest V3 browser extension that prevents idle timeouts by spoofing tab visibility and blocking focus/visibility detection events, opt-in per hostname.
For practicing core and advanced concepts about Javascript.
Tab focus detection: see what an online assessment records when you switch tabs or windows. 12 languages, no data leaves the page.
The Page Lifecycle API state of a web page (active, passive, hidden, frozen, terminated) for monitoring and telemetry libraries: one shared tracker, observers before exporters, back/forward cache restores.
To associate your repository with the visibilitychange topic, visit your repo's landing page and select "manage topics."