Photo by Jametlene Reskp on UnsplashSince most modern browsers are tabbed, it’s possible that a webpage may reside in a tab that stays in the background and not visible to the user. The Page Visibility API can provide us with insight as to whether a page is visible to the user. In this article, we’ll look at the Page Visibility API, its use cases, and how to use it. Visibility Change…