I want to know if there is a way to check if a page is visible or not, lets say i have an asp.net page that will constantly refresh itself, and i want it to stop refreshing if the page is not visible.
How do i know if
-browser is minimized, but the tab is active
-browser is restored, but the tab is inactive
-browser is restored, tab is active, but another window is 100% overlaps on the browser
Can javascript check if current page is visible ?