Re:Hacker News evading criticism by selectively adding noref...
by hfo on Wednesday June 07, 2023 @02:15PM
(#36230960)
I don't get it, can someone explain what is going on here?
[ Parent
| on HN ]
Re:Hacker News evading criticism by selectively adding noref...
by ivankuz on Wednesday June 07, 2023 @02:23PM
(#36231094)
By 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/Re... [2] https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes...