Crossbrowser & lightweight way to check if user is looking at the page or interacting with it. (wrapper around HTML5 visibility api)
visibility, HTML5, cross, browser, api, UI, idle, status, mousemove, reading, mode, tab, change
Write your own awesome web development tutorials for the libraries on cdnjs! Submit your community driven tutorials now!