Anti-Fingerprinting Shield Plus – Advanced Privacy Protection (AFS+)
Advanced browser fingerprint spoofing for better privacy and online anonymity.
Browser fingerprinting uses subtle data like your screen size, system language, canvas output, and GPU info to uniquely identify your device — even without cookies.
AFS+ fights this by spoofing or blocking many fingerprinting methods, while maintaining realism and compatibility.
⸻
What it does:
• Spoofs navigator.language and navigator.languages
• Randomizes navigator.platform (Windows, Mac, Linux, etc.)
• Spoofs navigator.userAgent from a realistic set
• Randomizes hardwareConcurrency (CPU cores)
• Spoofs screen size (width, height, innerWidth, innerHeight)
• Disables TouchEvent and ontouchstart
• Blocks Battery API
• Blocks Sensor APIs (motion/orientation)
• Blocks or spoofs mediaDevices.enumerateDevices
• Empties navigator.plugins and mimeTypes
• Adds noise to canvas fingerprinting
• Spoofs WebGL vendor, renderer, texture size
• Adds noise to audio fingerprinting
• Blocks beforeunload traps
• Prevents fingerprinting in subframes (runs top-frame only)
Spoofed values persist across tabs for up to 30 minutes, simulating realistic session behavior. New values are generated after timeout or browser restart.
⸻
How to install:
1. Install a userscript manager:
• UserScripts (Firefox or Chromium)
• Tampermonkey
• Violentmonkey
2. Click the “Install this script” button above.
3. The script will activate on all pages automatically.
You can edit the spoofing settings in the script to customize your fingerprint style.
⸻
Notes:
• This script does not protect against WebRTC leaks. Use uBlock Origin or disable STUN in your browser.
• Font fingerprinting is not blocked (only possible via extensions or advanced techniques).
• A few sites may misbehave if they rely heavily on fingerprint data or blocked APIs.
⸻
Built for privacy enthusiasts, testers, and developers who want greater control over browser tracking.
Feel free to fork, improve, and share.