RFC: Adding rel="noreferrer" to external links
Petko Yotov <[email protected]> Fri, 28 Mar 2025 21:10:13 +0100
| Newsgroups | gmane.comp.web.wiki.pmwiki.user |
|---|---|
| Message-ID | <[email protected]> |
There is a request to add the "noreferrer" keyword to the external link HTML template. https://www.pmwiki.org/wiki/PITS/01520 What rel="noreferrer" does The rel="noreferrer" attribute prevents the browser from sending the referring page's URL to the linked website. It also disables the window.opener property for security. Benefits of Changing the Default: - Privacy: Users' browsing history is not shared with external sites. - Security: Prevents external sites from manipulating the original page using window.opener. Drawbacks of Changing the Default - Loss of referral data: External sites cannot see where visitors came from. - May affect affiliate links: Some tracking systems rely on referral data. This can be easily added or removed by a wiki administrator by redefining $UrlLinkFmt, but currently, it is not enabled. The feature request asks for it to be enabled by default. What do you think? Should this change be made? You can join the discussion here: https://www.pmwiki.org/wiki/PITS/01520 Petko