Limited Availability
id: idle-detection
Idle detection
The
IdleDetector API is used to notify a webpage of the user's idle, active, and locked state.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
94
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
114
Supported
Mobile Browser Engine Support
Chrome Android
94
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
api.IdleDetector ↗
api.IdleDetector.IdleDetector ↗
api.IdleDetector.change_event ↗
api.IdleDetector.requestPermission_static ↗
api.IdleDetector.screenState ↗
api.IdleDetector.start ↗
api.IdleDetector.userState ↗
html.elements.iframe.allow.idle-detection ↗
http.headers.Permissions-Policy.idle-detection ↗