- UID
- 1603
- 帖子
- 12
- 精华
- 0
- 贡献
- 0
- 推广
- 0
- 有效BUG
- 0
- 注册时间
- 2005-7-6
|
The World什么时候能支持正规表达式过滤就好了。这些过滤规则和Firefox的adblock相比都是小儿科。
我自己用的正规表达式过滤:
常见的js弹出窗口,广告Flash等基本可以一扫光。
/[^\w=+]promo(\w*\.js|banner|box)(?!(\.js)?\?)(\W|_|$)/
/[^a-z\d=+%@](\w*\d+x\d)?\d*(show)?(\w{3,}%20|alligator|avs|barter|blog|box|central|crystal|d?html|exchange|external|forum|front|fuse|gen|get|house|hover|http|i?frame|inline|instant|live|main|mspace|net|partner|php|primary|provider|redir\W.*\W|rotated?|secure|side|smart|sponsor|story|text|view|web)?_?ads?(v?(bot|brite|broker|bureau|butler|cent(er|ric)|click|client|content|coun(cil|t(er)?)|creative|cycle|data|engage|entry|er(tis\w+|t(pro)?|ve?r?)|farm|force|form|frame|gen|gif|groupid|head|ima?ge?|index|info|js|juggler|layer|legend|link|log|man(ager)?|max|mentor|meta\.com|net|optimi[sz]er|peeps|pic|po(ol|pup|sition)|proof|q\.nextag|re(dire?c?t?|mote|volver)|rom\.net|rotator|sale|script|sdk|sfac|size|so(lution|nar|urce)|space|srv|stat.*\.asp|sys|(tag)?track|trix|type|view|vt|x\.nu|zone))?s?\d*(status)?\d*(?!\.org)[\W_](?!\w+\.(ac\.|edu)|astra|aware|adurl=|block|login|nl/|sears/|.*(&sbc|\.(wmv|rm)))/
/[^a-z\d=+](get|web)?_?spons?(or(ed|s))?_?(links?)?(pots?)?(\W|_|$)(?!.*sigalert)/
/[^a-z\d=+]\d*((context|double|euros4|fast|fine|pay-by-|smart|specific|value)_?clicks?|clicks?(2net|adhere|ban\.php|bank\.net|over|sor\.com|tag|thrutraffic|trade|xchange))(\W|$)(?!but)/
/[^a-z]banners?[/._-]?(.*(\d+x\d+\.swf|\.f?pl|redir|siteid=)|\.(cgi|js|php)|ad|affiliate|central|click|connect|count|current|exchange|file|grocery|id|man(age(ment|r)|ia)|newsletter|/_?promo|/rotat|/?script|serve|skyscraper|space\.|swap|trust)/
/\.(adquest|site-id|geldrace)\.nl/
/\.emediate.\w{2,3}/
/\W(absolutebm|annon(s|coer)|anzeigenklick|bannerit|centrport|clickad|clk_thru|contextuallinks?|falkag|klipmart|mainos(include)?|mediaturf|offerfusion|partnermanager|paypopup|redirect.*banner|sitecatalyst|tacoda|tns-gallup|weborama|werbung|(hit|spin|google/)box(?!\.org))[\W_]/
/\W(adcase|(affiliate|popdown|view4)cash|gonamic|ivwbox|mediavantage|pay4klick|popexchange|ptadsrv|superclix|tfag|webmaster24|zanox-affiliate)\.de/
/\Wad(id=|v(\W.*track|(/[^/]+|\d+)\.[gjs])|/house)/ |
|