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.
Learn more
Specifications
- HTML (#the-visibilitystateentry-interface), from HTML Workstream (WHATWG).
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 ❌ See bugzil.la/1827127
- Firefox for Android ❌ See bugzil.la/1827127
- Safari ❌ See webkit.org/b/255200
- Safari on iOS ❌ See webkit.org/b/255200
Usage (according to Chrome Platform Status)
~0.498% of page loads. More data at chromestatus.
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist