阅读:6578回复:9
别人给我的Adblock plus 正则杀广告 大家分享一下 高手指点一下谢谢
如下,另外附件里也有就是下边这个 杀广告还真不错 只是太长了 高手指正一下谢谢
[Adblock] /(/*)/(9988)\/.*\.(js|gif)/ /(/text|/sms|/usms|sms/|mms/)ad(\.|/)/ /(\.|\/)(adultmoviebox|just-hitz|erotic2day|paycounter|marketbanker|arkoo|layer-ads|myelogo|linktech|narrowad|danasoft|newhuagg|bravenet|imrworldwide|e7sky|t2t2|sogou|tomnews|dns99|ad|banner|3721|unionsky|52mxd|50bang|eachnet)(s)?(\d)*(\.|\/|_)/ /(\.|\/)(tomnews|dns99|ad|banner|3721|unionsky)(s)?(\d)*(\.|\/|_)/ /(\.|\/|_)(soft|hot)?ad(s..|img|vert|rotator|view|bot|c_|client|council|gif|graph|images|info|log|pic)?(\.|\/|_)/ /(ad((-(\d)+)|(\d)+|image(s)?|sence)|text|scalink|pfp|narrowad)(\/|\.)/ /(cn|us).yimg.com/a/|googlesyndication/ /(hot|spy)log/ /(spcode|gimg)\.baidu\.com/ /Ggao\/.*\.(gif|jpg|swf)/ /[.\/]intellitxt[.\/_]/ /[\W\d](double|fast)click[\W\d]/ /[\W\d]click(stream|thrutraffic|thru|xchange)[\W\d]/ /[\W\d]dime(xchange|click)[\W\d]/ /[\W\d]value(stream|xchange|click)[\W\d]/ /[\W\d_](top|bottom|left|right)?banner(s|id=|\d|_)[\W\d]/ /[\W_](b(an|nr)s?|jump)[\W_]/ /[\W_](blog|get|online)ads?[\W_]/ /[\W_](double|fast)click[\W_]/ /[\W_]3721[\W_]/ /\.(onlinedown|digitomorrow|mydrivers)\.(net|com)\/(ad(s)?|newhuagg|im(a)?g(es)?|js|ad-msi)\/.*\.(gif|jpg|htm)/ /\.114\.com\.cn/ /\.geocities.com/js_source/(ygNSLib9|pu5geo).js/ /\/ad(huaj(\w)+|vertising)\.js/ /\/buy_assets\// /\D(588|468|234|120)x(600?|120|90)\D/ /\D(728|588|468|234|160|120)x(600?|90)\D/ /\W(cy|r)?c(ou)?nt(er|ed)?\W/ /\Wservlet\W/ /ad*.swf/ /admonitor/ /adv\.pconline\.com\.cn/ /banner(s|\d|id=\d*)?[\W_]/ /caishow|3721|advpic|ctrip|union.163|sogou|guanggao|adsense|eboto/ /cpro.baidu.com/ /eimgadjs/ /fixdown\.com\/cert/ /newhuagg\/((?!news\d\.js)|(\d+\.(gif|jpg|png)))/ /p(artner|ing\.cgi|romotion)/ /sp(onsor|ymagic)/ /top(100|cto)/ /u\.e78\.com/ /verycd.com\/customer/ /(\D)(\d){2,3}((\*)|x|)(\d){2,3}\.(swf|gif|jpg)/ /[\W\d_]ad(s|v)?[\W\d_]/ /http://((221\.130\.178\.12|www9\.2100book\.com)/gg/gg\.html|c(n\.mail\.yahoo\.com/welcome/|pc\.733\.com/adclick_r__87_8_309_1194186022e436ac6292eff3d4bbafcb114be655cd_104116116112058047047099108105099107046055051051046099111109058057049049057047099112099047113113099108105099107046104116109108\.htm)|proimg\.163\.com/channel(1/mobile071102b|5/003417/digi071030o)_163_hp_110x260_01\.swf|union\..*\.kingsoft\.com/union/)/ //((\((images\\\.sohu\\\.com\\/\)\(\^product\\/alumni\\/\|\^cs\\/sms\\/alumni.*3\\/images\\/|www\\d\?\\\.skycn\\\.com\\/\)\(\(images\\/\..*\\\.gif\)\|\(tuijianimg\\/\)\|\(.*\(js\\/\)\(\(\..*\\\.js\)\|\(21cn\..*\\\.htm\)\)\))|\\\.sina\\\.\.\+\(publicrelation\(\?!4\)\|toolbar\|sinatail)\))// /(\.directresponse|atdmt)\.com|\.falkag\.net|(\(www\\\.\(mydrivers\|btbbt\|shd\|5ud\)\\\.com\(\\\.cn\)\?\|search\(\\d\)\?\\\.btchina\\\.net\|image\\\.cgame\\\.cn\|onlinedown\\\.net\|218\\\.106\\\.83\\\.10\|down\\\.20cl\\\.com\)\\/\(image\(s\)\?\|photo\)\?\\/\..*\\\.\(gif\|swf|\\\.\(boyis\|allyes\|cjt1\|w163\|ppzxw\|1000downloads\)\\\.\(net\|com)\)|(images\.sohu\.com/chat_online|sohu\.com/cs)/|\.(sina\.com\.cn/(cj/zsyz/.*\.swf|dy/sina_net/)|allyes\.)|news_pip|reklama/ /\D(588|468|234|120)x(600?|120|90)\D/ /\/buy_assets\// /[\W\d_](top|bottom|left|right)?banner(s|id=|\d|_)[\W\d]/ /[\W\d](double|fast)click[\W\d]/ /[\W\d]click(stream|thrutraffic|thru|xchange)[\W\d]/ /[\W\d]value(stream|xchange|click)[\W\d]/ /[\W\d]dime(xchange|click)[\W\d]/ /[\W_](onlineads?|ad(banner|click|-?flow|frame|ima?g(es?)?|_id|js|log|serv(er|e)?|stream|_string|s|trix|type|vertisements?|v|vert|xchange)?)[\W\d]/ /(hot|spy)log/ /[\W_](b(an|nr)s?|jump|redir(ect|s)?|stat)[\W_]/ /\W(cy|r)?c(ou)?nt(er|ed)?\W/ /p(artner|ing\.cgi|romotion)/ /sp(onsor|ymagic)/ /top(100|cto)/ /(\.|\/)(ad|banner|c|sm)(s)?(\d)*(\.|\/|_)/ /(\.|\/)(banner|benner|ad|(a\_d(\_)?(s)?)|adv|allyes|adjs|guangao|guanggao|adbot|advert|adclient|adcouncil|adgif|adgraph|adimage|adinfo|adlog|adpic|adrotator|advert|adview|softad|advertisement)(s)?(\d)*(\.|\/|_)/ /(\/)\w(\.js)/ /skycn\.(net|com)\/(tuijian|tuijianimg|js)/ /\/img(s)?\/(banner|benner)(\w)+\.(swf|gif|jpg)/ /(\/)\d{4}\/\d{1,2}\/\d{1,2}(\/).(\.)swf/ /\wgg/ /(\.|\/)(allyes|pfp|scalink|adssi|\wgg)(s)?(\d)*(\.|\/|_)/ /http://(((gg\.mop\.com/|www\.skycn\.com/tuijian)img|(tadsweb\.tencen|www3\.arongsof)t\.com|(btn\.pchome|skkk)\.net)/)/ //((/click\..*/|cgi-bin/bc\.m\?count=.*.*&link=.*)http:/|(js/|page)?ad|(guanggao/j|realmedia/ad)s|s(/advtrace|ervlet/ajrotator)|/access\.adultterra\.com|affiliates/clickthru\.cgi|top100)// /\.((de/impressum\.htm\?verl_id|linux\.org/perl-bin/invoke\?obj|maximumcash\..*)=|(f(astclick|lycast)|h(itbox|ypercount)|link(4ads|exchange)|elitecash)\.|(e(ads\.com|xitfuel\.).*|getmor.*men\.com/cgi-bin/a\.pl)\?|com/((p(s/ct/count\.cgi\?a|t)|s(i(gnup/\?ref|te_in\.php\?id)|pecialtrial/\?wm_login)|redir\?.*advid)=|t(rack(er\.cgi\?|sponsor\.aspx\?.*id=)|oplist\.asp.*id=)|r/partners/)|ho(rnyheidi\.com|tlog\.ru)|i(clicks\.de|gallery\.)|logging\.to/log\.php\?account=.*.*& url=http://anonymouse.org/cgi-bin/anon-www.cgi/http://adblock.free.fr/optimize/.*http://)/ /((\.uk/redirect\.srf\?|/.*click.*&ad)id|\.pcavs\.com/getid\.phtml\?k|/\.sbean\?bean)=|\.((p(ayserve\..*/cash|us.*list\.com/cgi-bin/top/account)\.cgi|zanox-affiliate\.de/bin/z_ct_trc\.dll)\?|v(alueclick\..*\?|irtual.*xmall\.com/partners/.*/index\.html)|s(p(eedyclick\..*=|ylog\.)|creensaver\.com/advantage/cthrough\.asp\?|tats4all\.)|(se.*swap2|thecounter|ultravideos)\.com|ne(dstatbasic\.|t/rating/in\.php\?)|web(counter\.goweb\.|trendslive\..*\?)|qksrv\.net|respond\.com/.*/sellers\.jsp\?src=|topping\.com\.ua/)/ ///(((adli|linktrac)k\..*\?id|a(ction\.ientry\.net/\?rc|dserver\..*)|go\..*\.com/a=.*.*/s|in\..*\.com/\?s=.*.*&a)=|(new)?ads\.|ad(.*(\.bannerbank\.|/redir\.cgi\?)|\..*\?|v\..*/ad_page)|(ar\.atwol|freeporn\.adultterr)a\.com|banner(\.kiev\.ua|ads\.)|c(li(ck((.*\.oxcash\.com/\?|cash\.webpower\.com/.*=.*).*=.*.*=|\.(.*id=|atdmt\.|silvercash\.com/\?)|s\..*\?)|x\.superclix\.de)|ounter(\.|.*\.bravenet\.com)|gi.*\.fxweb\.com/v.*-.*\.cgi)|link\.siccash\.com/cgi-bin/.*raw)/ //(((a(d(\..*\?|man\?.*id=.*.*)|f(fclick\.cgi\?aff|track\.asp\?))|/pa(rtners\.hotgold\.com/cgi-bin/.*|ymail.*/mailally\.jsp)\?|\?tsl)id|\?revid=.*.*&s|/showcount\..*\?site)=|a(d((((log|s)\.p|x_click\.htm)l|(_target|entry)\.asp|rotate/click.*|vert/ads\.cgi)\?|s(\?|ystem/redirect\.asp\?url=)|-|/admentorredir\.asp|_click\.|click)|p/click\?)|/((rd\.yahoo\.com/.*//shop\.store\.yahoo|tracker\.tradedoubler)\.com|top(100|sites\..*/in)\.|rb\.rfn\.ru/cgi-bin/href)|007movie.*\.exe)/ //((((hit)?in\.php\?|g(etafid\.asp.*aff|o\..*sponsor_)|main\.(cgi\?referer|htm\?)|default\.asp\?v|index\..*\?t|rankem\.cgi.*)id|(event\.ng/typ|jws-track\.cgi\?id=.*.*sit)e|count(_in\.asp\?id|ad2\.php\?.*)|in\.php\?thesiteno|maxcash\.cgi\?.*|r\.kds\?r)=|(holly_celebs|lives.*x)\.exe|c(lick((ad\.jsp|thru\.acc)\?|banner\.)|tc\.cgi\?)|j(4free/go\.php|s/float.*\.js|ump\.zil.*outurl=)|l(argecash/.*/index\.html|spro/lspro\.cgi\?click=)|o(asys/oasisc\.php\?s=.*.*&c=|ut\.cgi\?smallbanner)|nastydollars\.htm|popup\.)/ //(((r(efer\?.*|s\.exe\?revshare)|to(psites/(in\.cgi|sitelist\.asp)\?|ng\.php\?op=.*.*&h_)|snfrlinkout\.php\?)id|redirect\.(asp\?url=.*.*\?pa_name|php\?adcomp=.*.*&adurl)|s(/banmat.*/banmat.*\.cgi\?url|ubscribe\.php\?site_id=.*.*&src)|toplist\.php3\?action=.*in&login)=|t((opref|rack/.*/redirect)\.cgi\?|op(/\?id=|sites\.cgi)|rack\.cfm\?bannerid=)|re(klama\.|vshare/agents\.cgi.*refer))|(ads99\.net|us\.yimg\.com/a)/|googlesyndication|reklama/ //(b(((anredir\.cgi\?.*|onus\.cfm\?)id|pwork\.cgi\?advert)=|an(manpro/banman\.|ner\.asp\?)|u(mblecash\.cgi\?|yjump\.html)|in/red\.x/.*bidpay\.com/sellerregistrationstep1\.asp)|c(a(s(h4adverts\.pl\?sponsor=|inolux\.exe)|tegory\.cfm\?id=.*.*&aff=)|gi-bin/((re(direct\.cgi/.*campaign|fer\.php\?user)|intellilink/in\.cgi\?id)=|c(cshare\.pl.*id|lick-.*\.cgi\?)|ads/.*\?)|lick((\.php.*(id|ref)|\?account=.*.*site|/\?.*)=|\.cgi\?file=.*.*@)))/ /\.((com/\?re(f|vid)|4se.*link\.com/hitsin\.asp\?link)=|a(d((4all|s)?\.|-|bull\.de|verline\.co.*/clic\?id=)|llyes\.com/)|((com/cgi-bin/cl(ic)?k|baren.*de\.com/tts-cgi/tts-in)\.cgi|com/(affiliates/a\.asp|cgi-bin/in))\?|c((arpediem\.fr/|elebrity.*ut\.net).*\.exe|om/((admanager/.*|bjump\.php\?)id=|(advertising/redirect\.asp\?.*url=.*http:/|bin/xpromo\.x)/)|inema\.de/forwarder/)|(a(-counter|d.*smostvisited)|bfast)\.com)/ /\.com/((((enter\.htm|in\.p)l\?|home\.html\?.*id=.*.*)id|in(dex\.(php\?((tl_)?id|r)|asp\?associateid|html\?a)|sertjump\.php\?id)|gate\.asp\?account)=|(cgi-bin/((ref|track)er|topvlog)\.cgi|join/index\.html)\?|click((\?id=.*.*&site|s\.asp\?.*id)=|\.php\?)|default\.((html\?d|php\?aff)id=|asp\?(ref=|url=.*http))|p(hp/redirect\.php/|ps=))/ |
|
|
1楼#
发布于:2007-11-05 21:19
..现在都流行订阅规则了
|
|
|
2楼#
发布于:2007-11-05 21:19
这一套规则肯定不好,全是正则表达式。
正则表达式最好只用于一些通用的情形和常规规则无法描述的情形。 像是把 /\.114\.com\.cn/ 这样的拆成.114.com.cn /(spcode|gimg)\.baidu\.com/ 拆成 spcode.baidu.com和gimg.baidu.com效率会极大提高 不想折腾的话还是订阅吧,事实上写点儿简单的规则并不难 |
|
3楼#
发布于:2007-11-05 21:19
看我的暴力规则
$object $subdocument 有杀错,无放过。 |
|
4楼#
发布于:2007-11-05 21:19
第三条通杀是我写的,嘿嘿。
现在更长咯~~ /(\.|\/)(qq-av|all4ad|7town|adbrite|serving-sys|cam-lolita|haosf|paypopup|eboto|interclick|extreme-dm|adultmoviebox|just-hitz|erotic2day|paycounter|marketbanker|arkoo|layer-ads|myelogo|linktech|narrowad|danasoft|newhuagg|bravenet|imrworldwide|e7sky|t2t2|sogou|tomnews|dns99|ad|banner|3721|taobao|unionsky|52mxd|50bang|eachnet)(s)?(\d)*(\.|\/|_)/ |
|
|
5楼#
发布于:2007-11-05 21:19
收藏一下
|
|
6楼#
发布于:2007-11-05 21:19
|
|
7楼#
发布于:2007-11-05 21:19
|
|
8楼#
发布于:2007-11-05 21:19
说实话 我用了好多天了 也没觉得 那里不好,杀广告不错。只不过长了点
也没感觉慢啊,速度一样很快的 |
|
9楼#
发布于:2007-11-05 21:19
订阅简单。。。方便。。。
|
|