A lightweight cross-browser JavaScript library for detecting page visibility, focus, and user idle or active states.