ifvisible.js is a lightweight way to check if a user is looking at the page or interacting with it. Check out the demo, read the code example, or check the annotated source.
Features
- Code examples available
- Demo available
- Documentation available
- Handle tab switch or browser minimize states
- ifvisible.js can handle activity states too
- You can manually trigger status events
- You can use ifvisible.off() to remove event triggers
Categories
LibrariesLicense
MIT LicenseFollow ifvisible.js
Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ifvisible.js!