The Adblock Project Forum Index The Adblock Project
Pull up a seat ...stay a while.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rue check this please

 
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main
View previous topic :: View next topic  
Author Message
Sergei
Guest





PostPosted: Sun Nov 09, 2003    Post subject: Rue check this please Reply with quote

Hi Rue.
Yesterday i all the evening wrote these expressions.
Maybe you could check these scripts for errors and fix/optimize something?
Thanx.
Sergei


[Adblock]
/*.[Cc]ount(?:er)?.*/
/*.[Pp]romo(?:s)?.*/
/*.[Ss]ervlet(?:s)?.*/
/*.[Ss]ponsor(?:s)?.*/
/.*(?:\d|[-\\_=\?\|\.%~\!\$&/])[Aa][Dd](?:\d|[-\\_=\?\|\.%~\!\$&/].*|[Bb](?:ann?e?r?|ot).*|[Cc](?:lick|lient|ontent|ycle).*|[Ff](?:arm|rame).*|[Gg](?:raph|if).*|[Ii]m(?:g|ages?).*|[Ll](?:ib|ink|og).*|[Ss](?:erv|tream|wap)?.*|[Tt]ype.*|d?[Vv](?:ert|iew)?.*).*/
/.*(?:\d|[-\\_=\?\|\.%~\!\$&/]|[Aa]d|[Dd]ouble|[Ff]ast|[Gg]o|[Ss]mart|[Vv]alue)?[Cc]licks?(?:\d|[-\\_=\?\|\.%~\!\$&/]|ability|agents?|cgi|id|over|serve|thru|through)?.*/
/.*[Bb]an(?:ner)?s?.*/
/.*akamai.*/
/.*dynamic\.dol\.ru.*/
/.*linkexchange.*/
/.*liveadvert.*/
/.*spylog.*/
/.*suntimes.*/
/.*superstats.*/
/.*topcto\.ru.*/
Back to top
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Sun Nov 09, 2003    Post subject: Reply with quote

Sergei:
What inspired such long expressions?
.
Right away, the first four have the initial wildcard reversed: *. instead of .*
.
As for the two longer ones, without a reference page to test, I can't verify their accuracy. But, I can advise separation of individual OR-strings by parenthetical enclosure.
.
Ex: /(?:.*filter-I.*)|(?:.*filter-II.*).. etc /
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group