Idle Detection API browser support
Published
The IdleDetector interface reports whether the user has interacted with the device within a threshold and whether the screen is locked, firing a change event whenever either state flips.
Support data refers to the top-level IdleDetector interface, keyed as api.IdleDetector in MDN browser-compat-data.
- Legend
- Yes
- Partial
- Flag
- No
- Unknown
| Browser / Platform | Support | Versions | Confidence | Source | Notes |
|---|---|---|---|---|---|
| Chrome (Desktop)# | Yes | 94 | high | source | — |
| Chrome (Android)# | Yes | 94 | high | source | 1 |
| Edge (Desktop)# | Yes | 114 | high | source | — |
| Firefox (Desktop)# | No | — | high | source | 2 |
| Firefox (Android)# | No | — | high | source | 34 |
| Safari (macOS)# | No | — | high | source | 5 |
| Safari (iOS)# | No | — | high | source | 67 |
| Samsung Internet# | Yes | 17.0 | high | source | 8 |
| WebView (Android)# | Yes | 94 | high | source | 9 |
- Derived by browser-compat-data mirroring from Chrome.
- No Firefox support is recorded in browser-compat-data.
- No Firefox for Android support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Firefox.
- No Safari support is recorded in browser-compat-data.
- No Safari on iOS support is recorded in browser-compat-data.
- Derived by browser-compat-data mirroring from Safari.
- Derived by browser-compat-data mirroring from Chrome Android.
- Derived by browser-compat-data mirroring from Chrome Android.
Cite this table
Idle Detection API compatibility data — OpenPWA · Verified 2026-10-03 · CC BY 4.0 · JSON
When reusing compatibility data, keep the attribution, identify your changes and check each row’s original source. This citation excludes market-share and reach figures, which use CC BY-SA 4.0.
Permission and threshold
Section titled “Permission and threshold”IdleDetector.requestPermission() rejects without transient user activation, and start() fails unless the idle-detection permission has been granted. start() rejects with a TypeError when threshold is below 60,000 ms, and userState and screenState are null until the first reading arrives (WICG specification).
See also
Section titled “See also”- Idle Detection API: watching for user and screen inactivity
- Idle Detection API (wicg.github.io)
- Idle Detection API (developer.mozilla.org)