世界之窗论坛's Archiver

jingyun5985 发表于 2009-12-3 22:40

3.0有没有现成的过滤规则啊??

vokins 发表于 2009-12-8 22:33

2008 10 18 版本
[url]http://hi.baidu.com/blacklistbot/blog/item/36e62e110b25af16b9127b99.html[/url][code]
//数字组合
#ex#<(A|SCRIPT|I(?:MG|FRAME)|EMBED|PARAM)\s+[^>]*?\b(?:CLASS|ID|NAME|HREF|SRC|VALUE)=(?=(?:[^\x20>]*?[-_\\\/.?="'])??([1-9]\d{1,2}[-_xX][1-9]\d{0,1}[05])(?:[-_\\\/.?="'&][^\x20>]*)??)([^\x20>]+)[^>]*?>(???!<\1[\s>])[\s\S])*?<\/\1>)?###<S STYLE="background-color:Silver;color:White;font-size:9pt" TITLE=$1[$3]>[$2]</S>
//关键词
#ex#<(A|SCRIPT|I(?:MG|FRAME)|EMBED|PARAM)\s+[^>]*?\b(?:CLASS|ID|NAME|HREF|SRC|VALUE)=(?=(?:[^\x20>]*?[-_\\\/.?="'])??(360quan|9v|a(?:d(?:\d+|banner|c(?:lick|ode)|files?|i(?:d|m(?:g|ages))|js|pic(?:s|tures|)|s(?:\d+|cripts|e(?:nce|rv(?:er|ing))|how|it|js|ky|union|view|)|to(?:p|logy)|union|v(?:\d+|all|code|er(?:salservers|t(?:ising)?|)|iew|)|)|l(?:i(?:mama|union)|l(?:4ad|yes\d*)))|b(?:anners?|iz5)|c(?:hinesefriendfinders?|l(?:ck?|ic(?:k(?:eye)?|))|p(?:[cdlmpsv]|ro))|d(?:annonces|otmore)|e(?:iv|te(?:un)?)|f(?:loat(?:adv?|)|ootad|unshion)|g(?:g(?:ao|img|pic|)|o(?:cpc|oglesyndication)|uang(?:g(?:ao)?|))|h(?:ao(?:ei|ye)|eima8)|i(?:dc|focus)|j(?:iaoyou|oy)|k(?:eyrun|oowo)|market|narrowad|p4p|qyule|s(?oe|pc(?:lick|ode)|tat)|tuotu|u(?:link|n(?:i(?:gg|on(?:sky)?)|stat|)|usee)|vo(?:done|gate)|webgame|y(?:eeyoo|igao))(?:[-_\\\/.?="'&][^\x20>]*)??)([^\x20>]+)[^>]*?>(???!<\1[\s>])[\s\S])*?<\/\1>)?###<S STYLE="background-color:Silver;color:White;font-size:9pt" TITLE=$1[$3]>[$2]</S>
//脚本
#ex#<SCRIPT[^>]*>(??!<\/SCRIPT>)[\s\S])*?(?:[-_/."'?=]|^)(google(?:syndication|_ad)|alimama|allyes|sogou_param|cpro)[-_/."'?=](??!<\/SCRIPT>)[\s\S])*?<\/SCRIPT>###<S STYLE="background:#EEE;color:#FFF;font-size:9pt" TITLE="SCRIPT">[$1]</S>
// AD DIV
#ex#<DIV\s+[^>]*?\b(?:CLASS|ID)=(?=(?:[^\x20>]*?[-_\\\/.?="'])??(ad\d*?|b(?:anner|dfs\d+))(?:[-_\\\/.?="'&][^\x20>]*)??)([^\x20>]+)[^>]*?>(??!<DIV)[\s\S])*?</DIV>###<S STYLE="background-color:Silver;color:White;font-size:9pt" TITLE=DIV[$3]>[$2]</S>
// <!-- AD begin -->...<!-- AD end -->
#ex#<!--(ads?) begin-->[\s\S]+?<!--\1 end-->###<S STYLE="background:#EEE;color:#FFF;font-size:9pt" TITLE="&lt;!--&gt;">[$1]</S>
// 其他
#ex#waitingTime\s*=\s*\d+###waitingTime=0
#ex#beginPosition != -1###true
#ex#beginPosition <0###false
// 给<iframe>加双线框
#ex#</head>###<style type="text/css"><!--iframe {border:3px double #9cf}--></style>
// 霏凡显示真实下载地址
#exd#*crsky.com*#'\s\+\sadlist\s\+\s'###
// 9lala漫画批量下载
#exd#*www.9lala.com/html/*#<div [^>]+><img src="(http:\/\/mh\d*.9lala.com/(?:[^/]+/)+?)1.jpg"></div>[\S\s]+?<div align="center">本漫画共<[^>]+>(\d+)<[^>]+>[\s\S]+?</div>###<script language="JavaScript">var maxpage=$2;for (var i=1;i<=maxpage;i++){document.writeln('<img src="$1'+i+'.jpg" width="32" height="32" title="'+i+'" />'+i);if (i%10==0){document.writeln('<br>')}}</script>$&

[/code]

页: 1 [2]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.