The Idle Detection API notifies developers when a user is idle, indicating such things as lack of interaction with the keyboard, mouse, screen, activation of a screensaver, locking of the screen, or moving to a different screen. A developer-defined threshold triggers the notification.

Motivation

Applications which facilitate collaboration require more global signals about whether the user is idle than are provided by existing mechanisms that only consider a user's interaction with the application's own tab.

Demos

Documentation

Specification

Specification link


Specification being incubated in a Community Group

Status in Chromium

Blink>Input


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.

  • Harmful
  • No signal
  • Negative
  • Positive

Owners

Intent to Prototype url

Intent to Prototype thread

Comments

Available behind chrome://flags/#enable-experimental-web-platform-features. Origin trial ran from Chrome 84 to 86. Relaunched in Chrome 88 and extended through Chrome 93.

Last updated on 2021-10-16