Baseline Widely Security

User activation

The navigator.userActivation API reveals whether the user has interacted with the page through an "activation" gesture such as a click, tap, or key press. User activation gated APIs (such as the fullscreen API) fail without user interaction, and this API allows you to predict such a failure.

Baseline Status
Widely Available
Since 2023-11-21
First Core Launch
Chrome 72
2019-01-29
Core-3 Stability
1,757d (4.8y)
Last: Firefox (2023-11-21)
BCD Keys Mapped
4
Group: Security

Browser Support Timeline

Chrome v72 (2019-01-29) Chrome Android v72 (2019-01-29) Edge v79 (2020-01-15) Safari v16.4 (2023-03-27) Safari on iOS v16.4 (2023-03-27) Firefox v120 (2023-11-21) Firefox for Android v120 (2023-11-21)
Green dot marks the first browser release (2019-01-29); blue dots show subsequent browser launches (+1757d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 72 2019-01-29
Chrome Android mobile 72 2019-01-29
Edge desktop 79 2020-01-15
Safari desktop 16.4 2023-03-27
Safari on iOS mobile 16.4 2023-03-27
Firefox desktop 120 2023-11-21
Firefox for Android mobile 120 2023-11-21

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
api.Navigator.userActivation DOM API 1,757d (4.8y)
api.UserActivation DOM API 1,757d (4.8y)
api.UserActivation.hasBeenActive DOM API 1,757d (4.8y)
api.UserActivation.isActive DOM API 1,757d (4.8y)