Skip to main content

DEFAULT_USER_AGENT

Constant DEFAULT_USER_AGENT 

Source
pub const DEFAULT_USER_AGENT: &str = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 \
     (KHTML, like Gecko) Version/17.5 Safari/605.1.15";
Expand description

WebKitGTK is WebKit, so the Safari family is honest — but the OS token has to say Linux. Claiming Macintosh here contradicted navigator.platform, which reports the real platform: an inconsistency any fingerprinter cross-checks, and one we created.