Timeline for What is the difference between noopener and noreferrer?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 13, 2020 at 8:47 | history | edited | Prinny | CC BY-SA 4.0 |
fixed typo "when" -> "where"
|
Jul 2, 2018 at 7:43 | vote | accept | Manngo | ||
Jul 2, 2018 at 7:43 | comment | added | Manngo |
OK, I think I see what’s happening. The window is a reference to the actual browser window (or tab) parenting the link, while the referrer is a string with the URL of the parent document. The opener is the one likely to get you into trouble with malicious JavaScript code. According to WHATWG, noopener is implied in noreferer for historical reasons.
|
|
Jul 2, 2018 at 7:11 | history | answered | Prinny | CC BY-SA 4.0 |