Open april opened 7 years ago
Not a bad idea, I'll add it to the list. :)
Note that rel="opener"
is a new link relation (rel
is also supported in the <form>
element now, if that'd matter for how the check is implemented).
Additionally, this is related to https://github.com/mozilla/http-observatory/issues/359.
Actually, noopener
should be default in browsers per https://github.com/whatwg/html/pull/4330/files, so I suppose you'd perhaps want to give a negative score for rel="opener"
instead of giving positive score for rel="noopener"
.
Hi there,
I wonder if it could be possible to add a test that detects every link with a
target="_blank"
also haverel="noopener noreferrer"
? (See https://mathiasbynens.github.io/rel-noopener/ for example of security issue that it creates)Thanks a lot for reading this ;) Nicolas
Moved from: https://github.com/mozilla/http-observatory-website/issues/94