Limited other
Keyboard lock
The navigator.keyboard.lock() API allows you to capture keys that are normally reserved by the operating system. It can be used to provide an immersive fullscreen experience such as games.
Baseline Status
Limited
Missing ≥1 target
First Core Launch
Chrome 68
2018-07-24
Core-3 Stability
Limbo (3,047d (8.3y))
Missing: firefox, safari
BCD Keys Mapped
4
Group: other
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Chrome | desktop | 68 | 2018-07-24 |
| Chrome Android | mobile | 68 | 2018-07-24 |
| Edge | desktop | 79 | 2020-01-15 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.Keyboard | DOM API | 3,047d (8.3y) limbo |
| api.Keyboard.lock | DOM API | 3,047d (8.3y) limbo |
| api.Keyboard.unlock | DOM API | 3,047d (8.3y) limbo |
| api.Navigator.keyboard | DOM API | 3,047d (8.3y) limbo |