Which Hardware Properties JavaScript Can Read Silently
Without asking for any permission, every web page can read a cluster of display and hardware properties: screen.width and screen.height, window.innerWidth and window.innerHeight, window.devicePixelRatio, screen.colorDepth, navigator.hardwareConcurrency (logical CPU thread count), navigator.deviceMemory (coarse RAM bucket in Chromium browsers), navigator.maxTouchPoints, and CSS media queries such as (color-gamut: p3), (prefers-color-scheme: dark), and (prefers-reduced-motion: reduce).
Individually, none of those values identifies a person. Millions of laptops have 1920x1080 displays and 8 logical CPU cores. When combined with WebGL GPU strings, timezone, and language preferences, however, unusual multi-monitor resolutions, 24-core workstations, or non-standard browser zoom levels quickly shrink your anonymity set.
Why Common Specs Are Different From High-Entropy Hardware
An honest privacy score should not penalize a browser merely because navigator.hardwareConcurrency exists: every mainstream browser exposes that property to let web apps size Web Worker pools. What matters for uniqueness is whether your values are clamped to a common bucket or fall into an uncommon tail (such as 16 or 32 logical cores paired with a wide-gamut P3 monitor and fractional scaling).
Similarly, running your browser maximized on an ultrawide 3440x1440 monitor reveals a far rarer viewport size than browsing inside a standard 1280x800 or letterboxed window. Check your current hardware bucket on the McPriv Browser Fingerprint Test.
Browser Protections and Practical Steps
Several browsers clamp or normalize hardware APIs to keep users grouped into larger crowds.
- Firefox (RFP / Letterboxing): privacy.resistFingerprinting clamps hardwareConcurrency to 2 cores, omits deviceMemory, rounds window dimensions into standardized letterboxed steps (such as 1000x800 or 1200x900), and reports sRGB defaults.
- Safari: Does not implement navigator.deviceMemory at all and groups iOS devices into a small set of standard screen resolutions and DPRs.
- Brave: Applies small randomized variance to hardwareConcurrency in Strict fingerprinting mode and clamps high-precision memory exposure.
- Practical habit on any browser: Avoid maximizing the browser window on rare ultrawide monitors when browsing sensitive sites, and avoid unusual custom browser zoom percentages like 117%.
Why Spoofing Fake Hardware Specs Backfires
Installing an extension that invents a random screen size (like 1347x819) or claims 1 CPU core on a fast Apple Silicon machine often increases uniqueness instead of reducing it. Consistency checks immediately notice when screen.width is smaller than window.innerWidth or when claimed hardware disagrees with WebGL performance. Blending into standard buckets beats random spoofing.
How Display Scaling, Multi-Monitor Setups, and CSS Media Queries Leak Detail
Screen fingerprinting goes deeper than screen.width and screen.height. Operating systems with fractional HiDPI scaling (such as 125% or 150% scaling on Windows laptops, or custom 'More Space' scaling on macOS Retina displays) expose unusual logical viewport sizes paired with non-integer window.devicePixelRatio values like 1.25 or 1.75. Multi-monitor workstations can also leak window.screen.isExtended in Chromium browsers and expose negative or offset window.screenX coordinates when a browser sits on a secondary display.
On top of JavaScript properties, CSS media queries work even when JavaScript is restricted. Trackers can probe @media (color-gamut: p3), (dynamic-range: high), (pointer: fine), (any-pointer: coarse), (prefers-color-scheme: dark), and (prefers-contrast: more) to infer whether a user has an HDR wide-gamut desktop display, a touchscreen laptop, or accessibility preferences enabled. Inspect your exact screen, DPR, color gamut, and media-query snapshot locally on our Screen Resolution & Hardware Test.
Measuring Realistic Hardware Entropy Without Panic
Hardware metrics are strongly correlated with each other and with your operating system, which is why summing independent bit counts produces wildly inflated uniqueness claims. For example, a 14-inch MacBook Pro almost always pairs a Retina DPR of 2, Display-P3 color gamut, macOS fonts, and 'Apple GPU' in Safari. Those traits are not independent dice rolls; they occur together across millions of identical laptops.
That correlation is why McPriv applies a correlation discount factor (0.72) in our Scoring Methodology and reserves high hardware-exposure warnings for genuinely uncommon combinations such as 12+ logical CPU cores, high-memory desktop workstations, or rare display geometries. For everyday browsing, keeping your browser window at a normal non-maximized size on ultrawide monitors or using Firefox RFP letterboxing gives practical protection without breaking web layouts.
Checking Hardware Clamping Directly in the Console
You can inspect every raw hardware property your browser exposes by opening DevTools Console and evaluating ({ cores: navigator.hardwareConcurrency, mem: navigator.deviceMemory, screen: [screen.width, screen.height], dpr: devicePixelRatio, touch: navigator.maxTouchPoints }). On Firefox with RFP enabled, cores clamps to 2 and mem reads undefined; on default desktop Chrome on a high-end workstation, you will see your full logical thread count and coarse RAM tier immediately. Compare your values before and after browser changes on our Screen & Hardware Test.