 |
The Adblock Project Pull up a seat ...stay a while.
|
View previous topic :: View next topic |
Author |
Message |
Bob Guest
|
|
Back to top |
|
 |
kstahl Support
Joined: 02 Jan 2004 Posts: 1202 Location: Stockholm, Sweden
|
Posted: Thu Apr 21, 2005 Post subject: |
|
|
A simple filter like this will clean up much of that site:
_________________ Adblock 0.5.3.042
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1. Gecko/20051111 Firefox/1.5 |
|
Back to top |
|
 |
Bob Guest
|
Posted: Fri Apr 22, 2005 Post subject: |
|
|
I have */ad/* */ads/* *.ad.* */ad.* etc.
I'm still getting a lot of ads from them.
 |
|
Back to top |
|
 |
SnarlCat
Joined: 26 Oct 2004 Posts: 55
|
Posted: Sat Apr 23, 2005 Post subject: |
|
|
Aside from the various incarnations of the substring 'ad', I also block variations of 'banner', doublclick (obviously), and atdmt.com... and see few ads.. I have to get the CSS-side of things working yet to get rid of the others, but the downloaded ones (SWF, images, etc) are pretty well cleared out..
I've got some rather active filters that work very well for me -- take another stab at it and then let me know if you'd like a peek at 'em (I'm not unwilling to share, I just want to try to push you (and others) to write your own filters and learn how this whole thing works instead of letting the cat out of the bag quickly... Besides, my filters work for me and may not for you, so it's best that you write your own filterset...)
Hope this helps...
SnarlCat _________________ --
"There are 11 types of people -- those that understand binary, those that don't, and those that think they do." |
|
Back to top |
|
 |
sngbrdb Guest
|
Posted: Sat Apr 23, 2005 Post subject: text ads and php/asp |
|
|
What you're seeing is text ads in a table. Sometimes the ad code is generated by javascript embedded in the page, and sometimes it is created server-side... server-sides happen when the web page is .php or .asp (or other server-side page generaters).
Currently, there isn't any way to block these. Adblock would need to provide an element-blocking mechanism to block the table, and a way to filter the page or element by id or other mechanism. Often, the tables aren't identified, so you'd almost have to do an element-level block by putting in a filter and moving up to the containing table, containing row, etc.
Doable, but tricky. This is something I've wanted to look into doing myself for a while. |
|
Back to top |
|
 |
Bob Guest
|
Posted: Wed Apr 27, 2005 Post subject: |
|
|
SnarlCat wrote: | Aside from the various incarnations of the substring 'ad', I also block variations of 'banner', doublclick (obviously), and atdmt.com... and see few ads.. I have to get the CSS-side of things working yet to get rid of the others, but the downloaded ones (SWF, images, etc) are pretty well cleared out..
I've got some rather active filters that work very well for me -- take another stab at it and then let me know if you'd like a peek at 'em (I'm not unwilling to share, I just want to try to push you (and others) to write your own filters and learn how this whole thing works instead of letting the cat out of the bag quickly... Besides, my filters work for me and may not for you, so it's best that you write your own filterset...)
Hope this helps...
SnarlCat | I had to removed *banner* because a lot of sites call thier top logo image or sometimes other images that aren't ads banner.jpg. |
|
Back to top |
|
 |
AmirG
Joined: 26 Mar 2005 Posts: 119
|
Posted: Wed Apr 27, 2005 Post subject: |
|
|
Bob wrote: | I had to removed *banner* because a lot of sites call thier top logo image or sometimes other images that aren't ads banner.jpg. |
Since most non-ad banners use the JPEG format and most ad banners don't, you can use the following RegExp:
Code: | /[\W_]banner(?!.*\.jpe?g)/ |
is there a better way to do this?
Edit: I fixed a minor error, oops. |
|
Back to top |
|
 |
|
|
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
|