Skip to main content

Module navigator_coherence

Module navigator_coherence 

Source
Expand description

Comprehensive navigator property coherence injection.

Overrides all navigator properties that anti-bot systems cross-reference to ensure they are consistent with a single FingerprintProfile. Covers: hardwareConcurrency, deviceMemory, connection (NetworkInformation API), maxTouchPoints, languages, pdfViewerEnabled, plugins, mimeTypes, and userAgentData Client Hints.

§Example

use stygian_browser::navigator_coherence::navigator_coherence_script;
use stygian_browser::profile::FingerprintProfile;

let p = FingerprintProfile::windows_chrome_136_rtx3060();
let js = navigator_coherence_script(&p);
assert!(js.contains("hardwareConcurrency"));
assert!(js.contains("deviceMemory"));
assert!(js.contains("userAgentData"));

Functions§

navigator_coherence_script
Generate a CDP injection script for comprehensive navigator coherence.