Paul Battley wrote:
>>I've attempted the same thing and found there is very little base to
>>work from.  You can take a look at WEBrick's httpproxy.rb but I found
>>it hard to determine where I would place my "hooks" to reprocess the
>>content.  I've got a partially functional proxy that I wrote from the
>>ground up, but it has issues displaying certain pages.  If you're
>>interested I can get the code up somewhere that it can be seen.
> 
> 
> Hmm... I actually did this last week, and I found some example code on
> the web pretty quickly (it was in Japanese, admittedly...).  Here's
> the simple AdBlock proxy I ran up whilst playing around (it uses the
> pierceive adblock list).  It returns an empty document for disallowed
> addresses, and removes all img tags, just as an example of processing.
>  It's not meant to be feature-rich or even high-quality code, but it
> does most of what you seem to want.



Thanks; this is super handy.


James