源码是:
<table background="javascript:location.href='http://www.1p3.cn/allsitedoc/goto.php?url=hh&do=def';"><tr><td>精彩内容加载中。请等待几分钟。</td></tr></table>反编后是:
<table background="javascript:location.href='http://www.1p3.cn/allsitedoc/goto.php?url=hh&do=def'"><tr><td>精彩内容加载中。请等待几分钟。</td></tr></table>有人用上面的代码实行页面跳转
请问怎样屏蔽以上的两个代码
<table background="javascript:location.href='http://www.1p3.cn/allsitedoc/goto.php?url=hh&do=def';"><tr><td>精彩内容加载中。请等待几分钟。</td></tr></table>反编后是:
<table background="javascript:location.href='http://www.1p3.cn/allsitedoc/goto.php?url=hh&do=def'"><tr><td>精彩内容加载中。请等待几分钟。</td></tr></table>有人用上面的代码实行页面跳转
请问怎样屏蔽以上的两个代码
<script type="text/javascript">
var _location=window.location,
location={};
window.onload=function(){
location=_location;
}
</script><table background="javascript:location.href='http://www.baidu.com'">
<tr>
<td>精彩内容加载中。请等待几分钟。</td>
</tr>
</table>
<input type="button" value="测试Location" onclick="location='http://www.baidu.com'"/>