Skip to content
All fingerprint checksScreen & display

screen.width/height backed by the display (matchMedia)

Check id screen-matchmedia

What an ordinary browser yields

matchMedia(device-width/device-height) matches the reported screen.width × screen.height exactly — or N/A on Brave, whose per-origin screen farbling legitimately disagrees with the media-query engine.

What a detector infers

This check reads window.screen.width/height, then asks the CSS media-query engine the same question via matchMedia("(device-width: Npx) and (device-height: Npx)"). The two values come from different layers: screen.* is a navigator-adjacent JS property that is trivial to override, while the device-width/device-height media features are resolved by the layout engine against the actual render surface it was handed. A detector that reads both and finds them disagreeing learns that the JS-visible screen size was rewritten after the fact while the compositor kept rendering at the real size. The inference is reliable because there is almost no ordinary configuration — no zoom level, no multi-monitor setup, no DPI scaling — in which a real browser's screen dimensions and its own device-width media feature diverge; they are derived from the same display metrics. The one ordinary exception is carved out: Brave farbles screen.* per-origin as a stock privacy defence while the media-query engine keeps resolving the real surface, so every genuine Brave disagrees here (the corpus showed 100% failing). The check declines (N/A) on Brave rather than scoring a privacy feature — the same exemption pattern as canvas-tamper.

How to resolve it

Do not override screen dimensions in JS. If a specific screen size is required, give the browser a real render surface of that size — run headful on a display with those dimensions, or use a virtual display (Xvfb and similar) sized accordingly — so the JS property and the layout engine derive from the same source.

What is screen fingerprinting?

Read in the wild by

Kasada

Reads the screen geometry in both realms, and the device-width media feature separately.

window_screen_width / iframe_screen_width, window_screen_avail_height, device_width, device_height

ips.js 427-probe teardown (emro.cat, Apr 2026)

Akamai

Lists screen width/height/availWidth/availHeight/colorDepth/pixelDepth as browser-fingerprint signals.

signal_categories.md - 1. Browser Fingerprint - Screen properties

Edioff/akamai-analysis — signal_categories.md

Every attribution traces to a published artifact. See the sources and their limits.

Nearby checks in Screen & display

See all 15 checks in Screen & display
Who builds this test

Clearcote is a browser built for fingerprint coherence

It is a Chromium fork, maintained by the same people who wrote this reference. It ships as a compiled browser rather than as a stealth script injected into someone else's — which is a description of how it is built, and is not an argument about how it behaves on this check.

This audit takes no position on how Clearcote scores on Screen & display checks, on this one, or anywhere else. It has no baseline corpus of other people's fingerprints to rank you against and no vendor scoreboard — nearly every check is self-referential, asking one browser the same question through two independent APIs and reporting whether both answers can be true at once. It runs identically on any browser, including ours. Run it on yours and read the result yourself.

See the other checks in Screen & display — the family screen-matchmedia belongs to.