← All articles

How Anti-Detect Browsers Actually Work Under the Hood

2026-11-07 · 7 min read

Three layers do the work, and tools differ mainly in how many they implement. The JavaScript layer intercepts what pages ask about the device. The engine layer changes how rendering actually produces output. The transport layer shapes the network handshake. A tool covering only the first is a browser extension wearing a different name.

What does the JavaScript layer do?

The injection layer runs code before any page script and replaces the values those scripts will read: platform, language, timezone, hardware concurrency, screen dimensions. This is cheap to implement and covers every declared property, which is why it is the layer every tool has.

Its limitation is that it can only change answers, not measurements. A page that asks the browser what GPU it has receives the substituted string; a page that draws an image and hashes the result receives whatever the real GPU produced.

What does the engine layer change?

The engine layer alters the rendering pipeline so that measured outputs differ. Canvas rasterisation, WebGL shader results, audio processing and font metrics are produced by engine code, so changing them means modifying and rebuilding the browser itself rather than injecting a script.

SignalReachable by JavaScript layer?Needs engine changes?
User-Agent, platform, languageYesNo
Screen size, CPU coresYesNo
TimezoneYesNo
Canvas hashNoYes
WebGL renderer outputPartlyYes for the image itself
Audio processing hashNoYes
Font rendering metricsNoYes

Why does the transport layer matter?

Before a page loads, the browser completes a TLS handshake whose shape — cipher order, extension list, supported curves — differs between engines. A browser claiming to be Safari while producing a Chromium handshake has contradicted itself at a level no JavaScript can reach, because the contradiction happened before any script ran.

The network layer is invisible in fingerprint test pages that only run JavaScript, which is why a profile can score perfectly on those and still be identified.

How are the values chosen?

Good tools do not generate values field by field. They start from a device template describing a real machine — a particular GPU with the fonts, screen size and platform that ship with it — and derive every field from that template. Random per-field generation produces combinations no device has, which is more identifiable than not spoofing at all.

Generation approachResult
Random value per fieldImpossible device, highly unique
Random from real-world rangesPlausible fields, implausible combination
Derived from a device templateCoherent, resembles real hardware

Why does the layer a tool works at matter so much?

Because detection reaches deeper than injection can. A tool patching values in JavaScript is writing over what the page asks for, and a page can ask in ways the patch did not anticipate — through a worker, an iframe or an API the tool never wrapped.

Engine-level changes do not have that gap, because the value the page receives is the value the engine computed. That is the difference between 2 tools that both claim to spoof canvas: 1 rewrites the answer, the other changes what produces the answer, and only the second stays consistent across all 3 contexts a page can query from.

What does the application layer add?

Everything that turns fingerprint technology into a usable tool: storing cookies per profile, binding a proxy to each one, keeping timezone and language matched to that proxy, launching many profiles without collisions, and backing the set up. This is where most of the engineering time goes and it is the part that rarely appears in feature comparisons.

When evaluating a tool, ask which layers it implements rather than how many fields it lists. A tool with the JavaScript layer alone cannot change canvas output, and any claim to the contrary is testable in about a minute by reloading a fingerprint page and comparing hashes. When evaluating a tool, ask which of the 3 layers it actually operates at.

A vendor that answers precisely is describing engineering; 1 that answers with a list of 40 spoofed fields is describing a feature table, and the 2 are not the same claim.

Anti4 is free forever for up to 5 profiles. For unlimited profiles, a one-time licence from $39, with lifetime updates. No subscription.

Download Anti4 free