4 ms·
I don't get it, can someone explain what is going on here?
by hfo 3y ago
I don't get it, can someone explain what is going on here?
- ivankuz 3y agoBy default, when following `<a>` links from site FOO to site BAR, the browser will tell site BAR in the Referrer header[1], that you're coming from the site FOO. If you add attribute `rel=noreferrer`[2] to the `<a>` tag, the browser will not attach such a header. It looks like the guys from asahilinux dot org somehow altered the behaviour of their website in cases when Referrer was set to hackernews, so hn added the `rel=noreferrer` to those links. No idea about the context of the drama though. [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Re... [2] https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/noreferrer https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes...