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 

Adblock not blocking a lot of images, etc.

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





PostPosted: Wed Nov 19, 2003    Post subject: Adblock not blocking a lot of images, etc. Reply with quote

Hi guys,
I got Adblock installed ond - in most cases - working. However, I find that a lot of elements aren't blocked. For example, in this page, about a third of the way down, the inline (iframed image) ad won't block. I've added into my filter list "/adsize=" because "adsize=" appears in the image URL. This doesn't block it.

Additionally, aside from the fact that REs have a lot of power, if you're doing a simple pattern match, such as "/foobar", is it any different (in terms of blocking capabilities) to use "*foobar*" instead?

Anyone know what may be the problem with Adblock not blocking this ad?[/url]
Back to top
Org



Joined: 23 Oct 2003
Posts: 349

PostPosted: Wed Nov 19, 2003    Post subject: Reply with quote

Did you try "*/adsize=*" or "/\/adsize=/"?
Back to top
View user's profile Send private message
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Wed Nov 19, 2003    Post subject: Reply with quote

Guest:
Only since d2 nightly 17 has Adblock allowed unanchored simple-patterns.
.
I'm assuming you have an older build, since this fits the behaviour you describe. Basically, Adblock used to anchor the ends of all simple-patterns, requiring wildcards at their beginning and end: *adserver.com*
.
Now, you can simply filter the relevant portion, without the need for greedy wildcards: adserver.com
.
Update to the latest nightly (here), then try again.
Back to top
View user's profile Send private message
Aaron Spuler
QA Testing


Joined: 23 Oct 2003
Posts: 19

PostPosted: Wed Nov 19, 2003    Post subject: Reply with quote

Since I don't need wildcards anymore, how do I fix my filter list at http://www.mozthemes.tk?

I have some filters like:
*/ad/*
*/adimages/*
*/ads/*
*/adserver/*

to block anything from those folders.

And then I also have some filters like:
/banners/
/clickserve/
/doubleclick/

as regxp to block any line that contains those items.

Now, with the need for no wildcards anymore, my filter */ad/* becomes /ad/, just like a regxp, which means anything with ad in it gets filtered?
Back to top
View user's profile Send private message Visit poster's website
rue
Developer


Joined: 22 Oct 2003
Posts: 752

PostPosted: Thu Nov 20, 2003    Post subject: Reply with quote

Aaron:
First, to clarify: bookending your filters with wildcards is still supported. It just results in higher overhead for matching.
.
Characters which have special significance in RegExp can be accessed as normal by making them "literal" -- with a preceeding backslash.
.
To update your entries, just wrap them as regular-expressions, turning the slashes into literals: */ad/* into /\/ad\//
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