navigator.virtualKeyboard
Control over the on-screen keyboard, and the geometry it occupies. Typical of touch devices, present in Chromium everywhere, and useful as a cross-check.
Checking the browser you are reading this in…
Entry in question 2: What it says about your machine
What it is
An interface that lets a page take over the on-screen keyboard rather than letting the browser move the page around it, and read the rectangle the keyboard is covering.
What a site can do with it
For a site the interesting part is what its presence implies, not what it does: it is a Chromium interface, so it separates Chromium from the other engines in one read. It also pairs naturally with the touch-points field, since a browser reporting no touch capability and a working virtual-keyboard interface is describing two different devices.
Check it yourself
Open your browser's developer tools, go to the console, and paste this. Nothing is sent anywhere; the answer comes from the browser you are reading this in.
!!navigator.virtualKeyboard The full path recorded by the walk is navigator.virtualKeyboard, and that is the string the leaflet prints beside this entry.
What the answer is on an ordinary browser
Written by hand for each of the three engines, because a table generated from one sentence would be worth nothing to the person reading it.
- Chrome
- Present from Chrome 94 on all platforms, not only touch ones.
- Firefox
- Absent.
- Safari
- Absent.
If your browser is not present, the leaflet prints this instead of dimming the line: Not present. Sites managing an on-screen keyboard fall back to guessing from window size.
Where it sits in the leaflet
This is one of 9 entries in question 2, what it says about your machine. The leaflet reads all 42 entries in one press and prints each answer beside the question, with the property name next to it so you can check any line.
Read my browser · navigator.getBattery · navigator.windowControlsOverlay