Provides an API to ask whether the current tab is visible or not. If you, you might want to throttle back action or set an idle state.
Docs: https://developer.mozilla.org/en-US/docs/Web/Guide/User_experience/Using_the_Page_Visibility_API
Samples: http://simpl.info/pagevisibility