返回列表 发帖

elkay 测试过滤规则时出现问题

#exd#*.1000fr.com*#<a href="http://www.31607.com/6dy/" .*?>(?:.|\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打开所有网页时全是乱码。

[ 本帖最后由 micrian 于 2007-4-8 23:20 编辑 ]
附件: 您需要登录才可以下载或查看附件。没有帐号?加入 我们

原帖由 micrian 于 2007-4-8 23:37 发表 http://bbs.ioage.com/images/common/back.gif
是解决了 但CNN的问题依旧



只CNN.com么,我用e兄这个没有问题。建议你把exe文件复制出来单独测试一下
  1. /(?:\.|\/|_|")(?: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)*(?:\.|\/|_)/
  2. /[\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_]/
  3. /(?:\/|\-|_)(?:\d){2,3}x(?:\d){2,3}[^0-9]+(?:swf|gif|jpg)/
  4. /(?:\.|\/|_|")(?: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)*(?:\.|\/|_)/
  5. /[\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_]/
  6. /(?:\.|\/|_)(?:soft|hot)?ads?(?:s..|img|vert|rotator|view|bot|c_|client|council|gif|graph|images|info|log|pic)?(?:\.|\/|_)/
  7. /(?:\.|\/|_|")(?:a2d|cooperate|corporate|SogouUnion.*|themis|ulink(?:js|dir)|un|usmsweb|xc)s?(?:\d)*(?:\.|\/|_)/
  8. /\.moyu\.com\/(\d)*/
  9. /(?:\/|\-|_)(?:\d){2,3}x(?:\d){2,3}[^0-9]+(?:swf|gif|jpg)/
  10. /pic\.zol\.com\.cn\/(?:(?:\d)*|dealer)/
  11. /\.qihoo\.com.+(&|\?)p=(\d){5,6}(&)?/
  12. /\.mydrivers\.com\/news\/.+\.js.*/
  13. #ex#(?:<br>)*<img\ src="images/common/sigline.gif(?:.|\n)*?</div>###<!--Ad blocked by TheWorld2-->
  14. #exd#*.google.*#q=cache###by=theworld&q=cache
  15. #exd#*.btchina.net*#<!-- begin of ad block -->(?:.|\n)*?<!-- end of ad block -->###<!--Ad blocked by TheWorld2-->
  16. #exd#*.btchina.net*#<TD align=center width="20%">(?:.|\n)*?<\/TD>###<!--Ad blocked by TheWorld2-->
  17. #exd#*.sina.*#<div id=PublicRelation.*?>(?:.|\n)*?<\/div>###<!--Ad blocked by TheWorld2-->
  18. #exd#*.sina.*#<!--企业服务文字广告开始-->(?:.|\n)*?<!--正文结束-->###</table><!--Ad blocked by TheWorld2-->
  19. #exd#*.sina.*#<td width="(?:612|640)" valign="top" class="lc_blue">###<td width="100%" valign="top" class="lc_blue">
  20. #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">
  21. #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>
  22. #exd#*.mydrivers.com*#<script.*?duilian.js>(?:.|\n)*?<\/script>###<!--Ad blocked by TheWorld2-->
  23. #exd#*.mydrivers.com*#<table[^>]*class="table9.*?>(?:.|\n)*?<\/table>###<!--Ad blocked by TheWorld2-->
  24. #exd#*.mydrivers.com*#<table[^>]*bgcolor="#BCCEEF.*?>(?:.|\n)*?<td.*?height="(?:60|34).*?>(?:.|\n)*?<\/table>###<!--Ad blocked by TheWorld2-->
  25. #exd#*.live.com*#<div.*?class="cAdBannerContainer.*?>(?:.|\n)*?<\/div>###<!--Ad blocked by TheWorld2-->
  26. #exd#*.live.com*#<div.*?id="AdContainer.*?>(?:.|\n)*?<\/div>###<!--Ad blocked by TheWorld2-->
复制代码
明月好 邀同宴 相逢几分癫

TOP

是解决了 但CNN的问题依旧

TOP

在选项里把广告过滤部分的过滤掉的元素显示为: 这个地方设置为空白

TOP

返回列表