javascript - Using rel="noopener" in window.open() -
so know can apply rel="noopener in a tag when using target="_blank". i'm trying pass argument window.open(), ie:
window.open('http://cats.com', '_blank', 'rel=noopener')
however doesn't seem working way expected, opener object still exists on window after user clicks on link.
is there i'm missing? or cannot not done way i'm intending?
i've found great articles don't quite address use case far can tell.
https://developer.mozilla.org/en-us/docs/web/api/window/open https://mathiasbynens.github.io/rel-noopener/
much appreciated.
Comments
Post a Comment