Provides an API to ask whether the current tab is visible or not. If you, you might want to throttle back action or set an idle state.

Demo

Documentation

Specification

Specification link


Final published standard: Recommendation, Living Standard, Candidate Recommendation, or similar final form

Status in Chromium

Blink>DOM


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Comments

First available in Chrome 13, unprefixed in Chrome 33

Last updated on 2020-11-09