// ==UserScript== // @name China Telecom sucks // @namespace adsucks // @description 狗日的电信广告 // @include http://* // ==/UserScript== //2010/11/01重写了实现 //function getRealUrl(){ // var iframe = document.getElementById('fulliframe'); // if(iframe && iframe.tagName === "IFRAME"){ // return iframe.src; // }else if(window.old_url){ // return window.old_url; // } // return null; //} // //var url = getRealUrl(); //if(url){ // setTimeout(function(){ // window.location.href = url; // }, 0); //} function isADInjected(){ var f, url = location.href; if(window.old_url && old_url === url){ return true; }else if((f=document.getElementById("fulliframe")) && f.tagName === "IFRAME" && f.name === "fulliframe"){ return true; } return false; } if(isADInjected()){ location.href = location.href; }
0票
开心
0票
板砖
0票
感动
0票
有用
0票
疑问
0票
难过
0票
无聊
0票
震惊
顶
踩