返回列表 发帖
那是哪条规则起了作用了呢?我有漏的么?


/(\.|\/|_|")(ads?(\d|code|gif|graph|list|log|puba|file|sence|site|show)?|(ali)?union(sky|sys)?|all(4ad|yes)|bdun|banner|cp(c|ro)|(guan|my|newhua)?gg(ao)?|keyrun|p(4|f)p|sms|sp(onsor|code)|themis|ulink(js|dir)|un|usmsweb|xc|7town|is686|stats?|ukaka)(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)?(\.|\/|_)/
/(?:\.|\/|_|")(?:cooperate|corporate)(?:s)?(?:\d)*(?:\.|\/|_)/
/(\/|\-|_)(\d){2,3}x(\d){2,3}[^0-9]+(swf|gif|jpg|html?)/
/\/(js|temp|gg|html)?\/(163|google|gezibottom|mootermedia|firefox|yahoo|yahoo200x26|sohu|mop|topad|sina|keyrun|gg|daqi|BOLAA|9v|8le|db2|sogou|taolai)(\d)*\.html?/
/pic\.zol\.com\.cn\/((\d)*|dealer)/
#ex#<fieldset.*?>(?:.|\n)*?<\/fieldset>###<!--ad-->
#ex#<table.*?width="25%.*?>(?:.|\n)*?http://ma.baidu.com/ma/rcv/click.php(?:.|\n)*?<\/table>###<!--ad-->
#exd#*.fhzw.net*#<iframe.*?id="article_ad_.*?>(?:.|\n)*?<\/iframe>###<!--ad-->
#exd#bbs.fhzw.net*#<fieldset.*?style='width:.*?>(?:.|\n)*?<\/fieldset>###<!--ad-->
#exd#*.cmfu.com*#<TABLE height=30 cellSpacing=0 cellPadding=0 width="100%" border=0>(?:.|\n)*?<\/table>###<!--cmfu的抬头-->
#exd#/.*google.*/#<div[^>]*id=tpa.*?>(?:.|\n)*?<\/div>###<!--ad-->
#exd#/.*google.*/#<table[^>]*align=right.*?>(?:.|\n)*?<\/table>###<!--ad-->
#exd#/.*google.*/#q=cache###by=theworld&q=cache
#exd#*.86zw.com*#width=730###width=95%
#exd#*.86zw.com*#<td.*?width=220.*?>(?:.|\n)*?<\/td>###<!--ad-->
#exd#*.86zw.com*#<table.*?(bgcolor|width)=(#e7f4fe|250).*?>(?:.|\n)*?<\/table>###<!--ad-->
#exd#*forum-*#id\s*?=["'\s]?(cate_thread|rules_\d*?)(?:['"]|(?=[\s>]))###id="$1" style="display:none;"?
#exd#*thread*fid*#id\s*?=["'\s]?(cate_thread|rules_\d*?)(?:['"]|(?=[\s>]))###id="$1" style="display:none;"?
#exd#*forumdisplay.php*#id\s*?=["'\s]?(cate_thread|rules_\d*?)(?:['"]|(?=[\s>]))###id="$1" style="display:none;"?
#ex#.*name\s*?=\W*?EnableContextMenu.*###<!--去除网页播放器右键限制-->
#exd#/cnbeta\.com.*/#<table border="0" width="138".*?(运营|推荐)(?:.|\n)*?<\/center><\/td><\/tr><\/table>###<!--ad-->
#exd#/cnbeta\.com.*/#<td.*?width="660.*?>(?:.|\n)*?<\/iframe><\/td>###<!--ad-->
#exd#/cnbeta\.com.*/#<td width="310" valign="top">###<td width=100% valign="top">
#exd#/cnbeta\.com.*/#<img[^>]*includes/custom_files/img/[^logo.gif].*?>###<!--ad-->
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

我的baidu怎么没有过滤干净的呢?
附件: 您需要登录才可以下载或查看附件。没有帐号?加入 我们
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

/(?:\.|\/|_|")(?:cooperate|corporate)(?:s)?(?:\d)*(?:\.|\/|_)/

这个只能过滤那个抬头的抽屉广告,中间的两个图还在~
附件: 您需要登录才可以下载或查看附件。没有帐号?加入 我们
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

没有用~
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

加了个
*banner*
好像起作用了
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

算了,这个问题就让他过去吧~

你再帮我看看620楼的问题~
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

http://www.sodu.org/
的广告怎么没有过滤掉呀?你们的呢?该不是我的浏览器的问题吧?!
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

发现问题了,原来是黑名单的长度支持不够~

我的第一条
/(\.|\/|_|")(ads?(\d|code|gif|graph|list|log|puba|file|sence|site|show)?|(ali)?union(sky|sys)?|all(4ad|yes)|bdun|banner|cp(c|ro)|(guan|my|newhua)?gg(ao)?|keyrun|p(4|f)p|sms|sp(onsor|code)|themis|ulink(js|dir)|un|usmsweb|xc|7town|is686|stats?|ukaka)(s)?(\d)*(\.|\/|_)/


再我关闭再打开浏览器后,就成了


/(\.|\/|_|")(ads?(\d|code|gif|graph|list|log|puba|file|sence|site|show)?|(ali)?union(sky|sys)?|all(4ad|yes)|bdun|banner|cp(c|ro)|(guan|my|newhua)?gg(ao)?|keyrun|p(4|f)p|sms|sp(onsor|code)|themis|ulink(js|dir)|un|usmsweb|xc|7town|is686|stats?|ukaka)(s)?(\d)*(\
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

这个老问题怎么还没有解决呀?!!!!!!!!!

上次是直接导致崩溃,现在是自动消失后面的~
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

我把第一条依然拆分成两条


/(\.|\/|_|")(ads?(\d|code|gif|graph|list|log|puba|file|sence|site|show)?|(ali)?union(sky|sys)?|all(4ad|yes)|bdun|banner|cp(c|ro)|(guan|my|newhua)?gg(ao)?)(s)?(\d)*(\.|\/|_)/
/(\.|\/|_|")(keyrun|p(4|f)p|sms|sp(onsor|code)|themis|ulink(js|dir)|un|usmsweb|xc|7town|is686|stats?|ukaka)(s)?(\d)*(\.|\/|_)/
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

哈,259个半角字符~
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

如何给这个
#exd#*forum-*#id\s*?=["'\s]?(cate_thread|rules_\d*?)(?:['"]|(?=[\s>]))###id="$1" style="display:none;"?
#exd#*thread*fid*#id\s*?=["'\s]?(cate_thread|rules_\d*?)(?:['"]|(?=[\s>]))###id="$1" style="display:none;"?
#exd#*forumdisplay.php*#id\s*?=["'\s]?(cate_thread|rules_\d*?)(?:['"]|(?=[\s>]))###id="$1" style="display:none;"?

后面加个说明呢?

是直接把<!--隐藏discus和phpwind论坛顶部版规-->续写在后面呢,还是需要加上###呢?
混神日志(韩磊BLOG)
http://www.hanlei.cn

TOP

返回列表