As of today (Firefox 120), I intend to turn on the User Activation API by default on all platforms. It has not been developed behind a flag, rather being enabled by default in the implementation patch as it is a low-risk feature. No other browsers ship or implement the feature at this time.
Summary: The User Activation API allows websites to check if the page is activated by the user or has been active in the past, activated through user interaction (click, keypress, etc). Sites can use this to only request permissions, autoplay videos, and more only if the user is active or has been previously. It is exposed via the navigator.userActivation interface. Bug: https://bugzil.la/1791079 Specification: https://html.spec.whatwg.org/multipage/interaction.html#the-useractivation-interface Standards body: WHATWG (HTML) Platform coverage: All Preference: None DevTools bug: None Standards position: https://github.com/mozilla/standards-positions/issues/838 Other browsers: - Blink: Shipped since Chrome 72 - WebKit: Shipped since Safari 16.4 Web platform tests: https://wpt.fyi/results/html/user-activation -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/b34c1ef5-aedb-4612-bc80-ba1ccc9c9865n%40mozilla.org.
