browsersays

navigator.userAgentData

Client hints: the structured replacement for the user-agent string. What it reports by default, what a site has to ask for, and which browsers have it.

Checking the browser you are reading this in…

Entry in question 1: What your browser calls itself

What it is

Client hints are the user agent taken apart and put back together as data. Instead of one string a site gets a list of brands with major versions, a platform name, and a mobile flag — and, if it asks a second time, a longer list including the full platform version, the architecture and the device model.

What a site can do with it

The default answer is deliberately small, and that is the point of the design: a site gets what it needs for layout without getting a high-entropy string for free. The extra fields are available on request through a promise, so a site that wants them has to write the code to ask, which is a visible act rather than a passive read.

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.userAgentData?.brands

The full path recorded by the walk is navigator.userAgentData, 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 since Chrome 90. Reports several brands, one of which is deliberately nonsensical to stop sites from matching on an exact list.
Firefox
Absent. Mozilla declined to implement it and reports a frozen user-agent string instead.
Safari
Absent. Apple has not shipped it.

If your browser is not present, the leaflet prints this instead of dimming the line: Not present. Sites wanting the same facts fall back to reading the user-agent string.

Where it sits in the leaflet

This is one of 9 entries in question 1, what your browser calls itself. 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.userAgent · navigator.platform