Crossbrowser & lightweight way to check if user is looking at the page or interacting with it.
What is the serkanyersen/ifvisible.js GitHub project? Description: "Crossbrowser & lightweight way to check if user is looking at the page or interacting with it.". Written in TypeScript. Explain what it does, its main use cases, key features, and who would benefit from using it.
Question is copied to clipboard — paste it after the AI opens.
Add it to a GitHub README or profile — the card updates as the ranking changes:
Clone via HTTPS
Clone via SSH
Download ZIP
Download master.zipReport bugs or request features on the ifvisible.js issue tracker:
Open GitHub Issues