Web features explorer

Page visibility state

Limited availability

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.

Browser support

  • Chrome 115 Released on 2023-07-18
  • Chrome Android 115 Released on 2023-07-21
  • Edge 115 Released on 2023-07-21
  • Firefox Not supported Bugs: 1827127 1867361
  • Firefox for Android Not supported Bugs: 1827127
  • Safari Not supported Bugs: 255200
  • Safari on iOS Not supported Bugs: 255200

Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.

MDN documentation

Usage (according to Chrome Platform Status)

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