Web platform features explorer

Page visibility state

The visibility-state performance entry and the VisibilityStateEntry API measure the timing of page visibility state changes, such as when a tab is no longer visible or the user has switched to another app.

Status

Limited availability

MDN documentation

Browser support

Usage (according to Chrome Platform Status)

~0.648% of page loads. More data at chromestatus.com.

Developer signals

Votes: 0

If you want this feature to be available in all browsers, vote for it by adding a thumbs up reaction (👍) to this GitHub issue, and leave a comment with more information.