I have no idea to write a good filter for yahoo.tw; plz help

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Guest

I have no idea to write a good filter for yahoo.tw; plz help

Post by Guest »

http://yahoo.com.tw/

There are some ads,
but sometimes they don't put their ad in a special-purposed server, and put them with normal pictures (under the same domain),

for example,
http://tw.i4.yimg.com/i/tw/
http://tw.i4.yimg.com/a/tw/

They put their Logo there,
and some ads also;

When I want to block

http://tw.yimg.com/a/tw/someSpecialWord ... 654321.swf
http://tw.yimg.com/a/tw/someSpecialWord ... 123456.gif

I have to write
/yimg\.com\/(a|i)\/tw\/(SpWorda|spwordb|spwordc)\/\d\d\d\d\d\d\_\w\w\w\w\w\_\d\d\d\d\d\d\.*/

and think it's terrible;
just like I enter "dir *****.***" to find something.

Does anyone know how to write a good filter for this kind of ads?

I need it to block items that
1. contains "yimg"
2. may contains some special word
for example /yimg.com/a/tw/john
or /yimg.com/a/tw/peter
"john and peter" are known word
3. contains some digit on its file mame
4. it may be swf, gif, jpg or png

P.S.
It's not proper to just block "peter" or "john" with (peter|john) for these key word may be also used by other sides and they are not ads at that time.
User avatar
Stupid Head
Posts: 214
Joined: Sat Aug 26, 2006 8:11 pm
Location: USA

Post by Stupid Head »

Code: Select all

yimg.com/a/tw/js/
tw.yimg.com/a/tw/
What, me worry?
sheepy
Posts: 147
Joined: Sat Jun 17, 2006 8:44 pm

Post by sheepy »

In case you just want the ad off with least hassle, EasyList clean it up nicely in my eyes.

For anything it doesn't catch, here you can find a list that targets Chinese ads, which I've been expanding into Taiwan domains.
http://www.anetcity.com/bbs/index.php?topic=9799.0
Locked