hint
hint copied to clipboard
Noopener
Might be time to revisit this hint and the advice it provides:
https://twitter.com/ericlaw/status/1351976704210849795?s=21
If I'm reading the tweet correctly it means target="_blank" implies noopener in Chrome 88+ (as well as the latest versions of Firefox and Safari since some time in 2019).
Seems we should update the hint then to no longer suggest adding noopener unless you're still targeting a browser that needs it (which is still probably likely for most people in the immediate future).
I have been told that noreferrer is the only value you need as noopener is already implied by it: https://html.spec.whatwg.org/#link-type-noreferrer
Is that not true for all browsers?
It depends on the browsers you need to support. Newer version do not require anything, while olders might need noreferral/noopener. The current hint does not reflect yet the case where nothing is required.
We should be able to use the MDN data related to this page to update hint-disown-opener
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#browser_compatibility