抵御iframe弹出恶意广告
抵御iframe弹出恶意广告
网页被运营商劫持后,总会弹出iframe的广告。
使用以下代码,能防止网页被iframe
if(top!=self){ top.location=self.location; }另付上工信部投诉地址:http://www.chinatcc.gov.cn:8080/cmsadmin/shouli/shensu.jsp
发布时间: 2012-11-22 00:16:41 作者: rapoo
抵御iframe弹出恶意广告
抵御iframe弹出恶意广告
网页被运营商劫持后,总会弹出iframe的广告。
使用以下代码,能防止网页被iframe
if(top!=self){ top.location=self.location; }