Comments on: How to block ads effectively with AdBlock regular expressions http://www.xaprb.com/blog/2005/10/26/adblock-patterns/ Stay curious! Thu, 02 May 2013 12:36:53 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Lee Probert http://www.xaprb.com/blog/2005/10/26/adblock-patterns/#comment-16979 Lee Probert Wed, 16 Sep 2009 14:57:05 +0000 http://www.xaprb.com/blog/?p=30#comment-16979 Could anyone on this thread give me some insight into how AdBlock uses the RegExp pattern to target the content on the page.

I need to write a bit of Javascript that detects ads and then highlights them on the page. Is it just a matter of finding the elements on the page that contain the String patterns?

]]>
By: Xaprb http://www.xaprb.com/blog/2005/10/26/adblock-patterns/#comment-2322 Xaprb Mon, 30 Oct 2006 14:47:36 +0000 http://www.xaprb.com/blog/?p=30#comment-2322 Thanks, I’ll have to take a look at that sometime. Right now Adblock is still working great for me, but I might not know what I’m missing!

]]>
By: Tim McCormack http://www.xaprb.com/blog/2005/10/26/adblock-patterns/#comment-2268 Tim McCormack Tue, 24 Oct 2006 04:57:58 +0000 http://www.xaprb.com/blog/?p=30#comment-2268 I prefer Adblock Plus, which is a better-developed fork of Adblock that allows blocking for more types of elements. I offer my own Adblock Plus pattern list on my blog.

]]>
By: motorpulse blog | motorpulse image thumbnails with Rmagick and Ruby on Rails http://www.xaprb.com/blog/2005/10/26/adblock-patterns/#comment-1610 motorpulse blog | motorpulse image thumbnails with Rmagick and Ruby on Rails Fri, 25 Aug 2006 10:31:26 +0000 http://www.xaprb.com/blog/?p=30#comment-1610 [...] There’s some additional code that to ensure that every image is only grabbed once (to reduce load on both the motorpulse server and the remote server) and to eliminate potential ad images (using this AdBlock regular expression) and plenty of begin/rescue blocks to prevent DNS lookup issues or other weird curl-related errors. However, once the array of images is selected, it’s passed on to the user for selection. Note that the image selection is using image thumbnails resized by the user’s browser (with typically poor sampling) instead of motorpulse.com-served thumbnails. I decided it just wasn’t necessary to impact the server and make the user wait while motorpulse downloads all of the images, resizes them, offers them up for selection, and then deletes all but the selected one. [...]

]]>