Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.