标题:
求助,请问如何过滤这种大量广告?
[打印本页]
作者:
RPG
时间:
2008-8-17 11:33
标题:
求助,请问如何过滤这种大量广告?
小晓家园 黑色部分是根据访问者IP变化的访问者所在地名:
http://www.xxjy.org/
http://img142.imageshack.us/img142/169/67900865sv4.jpg
http://img183.imageshack.us/img183/7015/69543881qf1.jpg
下载页
http://img183.imageshack.us/img183/4903/16077645dj0.jpg
迅雷的广告也超多
http://img366.imageshack.us/img366/8075/92581438ep3.jpg
在需求贴发了……N天没回应……这里不能发的话……斑斑就删了吧……
广告多到爆……我用了置顶规则&单独规则
作者:
RPG
时间:
2008-8-17 11:35
============我的过滤规则===================
/(?:\.|\/|_|")(?: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|sp(?
nsor|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|alimama|clickeye|dotmore|cooperate|corporate|ifocus|ivansms|SogouUnion.*|themis|ulink(?:js|dir)|un|usmsweb|vodone|vogate|xc)s?(?:\d)*(?:\.|\/|_)/
/[^0-9]+(?:\d){2,3}[x_](?:\d){2,3}[^0-9]+(?:swf|gif|jpg|js)/
/(?:[\W\d_]ad(?:s|v)?[\W\d_]|cpro|vodone|keyrun|union|unstat|p4p|7clink|heima8|alimama|adsence|allyes\.com|un\.265|lianmeng|clickeye|spcode)/
@@/800x600|88X31/
@@http://images.sohu.com/cs/sms/club/*
@@http://zjxclub.v.china.com/jsp/etc/ad/messages.js
@@*js/index*.js
@@*.uume.com*&ad=*
@@/%(?:AD|88)%/
@@*.sina.com*/mediaplayer.js*
@@*.ccidnet.com/ad_files/*
@@*images.bol.com*/banner/*
@@*.56.com/js/fly56/*
@@http://ads.china.com/channel/bbs/club_hometxt.js
@@*/WindowsVistaShowcase_AD50/*
@@*bbs.ktroom.com/*
#ex#<SCRIPT[^>]*?>[\s\S]*?Please\sUse\sIE[\s\S]*?<\/script>###<!--Ad blocked by TheWorld2-->
#ex#<script[^>]*?(?:alimama|clickeye|dotmore|ifocus|ivansms|vodone|vogate)[^>]*?>[\s\S]*?<\/script>###<!--Ad blocked by TheWorld2-->
#ex#<![^>]*?MSIEalert[^>]*?>###<!--Ad blocked by TheWorld2-->
#ex#document\.write(?:ln)?\([^\)]*?hasIE_level[\s\S]*?\);\s+###<!--Ad blocked by TheWorld2-->
#ex#<SCRIPT [^>]+>\s*document\.clear \(\);\s*</script><HTML>[\s\S]+?infosafekey="([^"]*)"[\s\S]+?</HTML>###<SCRIPT>alert("发现关键词 \"$1\"")</SCRIPT>
#ex#<div[^>]*?signature[^>]*?>[\s\S]*?<\/div>###
#exd#*gougou.com*#<div[^>]*?"(?
ft)?txt|sj)"[^>]*?>[\s\S]*?<\/div>###
#exd#*gougou.com*#<iframe[^>]*?id="yx"[^>]*?><\/iframe>###
#exd#*gougou.com*#<script type="text\/JavaScript">(?:var sUrl|alimama_pid)[^\n]*?<\/script>###
#exd#*.crsky.*#<(?:iframe|script)[^>]*?ggao[^>]*?>[\s\S]*?<\/(?:script|iframe)>###<!--AD/TW2-->
#exd#*crsky.com*#'\s\+\sadlist\s\+\s'###
#exd#*register*#([^>]*?submit.disabled)[\s\S]*?true;###$1=false;
#exd#*register*#([^>]*?submit.enabled)[\s\S]*?false;###$1=true;
#exd#*google.*#(\.j\{width
34(em\})###$160$2
#exd#*.google.*#q=cache###by=theworld&q=cache
#exd#*.sina.*#<a[^>]*?adfclick[^>]*?>[\s\S]*?<\/a>###<!--Ad blocked by TheWorld2-->
#exd#*.sina.*#<!--\s(TopAds|顶通ad)\sbegin\s-->[\s\S]*?<!--\s\1\send\s-->###<!--Ad blocked by TheWorld2-->
#exd#*.sina.*#<!--_SINA_ADS_BEGIN_-->[\s\S]*?<!--_SINA_ADS_END_-->###<!--Ad blocked by TheWorld2-->
#exd#*.sina.*#<!--企业服务文字广告开始-->[\s\S]*?<!--正文结束-->###</table><!--Ad blocked by TheWorld2-->
#exd#*.sina.*#(<td width=")(640)(" valign="top" class="lc_blue">)###$1100%$3
#exd#*.verycd.com*#<li\sclass="non-topic">[\s\S]*?<\/li>###<!--Ad blocked by TheWorld2-->
#exd#*.verycd.com*#<script[^>]*?>[^\)]*?Banner[\s\S]*?<\/script>###<!--Ad blocked by TheWorld2-->
#exd#*.verycd.com*#<(div\sclass="lite_menu_button")[^>]*?>###<$1>
#exd#*.qqkuai.com*#<script.*?\.js"[\s\S]*?<\/script>>###<!--Ad blocked by TheWorld2-->
#exd#*.btpig.com*#<div[^>]*?#336[^>]*?>[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.pcbeta.com*#<div\sid="ad_[^>]*?>[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.pcbeta.com*#<table[^>]*?forumlinks[^>]*?>[\s\S]*?<\/table>###<!--Ad blocked by TheWorld2-->
#exd#*.pcbeta.com*#<div[^>]*?supe_[^>]*?>[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.pcbeta.com*#<div[^>]*?online[^>]*?>[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.pcbeta.com*#<script[^>]*?inf.js"[\s\S]*?><\/script>###<!--Ad blocked by TheWorld2-->
#exd#*.sina.*#<!-- 音乐播放器 begin -->[\s\S]*?<!-- 音乐播放器 end -->###<!--Ad blocked by TheWorld2-->
#exd#*08zw.com*#<script[^>]*?pconlineAD[\s\S]*?/script>###<!--pconline_AD-->
#exd#*
www.fs2you.com
*#(<\/html>)###<script>window.setTimeout=null;showDirectDownload()</script>$1
#exd#*.wo31.com*#<iframe.*?(?:link\.htm[\s\S]*?<!--MopUnion End-->|(?:360|mop|(?:xiu|ads|codes)\/).*?<\/iframe>)###
#exd#*.wo31.com*#<script.*?\.js"[\s\S]*?<\/script>###
#exd#*.wo31.com*#(<\/div><\/td><\/tr><\/table>)[\s\S]*?<\/center>###$1
#exd#*deviantart.com*#<div class="sleekadbubble[^>]*?>(?:[\s\S]*?<\/div>){3}###<!--Ad blocked by TheWorld2-->
#exd#*deviantart.com*#<div class="base-pane" id="footer-pane-channels">(?:[\s\S]*?<\/div>){13}###<!--Ad blocked by TheWorld2-->
#exd#*deviantart.com*#<table id="footerstuff" class="footer-pane-content f">[\s\S]*?<\/table>###<!--Ad blocked by TheWorld2-->
#exd#*deviantart.com*#<a class="pane-switch"[^>]*?>[\s\S]*?<\/a>###<!--Ad blocked by TheWorld2-->
#exd#*deviantart.com*#<div id="ad-blocking-makes-fella-sad"[^>]*?>(?:[\s\S]*?<\/div>){4}###<!--Ad blocked by TheWorld2-->
#exd#*deviantart.com*#<div class="rr">(?:[\s\S]*?<\/div>){3}###<!--Ad blocked by TheWorld2-->
#exd#*deviantart.com*#withad"###noad"
#exd#*deviantart.com*#<script type[^>]*?gallery2.48.js">###<script type="text/javascript" src="$tw2f://deviantART/gallery2.48.js">
#exd#*deviantart.com*#<div class="hh">[\s\S]*?subbyCloseX(?:[\s\S]*?<\/div>){2}###<!--Ad blocked by TheWorld2-->
#exd#*blogbus.com*#<div\sclass="(ad|ad2)">[\s\S]*?<\/div>###<!-- AD here -->
#exd#*blogbus.com*#(<a(?:.*?))>鍥炲?<\/a>###$1 style="color: red;font-weight: bold">回复</a>
#exd#*.xdowns.*#<![^>]*?广告[^>]*?>[\s\S]*?<![^>]*?广告[^>]*?>###<!--AD/TW2-->
#exd#*.xdowns.*#<(?:iframe|script)[^>]*?\/(?:adfile|ggdown|gg|ggd)(?:\/|\.)[^>]*?>[\s\S]*?<\/(?:iframe|script)>###<!--AD/TW2-->
#exd#*.xdowns.*#<div[^>]*?ggdown[^>]*?><\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.namipan.com*#<div[^>]*?goo[\s\S]*?<\/div>###
#exd#*.btpig.com*#<table[^>]*?width="97%"[\s\S]*?<\/table>###<!--Ad blocked by TheWorld2-->
#exd#*.btpig.com*#<div[\s\S]*?["' ]?mm_10082881_["' ]?[\s\S]*?<\/div>###<!-- Ad blocked by TheWorld2-->
#exd#*.btpig.com*#<div[^>]*?#666[^>]*?>[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.btpig.com*#<tbody>[\s\S]*?联盟论坛(?:[\s\S]*?<\/tbody>){2}###<!--Ad blocked by TheWorld2-->
#exd#*.btpig.com*#<tbody>[\s\S]*?在线用户(?:[\s\S]*?<\/tbody>){2}###<!--Ad blocked by TheWorld2-->
#exd#*.sbshd.com*#(<\/div><\/td><\/tr><\/table>)[\s\S]*?<\/TD>###<!-- power bY tw2auto-->
#exd#*cnbeta.com*#<center>[\s\S]*?<\/center>###
#exd#*cnbeta.com*#<em>[\s\S]*?<\/em>###
#exd#*cnbeta.com*#<div>[\s\S]*?<\/div>$###
#exd#*cnbeta.com*#(var )?(?:alimama|google)_[^\n]*?;$###
#exd#*cnbeta.com*#<div[^>]*?userInfo">[\s\S]*?<\/div>###<script type="text/javascript" src="$tw2f://cnbeta/cnBetaSearcherV2.js"></script>
#exd#*cnbeta.com*#<div[^>]*?searcher">[\s\S]*?end fm_r -->###
#exd#*cnbeta.com*#<div[^>]*?votes">\n[^\n]*?(?:赞|软|链)[\s\S]*?<!-- end (?:vote|推介) -->###
#exd#*cnbeta.com*#<div[^>]*?foot">[\s\S]*?(<\/body>)###$1
#exd#*cnbeta.com*#<div[^>]*?good">[\s\S]*?"no([\s\S]*?<\/div>){2}###
#exd#*.baidu.*#<!--ecombegin-->[\s\S]*?<!--ecomend-->###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<table[^>]*?width="?(?:175|25%)[^>]*?>[\s\S]*?<\/table>###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<table\sborder="0"\scellpadding="0"\scellspacing="0">[\s\S]*?<a[^>]*?baidu\.php[^>]*?>[\s\S]*?<\/table>###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<div[^>]*?width:84%">[\s\S]*?eiv\.baidu\.com[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<div[^>]*?id="?b?dfs[^>]*?>[\s\S]*?<\/div>(?:<br>)?###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<script>?[^<]*?eiv\.baidu\.com[^<]*?<\/script>###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<div[^>]*?188px[^>]*?>[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<td\swidth="250[^>]*?>[\s\S]*?<\/td>###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<div[^>]*?background:#F9FDF0[^>]*?>[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<iframe[^>]*?height=92px[^>]*?><\/iframe>###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#<([^>]*?)\s[^>]*?(?:eiv|hc)\.baidu[^>]*?>###<!--Ad blocked by TheWorld2-->
#exd#*mp3.baidu.*#<!--\s广告\s-->[\s\S]*?(<div\sid=leftRes>)###<!--Ad blocked by TheWorld2-->$1
#exd#*mp3.baidu.*#<table[^>]*?id=rightAd[^>]*?>[\s\S]*?<\/table>###<!--Ad blocked by TheWorld2-->
#exd#*video.baidu.*#<div[^>]*?id="rlinks">[\s\S]*?<\/div>###<!--Ad blocked by TheWorld2-->
#exd#*video.baidu.*#<table[^>]*?align="left">[\s\S]*?<\/table>###<!--Ad blocked by TheWorld2-->
#exd#*.baidu.*#(\.f\{[^\}]*?width
32(em[^\}]*?\})###$160$2
#exd#*tieba.baidu.*#(<table\swidth=")75(%[^>]*?>)###$195$2
#exd#*mp3.baidu.*#(#leftRes{padding-left:10px;margin:0;width
74(%!important;width:)76(%;})###$1100$2100$3
#exd#*.baidu.*#(<\/html>)###<SCRIPT src="$tw2f://baidu/fixbaidu.js" defer></SCRIPT>$1
==============对于如下白名单中的网站,各种过滤均不生效============
*.qq.com*
www.tagapie.com.tw
www.abchina.com
dict.hjenglish.com
www.kimura-takuya.com.cn
*taobao.com*
handing.5d6d.com
作者:
靖哥哥
时间:
2008-8-17 13:03
#exd#*xxjy.org*#<script[^>]*?[^>]*?myad[\s\S]*?<\/script>###
复制代码
试试这个吧,没仔细试,就把你说的显ip的ad内容ban了。
图片附件:
1.png
(2008-8-17 13:03, 120.32 KB) / 下载次数 1199
http://bbs.theworld.cn./attachment.php?aid=50610&k=6aa93cf8c83597b9d4b8f3366ce68cb4&t=1732440638&sid=M8it3t
图片附件:
2.png
(2008-8-17 13:03, 100.3 KB) / 下载次数 1214
http://bbs.theworld.cn./attachment.php?aid=50611&k=c84eef9819320c218953a4ef415162ff&t=1732440638&sid=M8it3t
作者:
RPG
时间:
2008-8-18 03:21
谢谢~小晓的首页被过滤的很干净
欢迎光临 世界之窗论坛 (http://bbs.theworld.cn./)
Powered by Discuz! 7.2