118

危险的 target="_blank" 与 “opener”

 6 years ago
source link: https://juejin.im/post/5a9f8425f265da239a5f57f8
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
在网页中使用链接时,如果想要让浏览器自动在新的标签页打开指定的地址,通常的做法就是在 a 标签上添加 target等于"_blank" 属性。 然而,就是这个属性,为钓鱼攻击者带来了可乘之机。 起源 parent 与 opener 在说 opener 之前,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK