Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know I can disable Network.http.sendRefererHeader to 0 in about:config, and using the RefControl extension I can set it on a per-site basis (or using wildcards, e.g. *.com, *.org). Is there a way to set this to a certain website, e.g. http://www.example.com, globally?

share|improve this question
up vote 0 down vote accepted

Install the Modify Headers Firefox extension. In the extension's Preferences dialog, click Select Action and click Add.

enter image description here

Enter Add as the action, type Referer in the Header name field (it should autocomplete), and enter http://www.example.com in the Header value field. Click Save, and the rule should show up with a green light next to it, indicating that it's taken effect.

enter image description here

Note that some webpages may not work properly because they expect the referrer to be a certain value. To test this out, visit whatismyreferer.com.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .