Hi all!
Is there anyway I can stop the Referer from being sent with the request header?
Ideally this would appear as a Privacy option I guess, but any method would do me for the minute!
Supress the Referer HTTP header?
-
- Posts: 136
- Joined: May 21st, 2003, 1:54 pm
- Location: UK
-
- Posts: 136
- Joined: May 21st, 2003, 1:54 pm
- Location: UK
Found it!
I found "network.http.sendRefererHeader" in about:config, it's an integer with a default value of 2... and not a boolean as I might've expected.
Anyhoo, quick google and this:
<pre> user_pref("network.http.sendRefererHeader", 0);</pre>
added to user.js does the trick.
The next question is what do the values "1" and "2" do?
And for the wish-list, I guess it would be nice to be able to allow/disallow referer by site!
And finally - why is it, when you search for information on something, you can't find it (I checked about:config before, honest) but as soon as you post a question somewhere, you <em>immediately</em> find the answer?!
Anyhoo, quick google and this:
<pre> user_pref("network.http.sendRefererHeader", 0);</pre>
added to user.js does the trick.
The next question is what do the values "1" and "2" do?
And for the wish-list, I guess it would be nice to be able to allow/disallow referer by site!
And finally - why is it, when you search for information on something, you can't find it (I checked about:config before, honest) but as soon as you post a question somewhere, you <em>immediately</em> find the answer?!
- RAF
- Moderator
- Posts: 12609
- Joined: November 5th, 2002, 2:19 pm
- Location: .nl
Re: Found it!
peterx14 wrote:And finally - why is it, when you search for information on something, you can't find it (I checked about:config before, honest) but as soon as you post a question somewhere, you <em>immediately</em> find the answer?!
They call him Murphy..
-
- Moderator
- Posts: 3275
- Joined: November 6th, 2002, 12:07 pm
- Location: Federal Republic of Germany
Re: Found it!
peterx14 wrote:The next question is what do the values "1" and "2" do?
one value sends the referer also on image requests (iirc.... dont remember which of those values, though :P)
<i>Latest Firefox Trunk & Thunderbird 1.0</i>
-
- Posts: 1974
- Joined: November 5th, 2002, 3:25 am
- Location: Lancaster, UK
- Contact:
-
- Posts: 387
- Joined: November 19th, 2002, 8:56 pm
According to http://www.mozillazine.org/forums/viewt ... 1238#61238
// STOP REFERRER LOGGING - 02.05.03
// 0=don't send any, 1=send only on clicks, 2=send on image requests as well
user_pref("network.http.sendRefererHeader", 0);
// STOP REFERRER LOGGING - 02.05.03
// 0=don't send any, 1=send only on clicks, 2=send on image requests as well
user_pref("network.http.sendRefererHeader", 0);
- rhpt
- Posts: 112
- Joined: May 13th, 2003, 10:26 am
- Location: Ca$hville