diy:user-agent-spoofing
This is an old revision of the document!
Table of Contents
User Agent Spoofing
When a browser or bot requests a webpage, it sends a User-Agent HTTP header containing a string of text that describes the client. So, if you are using Firefox on Windows to browse the web, it is sending this string of text to every website you visit, where it is visible by the server and any embedded third-party scripts like banner advertising:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0
Example Strings
If you need valid user agent strings to use in your spoofing adventures, consider some of these resources:
- WhatIsMyBrowser.com has a pretty comprehensive set of pages covering a wide variety of user agents.
Application Specific Instructions
How to spoof your user agent depends on the type of software you are using:
Web Browsers
Firefox
Brave
Chrome
Safari
Edge
Terminal Utilities
cURL
Newsboat
wget
diy/user-agent-spoofing.1757515173.txt.gz ยท Last modified: (external edit)
Find this page online at: https://bestpoint.institute/diy/user-agent-spoofing
Find this page online at: https://bestpoint.institute/diy/user-agent-spoofing