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
For practicing core and advanced concepts about Javascript.
Add a description, image, and links to the visibilitychange topic page so that developers can more easily learn about it.
To associate your repository with the visibilitychange topic, visit your repo's landing page and select "manage topics."