Html Is rel=";“诺弗勒”;当目标是自定义帧名时是否需要?
我明白如果我的链接看起来像Html Is rel=";“诺弗勒”;当目标是自定义帧名时是否需要?,html,security,Html,Security,我明白如果我的链接看起来像 <a href="https://externalsite.com" target="_blank">Dangerous link</a> <a href="https://externalsite.com" target="custom name">Is this dangerous?</a> 相同的漏洞是否仍然存在?使用noopene
<a href="https://externalsite.com" target="_blank">Dangerous link</a>
<a href="https://externalsite.com" target="custom name">Is this dangerous?</a>
相同的漏洞是否仍然存在?使用noopener,noreferrer
,\u blank
只会打开一个未命名的窗口
target
属性用作窗口名称。如果多次引用同一目标,该窗口将被新URL替换。这并不能解决安全问题 以下是更多信息: 你可以试试那篇文章中给出的例子 首先使用
noopener,noreferrer
。但第二,不要链接到恶意网站