• ifvisible.js is watching you.

    ifvisible.js (Link) Crosbrowser & lightweight way to check if user is looking at the page or interacting with it. Via catswhocode