botrefund.com
← BotRefund Home Advanced JavaScript Engine & Audio Precision Leaks

Screen Dimensions and CSS Media Query Mismatch

Cross-checks CSS @media (device-width) and @media (device-height) evaluations alongside forced-colors text styling against JavaScript screen properties.

What we test

On sessions with non-zero viewport dimensions, the client probe tests whether CSS @media (device-width) and @media (device-height) match JavaScript screen.width and screen.height, while also evaluating ActiveText forced-color styling.

Contradictions between JavaScript screen properties and the browser's CSS layout engine carry high suspicion on desktop sessions, while touch-mode discrepancies are downgraded to a minor note.

Why it matters

Browser spoofing scripts routinely redefine window.screen.width and window.screen.height in JavaScript without altering the underlying C++ Blink or WebKit media-query evaluator.

Because fractional DPI scaling, browser zoom, and responsive mobile emulation can create subtle rounding differences on touch viewports, touch-device mismatches are treated conservatively.

EXPLANATION

JS vs CSS Engine Alignment

01 EXPECTED RESPONSE

JavaScript screen dimensions match CSS media queries

Genuine desktop displays synchronize DOM screen metrics with CSS @media (device-width) and (device-height) queries without forced-color anomalies.

Example result CSS device-width: 1440 px • screen.width: 1440 px • Forced ActiveText override: no — Result: layout engine and DOM agree
02 POSSIBLE AUTOMATION SIGNAL

DOM screen properties contradict CSS layout engine

JavaScript-only screen spoofing diverges from native C++ @media device dimensions on desktop browsers, exposing mismatched display emulation.

Example result CSS device-width: 800 px • screen.width: 1920 px • Device: desktop — Result: screen property spoofed at JS layer

Forensic significance: Strong desktop display-consistency signal (not a sole standalone blocker) that is significantly reduced on touch devices where zoom or viewport scaling can interfere.