Stop link from sending referrer to destination

nolanpro picture nolanpro · Feb 17, 2011 · Viewed 46.4k times · Source

I have a page where I don't want the outbound links to send a referrer so the destination site doesn't know where they came from.

I'm guessing this isn't possible but I just want to make sure there weren't any hidden javascript magic that could do it and that would work with some (if not most) browsers.

Maybe some clever HTTP status code redirecting kung-fu?

Something like this would be perfect

<a href="example.com" send_referrer="false">link</a>

Answer

Drewmate picture Drewmate · Sep 27, 2011

I was looking for just the same thing, and it seems like this will be a feature of HTML5.

The tag you are looking for is rel="noreferrer".

It is already implemented in Webkit (Chrome, etc.), as well as Firefox, but your mileage may vary.

As of 2020, it is supported in all major browsers, with the exception of Opera Mini and old versions of IE11.