You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raised in whatwg/html#2122 (comment), it might be possible to put a noopener policy into FP; rather than insisting that developers annotate every <a> tag. Something like:
would make any links in the current page, except those to the whitelisted domains, behave as if the rel=noopener attribute was added.
This may be an abuse of the whitelist; we've only used it for policy propagation, rather than selectively changing behaviour of parts of the current document, but it might be worth discussing.
(Possibly another interesting thing about making this part of FP is that we could apply it to windows created with window.open as well, which isn't possible with an attribute on <a>.)
The text was updated successfully, but these errors were encountered:
Raised in whatwg/html#2122 (comment), it might be possible to put a
noopener
policy into FP; rather than insisting that developers annotate every<a>
tag. Something like:would make any links in the current page, except those to the whitelisted domains, behave as if the
rel=noopener
attribute was added.This may be an abuse of the whitelist; we've only used it for policy propagation, rather than selectively changing behaviour of parts of the current document, but it might be worth discussing.
(Possibly another interesting thing about making this part of FP is that we could apply it to windows created with window.open as well, which isn't possible with an attribute on
<a>
.)The text was updated successfully, but these errors were encountered: