← Back to release summary

User Activation Query API

Category
User input
Type
New or changed feature
Status
Enabled by default (Chrome 72)
Intent stage
None

Summary

Some APIs cannot be used with a user activation (https://html.spec.whatwg.org/multipage/interaction.html#activation). Examples include requestFullScreen(), autoplay, window.open(). This restriction is a powerful tool for preventing annoying behavior by web pages. Unfortunately, there is no way to determine if a user activation is active. The User Activation Query API adds this ability.

Standards & signals

View on chromestatus.com