Fingerprint Injection
In both browsers most values are answered from C++, at the place the engine computes them, so the changes can't be seen through JavaScript inspection. The identity reaches the browser as JSON in the environment variables CAMOU_CONFIG_1..N, never on the command line.
A few values are applied the way a real machine would set them instead:
- In Camoufox, the window size and position,
Accept-Language/locale:all, addons and the cursor highlighter are set by the browser's own chrome code, andnavigator.doNotTrack/navigator.globalPrivacyControlbecome Firefox prefs. - In Camouwolf, keys marked
"carriedBy": "launcher"in itsproperties.jsonare not read by the browser: the launcher turns the window keys into--window-size/--window-positionand thegeolocation:*keys into the Playwright context's geolocation.
To spoof fingerprint properties, pass a dict of properties to the Python launcher:
with Camoufox(config={"property": "value"}) as browser:
...with Camouwolf(config={"property": "value"}) as browser:
...Config data not set by the user is filled in from fpgen fingerprints, which mimic the statistical distribution of device characteristics in real-world traffic. Camoufox draws Firefox fingerprints; Camouwolf draws Chrome fingerprints.
fingerprint_preset=True uses a bundled real-device preset instead. A key the browser does not know is reported and skipped, and a removed key prints that it has no effect.
No Chrome presets are bundled, so fingerprint_preset=True raises ValueError; a preset dict works. A key missing from Camouwolf's properties.json raises UnknownProperty, so a Camoufox-only key cannot be passed to Camouwolf.
Each browser takes only fingerprints of its own engine. Camoufox does not support injecting Chromium fingerprints: any competent WAF tests for JavaScript behavior unique to V8, which is impossible to spoof. Camouwolf refuses a fingerprint whose user agent is not Chrome (NonChromeFingerprint).
Each config key table in this section has a Browsers column: Both, Camoufox or Camouwolf.
Getting started
The properties are grouped by area:
Navigator Client Hints Input and Cursor Fonts Screen Window HTTP Headers Geolocation & Intl WebRTC IP WebGL WebGPU Media & Audio Voices Addons Miscellaneous