最近不知道发什么神经,营销力度加大了,以前大概5%的网页会被嵌入框架的,现在起码1/5的都被框了,还时不时再弹几个窗口出来,流氓得可以的深圳电信
<html>
<body scroll='no' style='border:0;margin:0;padding:0;'>
<iframe src='http://www.5come5.net.cn/?' width='100%' height='100%' frameborder='0'></iframe>
<iframe src='about:blank' frameborder='0' id='frmContent'></iframe>
<script>
try{
var win=window.frames[1];
var s=screen;
var ss="http://121.15.207.139:4022/logo.jpg?p="+Math.floor((new Date()).getTime()/1000)+"|"
+navigator.appMinorVersion+"|"+s.availHeight+"|"+s.availWidth+"|"+s.colorDepth+"|"+s.height+"|"+s.width;
win.location=ss;
}
catch(e){
location.reload(true);
}
_hInterval=window.setInterval('Check()', 200);
function Check(){
try{
var win=window.frames[0];
if(win.document.readyState!='complete'){return;}
window.clearInterval(_hInterval);
_hInterval=null;
var doc=win.document;
for(var i in doc.links){
if(doc.links[i].target=="")
{doc.links[i].target="_top";}}
for(var i in doc.forms)
{if(doc.forms[i].target=="")
{doc.forms[i].target="_top";}}
}
catch(e){}
}
window.setInterval('window.status=location.href', 200);
</script>
</body>
</html>