← Back to release summary

Keyboard Lock and Pointer Lock permissions

Category
User input
Type
No developer-visible change
Status
In developer trial (Behind a flag) (Chrome In developer trial (Behind a flag))
Intent stage
None

Summary

May show a permission prompt to the user when Keyboard Lock and/or Pointer Lock is requested by a website, and saves the user preferences as content settings. The settings can be queried for via the Permissions API. This helps mitigate the abusive use of the APIs.

Motivation

The permission prompt notifies the user that the website is requesting Keyboard Lock and/or Pointer Lock, and allows them to explicitly choose whether to grant or deny those capabilities. This makes it more difficult for malicious websites (e.g., tech support scam websites) to gain the capabilities and prevent the user from exiting the website.

Standards & signals

Ecosystem

View on chromestatus.com