Set and exclude HTTP headers on all requests
NoRefer
https://github.com/c475/NoRefer
Enter one header and optional replacement value per line
To block an HTTP header from your requests:
===================================
Referer
===================================
To spoof an HTTP header in your requests:
===================================
Referer: https://somegarbagewebsite.com/
===================================
Exclude all headers starting with "Accept" (the # signals a Regular Expression):
===================================
#Accept.*
===================================
Make all headers starting with "Accept" a particular value:
===================================
#Accept.*: SomeValue
===================================
All regular expressions are generally permitted, except ones containing ':' because it breaks the parser
A full example config and explanation of what it does:
===================================
#Accept.*: SomeValue
Referer
User-Agent: CoolAgent4000
#Co.*
===================================
1. All headers starting with "Accept" will have the value "SomeValue"
2. "Referer" will be removed from your request headers
3. "User-Agent" headers will have the value "CoolAgent4000"
4. All headers starting with "Co" will be removed from your request headers