browsersays

navigator.platform

The short operating-system code every browser still reports, why Chrome freezes it to a handful of values, and what it means when it disagrees with the user agent.

Checking the browser you are reading this in…

Entry in question 1: What your browser calls itself

What it is

One short code for the operating system family — a handful of fixed strings such as the Windows one, the Intel Mac one, and the Linux ones. It predates the modern web by a long way and has been formally deprecated for years, yet nothing has removed it because too much existing code reads it.

What a site can do with it

On its own it tells a site very little. Its value is as a cross-check: the platform code, the user-agent string and the client-hints platform all describe the same machine, so a site that reads all three and finds them disagreeing has learned something the individual values never said.

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.platform

The full path recorded by the walk is navigator.platform, 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
Frozen to a small fixed set. Modern Chrome on Apple Silicon still reports the Intel Mac code, deliberately, so the field cannot be used to separate chip generations.
Firefox
Present and reports a similar short code, with the same freezing behaviour on macOS.
Safari
Present, and on iPad it reports the desktop Mac code as part of Apple's desktop-class browsing behaviour.

If your browser is not present, the leaflet prints this instead of dimming the line: Not present. This would be a remarkable absence: every mainstream browser reports it.

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.userAgentData · navigator.vendor