IE Html链接欺骗代码
<p><a id="SPOOF" href="http://www.baidu.com"></a></p>
<div>
<a href="http://www.163.com" target="_blank">
<table>
<caption>
<label for="SPOOF">
<u style="cursor: pointer; color: blue">http://www.163.com</u>
</label>
</caption>
</table>
</a>
</div>
<div>
<a href="http://www.163.com" target="_blank">
<table>
<caption>
<label for="SPOOF">
<u style="cursor: pointer; color: blue">http://www.163.com</u>
</label>
</caption>
</table>
</a>
</div>
上网时无意看到的一段代码,使用这段代码时,将鼠标停放在链接上面,观察状态栏提示。
状态栏也显示www.163.com,但实际点击链接时打开的却是http://www.baidu.com的网站。
不过在Firefox3里面测试打开的任然是163的网站。
--kaixuan's cnblogs