Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As a user I don't want you to know that information. I wish there was a way to click on links with the referer field removed entirely from the request(maybe via context menu)


If you're using Firefox, open 'about:config' and set 'network.http.sendRefererHeader' to 0.

http://kb.mozillazine.org/Network.http.sendRefererHeader


this seems like it turns it off for everyone, not just third parties


Yes, it strips off for any URL. For only third parties, I believe 'network.http.referer.XOriginPolicy' is the relevant flag (haven't tried it out myself).

"Can one disable the HTTP referrer for only when one is going to a third-party domain?" https://support.mozilla.org/en-US/questions/1130505


I use RefControl in Firefox. I've set the default to be the root of the destination site. That is, for example, clicking a link to https://foo.com sends https://foo.com as the referrer.


There is an about:config setting called spoofSource which does the same thing I think - see comment https://news.ycombinator.com/item?id=16286542


Thanks. Good to know.


RefControl is a great add-on, but it isn't compatible with the new Firefox Quantum (57+). https://addons.mozilla.org/en-US/firefox/addon/refcontrol/


Yes, Quantum will break lots of stuff. Maybe too much for me to use it. Recent Firefox changes have already broken some of my iMacros scripts :(


https://wiki.mozilla.org/Security/Referrer

A stock Firefox can tune the referer behavior through about:config, including completely disabled or spoofed to the target URL.


You can sort of do that, context menu -> copy url -> open a new tab -> paste url



Is there a way to randomize the ref url?

It's increasingly becoming impossible to have any actual privacy, so in my opinion the best option is to make the data collected worthless.


I do this quite often, and it is indeed usually because I don't want the site to know where I came from.


As nobody mentioned it yet, I think: I use the smart referrer plugin.

https://addons.mozilla.org/en-US/firefox/addon/smart-referer...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: