Skip to content
All fingerprint checks
Engine & OS oracles

Blob endings "native" use the claimed OS's line ending

Pim· Clearcote Research 2 min readCheck id blob-native-endings-vs-ua

A browser whose user agent claims Windows writes CRLF (size 4); any other claimed OS writes LF (size 3).

What a detector infers

The File API lets a page build a Blob from strings with {endings: "native"}, which rewrites every line break to the operating system's native line ending. What counts as native is decided when the browser is compiled, not at run time: Chromium's line_ending.cc and Firefox's BlobSet.cpp both turn \n into \r\n only inside a Windows compile-time branch, and every other build (Linux, macOS, Android, ChromeOS, iOS) keeps \n.

Blob.size returns the result synchronously, so new Blob(["a\nb"], {endings: "native"}).size is 4 on a Windows build and 3 everywhere else. No navigator property, user-agent override, CDP command or launch flag changes it, which is why a Linux server presenting a Windows user agent is caught by a single call. Bot vendors read it: a Camoufox report traced a commercial detector's in-browser device check failing every Windows identity on a Linux host to exactly this byte.

How to resolve it

There is no page-level fix: the line ending is compiled into the browser. Run a build of the operating system the user agent claims, or claim the operating system the build was made for. An anti-detect engine has to choose the line ending from its persona inside the Blob implementation itself. The check reports N/A when the browser does not implement the endings option at all.

Read in the wild by

Commercial detector C

The interstitial device check (rt=i) failed every Camoufox launch with a Windows identity on a Linux host; the reporter traced it to Blob endings "native" writing LF.

new Blob(["a\nb"], {endings: "native"}): Windows Firefox \r\n, Linux build claiming Windows \n

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

Nearby checks in Engine & OS oracles

See all 15 checks in Engine & OS oracles
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 Engine & OS oracles 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 Engine & OS oracles — the family blob-native-endings-vs-ua belongs to.