HTML Removing Referers On Links And Resources
There are many ways to achieve this now in 2018 and pretty much any modern browser will support the various methods that I will be listing below.
- Setting the noreferrer in your <a> tag
<a href="example.com" rel="noreferrer">link</a>
- Setting the meta name=’referrer’
<meta name="referrer" content="no-referrer">
There are a few options instead of no-referrer (which may prevent POSTs).
- Ensure your site is browsed over HTTPS
When your site is ran over HTTPS, referer is not set as part of a security feature.
- Use a Data URL (‘data:’)
<a href='data:text/html;charset=utf-8, <html><meta http-equiv="refresh" content="0;URL='http://www.example.com/'"></html>'>Link</a>