User-Agent platform token
The User-Agent platform token is read from a single string — `navigator.userAgent` — and matched against a fixed table of operating-system markers, in a defined order, so that `CrOS` is recognised before `Linux` and `iPhone` before `Mac OS X`. Nothing about the machine is inspected: this signal records what the browser says its operating system is, which is why it is the sheet's most-referenced axis and never its datum by default without you saying so.
What this value is, before anyone changes it
The platform token is the parenthesised comment near the front of the User-Agent string — (Windows NT 10.0; Win64; x64), (Macintosh; Intel Mac OS X 10_15_7), (X11; Linux x86_64). It is compiled into the browser binary at build time from the platform the binary was built for. No runtime query happens: a Chromium built for Windows carries the Windows token whether or not Windows is underneath it at the moment the page loads.
That build-time origin is the whole reason this axis is useful. A value fixed at compile time cannot drift, cannot vary with a driver update, and cannot be affected by a setting. When it disagrees with something the machine itself produced, the disagreement was introduced by something that ran after the build — which is a much narrower explanation than 'unusual hardware'.
Read procedure
In this order. The first call that answers wins; the sheet records which one did.
- navigator.userAgent
- match against the platform-token table in §3
Fallback
None. `navigator.userAgent` is present in every shipping browser; when it is absent the whole probe is thin and every rule that reads it is drawn hidden.
When nothing answers, the signal is recorded as not read and its entire row and column are drawn with hidden lines. That is a different fact from consistency and the sheet never collapses the two: a rule that could not run has not passed.
Why two honest browsers disagree about it
Two honest browsers on the same operating system now report less than they used to. Chromium's User-Agent reduction froze the version segment of the platform token, so a current Chrome on Windows 11 reports Windows NT 10.0 and a Chrome on Windows 10 reports the same thing. Similarly, Chromium on macOS pins the version at 10_15_7 regardless of the real system version. The consequence for this sheet is that the token is reliable about the OS family and deliberately uninformative about the version, so no rule in the registry reads a version out of it.
Firefox and Safari never adopted the reduction in the same form, so their tokens still carry more detail. The registry does not exploit that difference either — a rule that depends on which vendor happened to reduce which field would break on the next release and would be a rule about release schedules rather than about consistency.
What a contradiction involving UA Platform means
This signal is the declared half of thirteen rules, which is more than any other axis carries. A mark that has the platform token as one operand always reads the same way in principle: the machine produced something the declared operating system cannot produce, or the browser made a second declaration elsewhere that names a different operating system.
The two hard cases are UA-GL-01, the declared platform against the graphics backend, and UA-TOUCH-01, a mobile operating system with no digitiser. Both are weighted 5, and both are weighted 5 for the same structural reason: the other operand is not a declaration. A driver string comes from the driver and a touch count comes from the input stack, so satisfying those rules dishonestly means changing something below the page rather than something in it.
How it is spoofed, and what the spoof leaves behind
Rewriting this string is the cheapest fingerprint change available. An extension can set it, Chrome DevTools Protocol offers Network.setUserAgentOverride for it, and every browser automation framework exposes a one-line option. That accessibility is exactly why the sheet treats a lone platform token as evidence about nothing at all.
What a rewrite leaves behind is a set of surfaces it did not reach. The commonest residue is the client-hint platform, which is a separate object with a separate patch point and is checked by UA-UACH-01. After that come the surfaces that are not strings at all: the metric-detected font set, the unmasked renderer, and the codec support set. A platform token can be set to anything in a second; making three independent subsystems agree with it is a different order of work.
Documented misreports
- Rewritten wholesale by extensions, by CDP `Network.setUserAgentOverride`, and by every anti-detect browser that patches at the JS layer.
- Frozen by Chromium's UA reduction, so the platform token no longer varies with the real Windows or macOS version.
- A spoofer commonly rewrites this string and forgets `navigator.userAgentData`, which is rule UA-UACH-01.
What a truthful reading looks like
One platform token consistent with every other declaration on the sheet, and with the graphics backend the machine actually exposes.
| Mark | Rule | Against | Predicate |
|---|---|---|---|
|
UA-UACH-01
User-Agent platform against client-hint platform |
UA-CH PLATFORM | The OS family implied by the User-Agent platform token is the OS family named by navigator.userAgentData.platform. | |
|
UA-UACH-03
CPU architecture across the two declarations |
UA-CH PLATFORM | The CPU architecture implied by the User-Agent platform token equals the architecture reported by getHighEntropyValues. | |
|
UA-MOBILE-01
Mobile token against the mobile flag |
UA-CH MOBILE | The presence of a mobile token in the User-Agent string equals the value of navigator.userAgentData.mobile. | |
|
UA-GL-01
Declared platform against the graphics backend |
GL RENDERER | The graphics backend named in the unmasked WebGL renderer string exists on the operating system declared by the User-Agent platform token. | |
|
UA-GL-03
Software rasteriser on a consumer desktop declaration |
GL RENDERER | A software rasteriser is reported only where no hardware graphics adapter is available to the browser. | |
|
UA-TOUCH-01
Mobile OS without a digitiser |
TOUCH POINTS | A User-Agent declaring Android or iOS reports at least one touch point. | |
|
UA-TOUCH-02
macOS with a touchscreen |
TOUCH POINTS | A User-Agent declaring macOS reports zero touch points. | |
|
UA-PTR-01
Mobile OS with a fine pointer |
POINTER MODE | A User-Agent declaring Android or iOS implies a primary pointer of `coarse`. | |
|
UA-SCR-01
Mobile OS on a desktop-sized display |
SCREEN GEOM | A User-Agent declaring Android or iOS implies a display whose shorter dimension is under 1200 CSS pixels. | |
|
UA-SCR-02
Windows against its display-scaling steps |
SCREEN GEOM | A User-Agent declaring Windows implies a devicePixelRatio drawn from the Windows scaling steps: 1, 1.25, 1.5, 1.75, 2, 2.25, 2.5, 3. | |
|
UA-FONT-01
Foreign platform faces present |
FONT STACK | No font exclusive to another operating system is detectable on the declared platform. | |
|
UA-FONT-02
The declared platform's own faces absent |
FONT STACK | At least one font exclusive to the declared platform is detectable, when the probe detected a normal number of faces overall. | |
|
UA-CODEC-04
HEVC on a declared Linux desktop |
CODEC SET | A User-Agent declaring Linux reports no HEVC support. | |
|
HDR-UA-01
User-Agent header against navigator.userAgent |
REQ HEADERS | The User-Agent header the request carried is the string navigator.userAgent returns. |
What this axis is dimensioned against
UA PLATFORM is paired with 9 other signals by the registry, and the pairing is where the meaning is: on its own this reading is a value, and a value cannot contradict anything. The heaviest rule touching it is UA-UACH-01 at weight 5 — user-agent platform against client-hint platform.
- User-Agent Client Hints platform — declared, read from navigator.userAgentData.platform.
- User-Agent Client Hints mobile flag — declared, read from navigator.userAgentData.mobile.
- WebGL unmasked renderer string — observed, read from canvas.getContext('webgl2') then getContext('webgl').
- Maximum simultaneous touch points — observed, read from navigator.maxTouchPoints.
- Pointer and hover media features — observed, read from matchMedia('(pointer: fine|coarse|none)').
- Screen geometry and pixel ratio — observed, read from screen.width, screen.height.
- Metric-detected font presence — observed, read from canvas 2D context, 72px test string 'mmmmmmmmmmlli'.
- Media codec support set — observed, read from HTMLVideoElement.canPlayType for theora, avc1, hev1, hvc1, vp8, vp9, av1.
- Request headers as the edge received them — edge, read from the edge echoes the request headers back to the page (GET /api/ip).
Where this sits on the sheet
Row and column S01 of the matrix. Clicking that label — or pressing D with it focused — declares this signal as the datum, which means assume this reading is truthful and re-resolve every deviation on the sheet against that assumption. If declaring it leaves few deviations open, this signal is a cheap explanation for what the sheet found. That is a hypothesis you chose, not a fact the sheet established — what a datum is.
Nothing here is a score. S01 is an declared signal in the declaration group, and the most the registry will say about it is that one of its 14 rules found two readings that cannot both be true — the weighting scale states what evidence each weight is allowed to claim before a rule may claim it. Run the audit to see which of those rules can be evaluated on your browser at all, or read every signal in the index.
- Where exactly does the platform token come from?
- From the parenthesised comment in `navigator.userAgent`, compiled into the browser at build time for the platform it was built for. It is not read from the operating system at runtime, which is why it stays fixed across driver changes and system updates.
- Why does the audit ignore the Windows version in the User-Agent?
- Because Chromium froze it. Current builds report `Windows NT 10.0` on Windows 10 and Windows 11 alike, and macOS builds report `10_15_7` regardless of the real version, so a rule that read a version out of the token would be reading a constant. The registry uses the token for the OS family only — the full rule list shows which rules consume it.
- Is a rewritten User-Agent by itself a contradiction?
- No. A User-Agent can say anything, and on its own it is one value with nothing to disagree with. It becomes a contradiction only when a second signal that the browser did not compose — a driver string, a touch count, a font metric — cannot coexist with what it declared.
- Which signal should I declare as the datum when this one is marked?
- Try the observed half of whichever pair carries the highest weight, usually the WebGL renderer or the font set. If declaring one of those leaves fewer deviations open than declaring the platform token does, the cheaper explanation is that the token was rewritten — what declaring a datum means.
Preventing this class of mark
Every weight-5 mark that names this axis says the same thing in the end: one declaration was changed and the machine underneath it was not. Donut Browser's Wayfern fork applies its fingerprint at the engine level through CDP injection rather than by patching JavaScript objects in the page, which is a different place in the stack to make the change — and for the timezone and language half of the picture it refuses to launch a profile at all when the proxy exit contradicts the profile, which is the same class of contradiction this sheet marks, caught before the browser starts.
Donut Browser is AGPL-3.0 and desktop only, for macOS, Windows and Linux; there is no mobile build and there are no detection-test results anywhere in its repository, so none are quoted here. Download Donut Browser · what a pre-launch consistency gate does and does not cover.