elkay 测试过滤规则时出现问题
#exd#*.1000fr.com*#<a href="[url=http://www.31607.com/6dy/]http://www.31607.com/6dy/[/url]" .*?>(?:.|\n)*?</a>###<!--Ad blocked by TheWorld2-->#exd#*.btchina.net*#<!-- begin of ad block -->(?:.|\n)*?<!-- end of ad block -->###<!--Ad blocked by TheWorld2-->
#exd#*.btchina.net*#<TD align=center width="20%">(?:.|\n)*?<\/TD>###<!--Ad blocked by TheWorld2-->
#exd#*.my.xunlei.com*#<div id="content_top">[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.my.xunlei.com*#<DIV[^>]*id="InmediaBox">[\s\S]*?<div class="Box2">###<!--Ad blocked by TheWorld2--><div class="Box2">
#exd#*.xunlei.com*#<div id="content_top">[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.xunlei.com*#<DIV[^>]*id="InmediaBox">[\s\S]*?<div class="Box2">###<!--Ad blocked by TheWorld2--><div class="Box2">
当只加入这些过滤规则後用TW打开所有网页时全是乱码。
[[i] 本帖最后由 micrian 于 2007-4-8 23:20 编辑 [/i]] 在选项里把广告过滤部分的过滤掉的元素显示为: 这个地方设置为空白 是解决了 但CNN的问题依旧 [quote]原帖由 [i]micrian[/i] 于 2007-4-8 23:37 发表 [url=http://bbs.ioage.com/redirect.php?goto=findpost&pid=268416&ptid=30806][img]http://bbs.ioage.com/images/common/back.gif[/img][/url]
是解决了 但CNN的问题依旧 [/quote]
只CNN.com么,我用e兄这个没有问题。建议你把exe文件复制出来单独测试一下
[code]
/(?:\.|\/|_|")(?:ads?(?:\d|code|gif|graph|list|log|puba|s?file|sence|site|show)?|(?:ali)?union(?:sky|sys)?|all(?:4ad|yes)|banner|cooperate|corporate|SogouUnion.*|cp(?:c|ro)|(?:guan|my)?gg(?:ao)?|keyrun|p(?:4|f)p|sp(?:onsor|code))s?(?:\d)*(?:\.|\/|_)/
/[\W_]ads?(?!=&)(?:banner|click|flow|frame|ima?ge?|log|serv(?:er|e)?|stream|type|view|vert(?:ising|ise?ment)?|trix|xchange|wrapper)?s?[\W\d_]/
/(?:\/|\-|_)(?:\d){2,3}x(?:\d){2,3}[^0-9]+(?:swf|gif|jpg)/
/(?:\.|\/|_|")(?:ads?(?:\d|code|gif|graph|list|log|puba|s?file|sence|site|show)?|(?:ali)?union(?:sky|sys)?|all(?:4ad|yes)|banner|bdun|cp(?:c|ro)|(?:guan|my|newhua)?gg(?:ao)?|keyrun|p(?:4|f)p|sms|sp(?:onsor|code))s?(?:\d)*(?:\.|\/|_)/
/[\W_]ads?(?!=&)(?:banner|click|flow|frame|ima?ge?|log|serv(?:er|e)?|stream|type|view|vert(?:ising|ise?ment)?|trix|xchange|wrapper)?s?[\W\d_]/
/(?:\.|\/|_)(?:soft|hot)?ads?(?:s..|img|vert|rotator|view|bot|c_|client|council|gif|graph|images|info|log|pic)?(?:\.|\/|_)/
/(?:\.|\/|_|")(?:a2d|cooperate|corporate|SogouUnion.*|themis|ulink(?:js|dir)|un|usmsweb|xc)s?(?:\d)*(?:\.|\/|_)/
/\.moyu\.com\/(\d)*/
/(?:\/|\-|_)(?:\d){2,3}x(?:\d){2,3}[^0-9]+(?:swf|gif|jpg)/
/pic\.zol\.com\.cn\/(?:(?:\d)*|dealer)/
/\.qihoo\.com.+(&|\?)p=(\d){5,6}(&)?/
/\.mydrivers\.com\/news\/.+\.js.*/
#ex#(?:<br>)*<img\ src="images/common/sigline.gif(?:.|\n)*?</div>###<!--Ad blocked by TheWorld2-->
#exd#*.google.*#q=cache###by=theworld&q=cache
#exd#*.btchina.net*#<!-- begin of ad block -->(?:.|\n)*?<!-- end of ad block -->###<!--Ad blocked by TheWorld2-->
#exd#*.btchina.net*#<TD align=center width="20%">(?:.|\n)*?<\/TD>###<!--Ad blocked by TheWorld2-->
#exd#*.sina.*#<div id=PublicRelation.*?>(?:.|\n)*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.sina.*#<!--企业服务文字广告开始-->(?:.|\n)*?<!--正文结束-->###</table><!--Ad blocked by TheWorld2-->
#exd#*.sina.*#<td width="(?:612|640)" valign="top" class="lc_blue">###<td width="100%" valign="top" class="lc_blue">
#exd#*.sina.*#<style.*?type="text/css.*?>(?:.|\n)*?正文左边控制开始(?:.|\n)*?<\/style>###<link rel="stylesheet" type="text/css" id="css" href="http://files.myopera.com/elkay.theworld/filter/sina.css">
#exd#*.sina.*#<DIV[^>]*class="?top_bar"?>[\s\S]*?http:\/\/unipro\.sina\.com\.cn\/[\s\S]*?<\/script>###<DIV class="top_bar"><SCRIPT src="http://nicolliu.googlepages.com/sinatopbar.js"></SCRIPT>
#exd#*.mydrivers.com*#<script.*?duilian.js>(?:.|\n)*?<\/script>###<!--Ad blocked by TheWorld2-->
#exd#*.mydrivers.com*#<table[^>]*class="table9.*?>(?:.|\n)*?<\/table>###<!--Ad blocked by TheWorld2-->
#exd#*.mydrivers.com*#<table[^>]*bgcolor="#BCCEEF.*?>(?:.|\n)*?<td.*?height="(?:60|34).*?>(?:.|\n)*?<\/table>###<!--Ad blocked by TheWorld2-->
#exd#*.live.com*#<div.*?class="cAdBannerContainer.*?>(?:.|\n)*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.live.com*#<div.*?id="AdContainer.*?>(?:.|\n)*?<\/div>###<!--Ad blocked by TheWorld2-->
[/code]
页:
[1]