タグ

ブックマーク / mathiasbynens.github.io (1)

  • About rel=noopener

    What problems does it solve? 2021 update: Browsers now implicitly set rel=noopener for any target=_blank link, following a spec change. If the demo on this page no longer seems scary, congratulations — you’re using a modern browser! You’re currently viewing index.html. Imagine the following is user-generated content on your website: Click me!!1 (same-origin) Clicking the above link opens malicious

    Jxck
    Jxck 2016/03/16
    target=_blank はモバイルで UX が悪いなど言われていたが、別オリジンでも開いた先で元ページを window.opener.location とかから変更できる。 noopener などを使うべき。
  • 1