閲覧したWebサイト上にあるtarget=_blankのリンクに対してrel=noopenerを追加することで、target=_blankで開らかれたWebサイトからwindow.opener.locationの操作をブロックします。
閲覧したWebサイト上にあるtarget=_blankのリンクに対してrel=noopenerを追加することで、target=_blankで開らかれたWebサイトからwindow.opener.locationの操作をブロックします。
リンクのrel属性にnoopenerを追加し安全性を確保します。rel属性に追加するため読み取りと書き換え権限を必要とします。
Githubにてソースコードを公開しております。
https://github.com/bootjp/append_noopener_chrome_extension
Latest issues
- (2020-10-11, v:2.2.0) Stanton McCandlish: Same-origin – 同一生成元
Does this exclude same-origin links? They are not a risk, and not excluding them will break a lot of sites. See developer's response, at this other extension: https://addons.mozilla.org/en-US/firefox/addon/dont-touch-my-tabs/reviews/?utm_content=search&utm_medium=referral&utm_source=addons.mozilla.org これは同一生成元リンクを除外しますか? それらはリスクではなく、除外しないと多くのサイトが誤動作します。 別の拡張機能については、開発者の応答を参照してください:https://addons.mozilla.org/en-US/firefox/addon/dont-touch-my-tabs/reviews/?utm_content=search&utm_medium=referral&utm_source=addons.mozilla.org - (2020-10-11, v:2.2.0) Stanton McCandlish: Syntax – 構文
Does this handle both target="_blank" and target=_blank (no quotation marks – technically invalid, but common anyway)? これは target="_blank" と target=_blank の両方を処理しますか(引用符なし – 技術的には無効ですが、とにかく一般的です)?
Statistics
Installs
12
history
Category
Rating
0.0 (0 votes)
Last update / version
2017-03-20 / 2.2.0
Listing languages
ja