Javascript visibilty api

HTML 5 spec include nice api that allow us to know from the javascript if the page is visible to the user or not. we can also listen to event that is fired every time the visibility state change. The java script event for change in visibility is visibilitychange so we can listen to this event, and when … Continue reading Javascript visibilty api