Chrome/Chromium extension to spoof user agent. Modifies both outgoing requests 'User-Agent' header and javascript object including navigator.appVersion!
This extension doesn't have any UI and its fairly dumb, yet it works great! But on the other hand it doesn't have any tracking/Analytics code in it, and its short enough for you to review literally in 1 minute.
For maximum privacy use chromium and disable all plugins on chrome://plugins/
as they may easily disclose your platform.
For fresh user agents visit: Most common User Agents (updates daily)
manifest.json
Standard extension configuration filebackground.js
Contains the outgoing request sniffer and modify header according to the variable on page headxagentScript.js
Small content script that inject the actual scriptxagent.js
Modifies the javascriptnavigator
object according to the variables in the top of the script
- Download this project to a local folder on your machine (extracted in a folder)
- Modify the wanted userAgent in
background.js
andxagent.js
- Go to
chrome://extensions/
- Enable Developer mode
- Click
Load unpacked extension...
- Select the folder you unpacked the file to
- Optional: check 'Allow in incognito' (feel free to review the code before you do so)
- That's it! check results by visiting Most common User Agents for outgoing requests and http://www.quirksmode.org/js/detect.html for javascript object.