All Emvero products use one prepaid credit balance. See how credits work

Start for free

Environment consistency and signs of modification

The page, a Worker and an iframe offer different views of one browser. Disagreements can reveal partial modifications, with legitimate exceptions.

Published

On this page

One browser has several execution contexts

A page’s JavaScript runs in an execution context: an environment with its own global objects and access to browser APIs. A Worker runs in a separate environment, and an iframe has its own page environment.

A browser probe can compare selected values across these contexts. If the main page reports one platform while a Worker reports another, the disagreement is observable even when each value looks ordinary in isolation.

Such comparisons are useful because a modification can affect only part of a browser. An extension or page script might change a property visible to the document without changing the value exposed in a Worker. The result describes an inconsistency; its cause still needs investigation.

Compare properties that should be comparable

Context Useful observations Main qualification
Main page User-Agent, platform, languages and selected capabilities Page scripts and extensions may have changed exposed objects
Worker Corresponding navigator properties and selected environment values Workers have a different API surface and may be blocked or unavailable
Fresh iframe Selected page properties in a new environment It is another script environment, rather than an independent device
Client Hints Browser versions, platform and mobile claim Availability and supported values depend on browser policy

The HTML worker specification defines the separate worker environment. A Worker does not expose every document API, so a comparison must use values available and meaningfully comparable in both places.

Platform labels need normalisation too. A browser’s desktop-site mode can change a mobile claim, and a product’s version can differ from its engine version. User-Agent and Client Hints explains those distinctions.

A partial modification can leave a disagreement

Suppose a profile reports a selected language list on the page while a Worker retains another list. That can be consistent with a change applied only to the page. A platform disagreement at the same time adds context about the scope of the change.

This is an explanation of a possible mechanism, not a rule that every difference proves a profile was falsified. Browsers can deliberately reduce information differently across interfaces. Embedded browsers, privacy protections, extensions and rendering crawlers can also produce differences.

Multiple disagreements caused by one modification are related evidence. Their number alone does not establish how unusual the whole visit is or make them independent confirmations.

Inspecting how a property is exposed

A property descriptor describes how a JavaScript property is defined, including whether it is a value or a getter. A probe can inspect selected descriptors and prototypes alongside the reported values, using operations such as Object.getOwnPropertyDescriptor().

A value that looks plausible may have been supplied through a replacement getter or an added property on navigator. Those changes can leave differences in the object’s structure. Inspecting a function’s string representation can supply another observation, although wrappers and legitimate page libraries complicate it.

These checks have a limited scope. They inspect selected objects as exposed to the page; they do not attest to the browser binary. Changes made inside a custom engine may leave the expected JavaScript structure intact. A client that controls the page environment can also modify inspection functions.

An unanswered comparison is different from agreement

A Content Security Policy may prevent a Worker from starting. An asynchronous check can time out, and a browser may not implement the requested hints. If the other context supplied no value, the probe has no comparison to make.

Keep the completed comparisons and their results separate from the incomplete portion. A disagreement found before a timeout remains an observation. An empty result after a timeout cannot establish that the environments agreed.

A fully consistent environment is also possible under automation or in a modified browser. Cross-context checks describe consistency within the observations collected. Combine that account with engine capabilities, connection evidence and the limits of evasion checks.