HDR-UA-01
User-Agent header against navigator.userAgent
This rule marks a contradiction when the User-Agent header and `navigator.userAgent` differ. A browser writes both from one value, so a difference means one side was rewritten.
Request headers as the edge received them
the edge echoes the request headers back to the page (GET /api/ip)
Predicate
The User-Agent header the request carried is the string navigator.userAgent returns.
A pair satisfying this statement leaves the cell blank. A pair violating it is marked at weight 4 and entered in the margin notes with both observed values.
Why these two values are coupled
The header is sent before the page exists; the property is read by the page's own script. Both come from the same internal string, including after UA reduction.
User-agent switchers usually patch one side. A page-level patch leaves the header; a request-rewriting rule leaves the page.
Why this weight
A browser builds both from one value. Extensions that switch the User-Agent usually reach one side only: a page-level patch leaves the header, a request-rewriting rule leaves the page. Weighted 4 rather than 5 because a company proxy or security product can rewrite the header on its own, which is a real configuration nobody in the browser chose.
Weight 4 requires: No stock configuration of any shipping browser produces the pair. The only causes are modification or a documented edge case, and the rule names which. — the full weighting scale.
What a consistent pair looks like
The same string, byte for byte, in the header and in `navigator.userAgent`.
The honest configuration that produces this mark
A company proxy or security product that rewrites the header on its way out. Rare, which is why the weight is 4 and not 5.
What to do when this cell is marked
Turn off user-agent extensions and read again. If the mark survives with every extension off, check for a proxy.
The predicate is symmetric. It says REQ HEADERS and UA PLATFORM cannot both be truthful; it never says which of the two is wrong, and no amount of re-running it will make it say so. Turning that into a directional question means assuming one of them — declaring a datum — and reading how much the assumption explains.
Documented misreports in each operand
REQ HEADERS
- Header-rewriting extensions change these without touching what the page reads, and page-level spoofers change the page without touching these. Either leaves the two copies disagreeing.
- A company proxy can rewrite headers on the way out.
UA PLATFORM
- 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.
Version
First shipped in method v1.5.0. Current at v1.5.0. It has been revised since:
- v1.5.0, 2026-10-13 — Request headers against what the page reads, and the negotiated protocol against the declared browser. Each compares two copies of one fact that a single rewriting tool separates. ( new at 4, 3, 4, 4, 3)
Reading this clause in context
HDR-UA-01 is one of 17 predicates in the registry carrying weight 4, and it is evaluated only when REQ HEADERS and UA PLATFORM were both readable. Where either could not be read, this cell is drawn with hidden lines rather than left blank, because an unevaluated pair has not passed. Both read procedures are published in full: Request headers as the edge received them, an edge signal, and User-Agent platform token, an declared one.
A contradiction is not a score, and no score, percentile or rarity figure exists anywhere on this site. To see whether this predicate can be evaluated on your browser at all, run the audit; to see whether a configuration change moves this cell, save a baseline and re-run.
Citing this rule
Cite it as HDR-UA-01, fingerprintaudit.com method v1.5.0. Rule IDs are stable from v1.4.0 onward and are never reused for a different predicate, so this identifier will keep resolving to this statement. Citation format · the registry as JSON.
- Can a website see my real user agent if I change it?
- Usually, yes: a switcher that changes one copy leaves the other, and the site receives both on the same request.
- Is the comparison exact?
- Yes, after trimming whitespace. One character of difference marks.
- Why is this cell not read?
- The edge view did not reach the page, so there was no header to compare.
Preventing this contradiction
Donut Browser's launch gate refuses to start a profile whose proxy exit geography, timezone and language contradict its fingerprint, so this class of mark is prevented before the browser opens rather than discovered after. Verified in the app's own `launch_gate.rs` and `fingerprint_consistency.rs`, both AGPL-3.0.
Donut Browser is open source under AGPL-3.0, has no analytics SDK anywhere in its desktop app or its Rust crate, and ships for macOS, Windows and Linux. No detection or benchmark results exist in its repository, so none are quoted here. Download Donut Browser · which contradictions a pre-launch gate actually covers.