| Crates.io | spider_fingerprint |
| lib.rs | spider_fingerprint |
| version | 2.37.149 |
| created_at | 2025-05-14 16:12:35.44552+00 |
| updated_at | 2025-09-17 23:55:02.196998+00 |
| description | Fingerprint library for Rust. |
| homepage | https://github.com/spider-rs/spider_fingerprint |
| repository | https://github.com/spider-rs/spider_fingerprint |
| max_upload_size | |
| id | 1673622 |
| size | 277,583 |
A Rust crate to generate stealth JavaScript that spoofs browser fingerprinting features. Useful for emulateting real browser profiles across different platforms. It is recommended to use this project with headless-browser for real profiles and the latest chrome versions.
navigator.userAgentData high entropy value supportuse spider_fingerprint::{build_stealth_script, builder::{Tier, AgentOs}};
let script = build_stealth_script(Tier::Full, AgentOs::Mac);
// Inject `script` into a browser context
This crate provides multiple spoofing levels depending on the desired realism and complexity.
| Tier | Description |
|-----------------|-----------------------------------------------------------|
| `Basic` | Chrome props, WebGL spoofing, plugins/mimeTypes |
| `BasicNoWebgl` | Same as Basic but skips WebGL spoofing |
| `Mid` | Adds WebDriver hiding |
| `Full` | All spoofing including WebGPU adapter spoof |
You can override the default Chrome versions with the env configs:
CHROME_NOT_A_BRAND_VERSION="99.0.0.0"
CHROME_VERSION_FULL=139.0.7258.67
MIT