- UID
- 44354
- 帖子
- 13
- 精华
- 0
- 贡献
- 0
- 推广
- 0
- 有效BUG
- 0
- 注册时间
- 2007-2-6
|
真是悲剧啊,不会写过滤hotspot shield广告的规则了
以前的版本还写过,也没问题
好久没用hotspot了,刚才用了,发现有广告
打开广告过滤准备写规则
没有发现写规则的地方,纳闷了半天,去那儿了呢
来论坛上看,看了好半天,我草,原来还没那个功能,日了,只好手动下载论坛上的那个压缩包。
md,又是新规则方式,又要看半天,看了半天,觉得懂了,一写,MD,完全无效啊,悲剧啊
规则:
-
- <?xml version="1.0" encoding="utf-8"?>
- <adfilter>
- <version>1.0</version>
- <rules>
- <rule>
- <name>hotspot shield</name>
- <domains>
- <domain>
- <include>
- <![CDATA[*]]>
- </include>
- <exclude>
- <![CDATA[]]>
- </exclude>
- </domain>
- </domains>
- <pattern type="5">
- <targets>
- <param>
- <![CDATA[<script\stype\=\"text\/javascript\"\>ANCHORFREE\_VERSION.*RFR\)\}\}<\/script>]
- </param>
- <replace>
- <![CDATA[]]>
- </replace>
- </targets>
- </pattern>
- </rule>
- </rules>
- </adfilter>
复制代码
代码:
-
- </head>
- <body><script type="text/javascript">ANCHORFREE_VERSION="4311181646"</script><script type='text/javascript'>_AF$='I';AFf_frSrc=function(){try{if(!arguments[0]||!arguments[1]){return}if(typeof(arguments[0])!='object'){frames[arguments[0]].location.href=arguments[1]}else{arguments[0].location.href=arguments[1]}}catch(e){}return};AF_flpp=new function(){this.adlt='';this.set=function(){try{if(typeof(_AF$.BOX)!='undefined'){_AF$.BOX.rm()}var tpp=document.body.getBoundingClientRect().top+document.body.scrollTop,bmtop=document.body.currentStyle['marginTop'.replace(/-(w)/g,function(strMatch,p1){return p1.toLowerCase()})],pleft=0,pwidth='100%',dt=new Date().getTime(),adlt=(!!arguments['af_PP2'])!='undefined'&&AFv_netCobj['af_PP2']=='run'){_AF_PP(true,('687474703a2f2f626f782e616e63686f72667265652e6e65742f706f70732f696e6465782e7068703f7461673d'._AFtoStr())+_AF$.SN+'&dt='+(new Date().getTime())+'&t=pp2&cat='+_AF$.CT+'&cnl='+_AF$.CH+'&afurl='+escape(document.URL))}}}delete(AFv_netC)})();(function(){_AF$['ADSRC']='';document.write(_AF$.OUTPUT);switch(_AF$.AD.DIM){case 30:_AF$['ADSRC']=_AF$.VRS+'?#tag='+_AF$.SN+'&sip='+_AF$.IP+'&cnl='+_AF$.CH+'&w=468&h=60&type=c';break;case 41:_AF$.AD.A=true;_AF$.CT='99999';_AF$['ADSRC']=_AF$.VRS+'?
- 中间忽略XXXXXX
- #type=ask&tag='+_AF$.SN+'&sip='+_AF$.IP+'&cnl='+_AF$.CH;break;case 100:_AF$['ADSRC']=_AF$.VRS+'?#tag='+_AF$.SN+'&sip='+_AF$.IP+'&cnl='+_AF$.CH+_AF$.VIDEORUN.size;break};if(_AF$.AD.A!=false||_AF$.AD.DIM==41){if(_AF$.ADSRC!=''){AFf_frSrc(_AF$.AD.ID,_AF$.ADSRC+'&cat='+_AF$.CT+_AF$.URR+_AF$.RFR)}_AF$['BOX']=new AFf_Box();_AF$.BOX.dr()}document.write('<scr'+'ipt type="text/javascript" src="'+_AF$.AF+'cinj.php?t='+_AF$.STT+'"></scr'+'ipt>');_AF$['TTL']=document.title;_AF$['INTV']=window.setInterval(function(){if(_AF$.ON==0||_AF$.ADSRC==''){window.clearInterval(_AF$.INTV)}try{if(_AF$.TTL!=document.title){_AF$.TTL=document.title;AFf_frSrc(_AF$.AD.ID,_AF$.ADSRC+'&cat='+_AF$.CT+_AF$.URR+_AF$.RFR)}}catch(e){window.clearInterval(_AF$.INTV)}},200000);if(_$ina('1',_AF$.CT)||_$ina('0',_AF$.CT)){AFf_DOM('AFpre.pos()')}if(_AF$.AD.C==true){AFf_DOM('AFf_Pr.init()')}})()}else{_AF$.CT+=',HID';_AFimgStat(0);AFv_netC='';if(typeof(AFv_netCobj)=='undefined'){AFv_netCobj={}}_$id('AFt_afhf'+_AF$.RN).style.display='block';AFf_frSrc('AFt_afhf'+_AF$.RN,_AF$.VRS+'?#cat=99999&tag='+_AF$.SN+'&sip='+_AF$.IP+'&cnl='+_AF$.CH+_AF$.URR+_AF$.RFR)}}</script>
- <div id="wrapper">
-
- <div id="header">
- <div id="top">
- <div class="top_left">
- GameRes游戏开发资源网
- </div>
复制代码 |
|