AndrewWangDev/remove_browser_fingerprint

Randomize user-agent, resolution, language, platform, and timezone in your browser.

โ˜… 1Forks 0JavaScriptGitHub โ†—Compare
browserbrowser-fingerprintjavascriptrandomization

README

Random Browser Fingerprint Spoofer

A simple userscript that randomizes key browser fingerprinting attributes such as the user agent, screen resolution, language, platform and timezone. When installed in a browser extension like Tampermonkey or Greasemonkey, the script helps reduce tracking by making each browsing session look like it originates from a different environment.


๐Ÿ“Œ Features

  • Randomizes User-Agent string from a small pool of common browsers
  • Fakes screen resolution and available dimensions
  • Changes language and languages lists
  • Spoofs platform identifier (e.g. Win32, MacIntel)
  • Provides an override for timezone via Intl.DateTimeFormat
  • Returns empty arrays for navigator.plugins and navigator.mimeTypes to avoid detection
  • Runs at document-start on every matched page

๐Ÿš€ Installation & Usage

  1. Install a userscript manager such as Tampermonkey or Greasemonkey.
  2. Create a new userscript and copy the contents of the remove_browser_fingerprint file into it.
  3. Ensure the metadata block (at the top of the file) is preserved. It matches on all websites and executes early.
  4. Save and enable the script. Reload any open tabs for it to take effect.

From that point on, every new page load will use randomized fingerprint values for the current browser session. The script logs a short message to the console with the chosen user agent (truncated) and timezone.


๐Ÿ›  Customization

  • Modify the arrays at the top of the script to add more user agents, resolutions, languages, platforms, or timezones.
  • The getRandom helper selects a value at random for every page load; you can replace this logic if you prefer a different strategy.

โš ๏ธ Disclaimer

This script is for educational purposes and basic privacy experimentation. Browser fingerprinting techniques are complex; a simple userscript cannot fully prevent tracking. Use with caution and do not rely on it for security-sensitive applications.


๐Ÿ“„ License

Feel free to reuse or modify the code as needed. No warranty is provided.

Contributors

AndrewWangDev

Issues