Hacker News new | ask | show | jobs
by chestnut-tree 3630 days ago
If you are using Firefox, you can disable referrer info without using a plugin. Here‘s how:

In the URL bar, type the following and press enter:

  about:config
Now search for the following entry on the page:

  network.http.sendRefererHeader
The default value is 2. Change this to 0. This disables the referrer header.

Note that some sites won‘t allow you to sign in or register if the referrer header is disabled (e.g. Pinterest), so you may have to temporarily enable the referrer header in those instances.

A final point is that this Firefox setting obviously has no effect if referral info is already appended to the URL (as is the case with Google search results).

2 comments

Alternatively, you can instead set

    network.http.referer.spoofSource
The default value is false. Change it to true. This causes Firefox to instead submit the website being requested as the referrer; leaking no information, but breaking fewer sites.
There's also an intermediate value of 1, which AFAICS disables referer sending on requests for embedded images:

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