Re: Search and Replace HTML code using SQUID ?

From: Richard Stagg <squid@dont-contact.us>
Date: Fri, 19 Mar 1999 09:00:09 +0000 (GMT)

I don't think you can perform content analysis and modification, but
banners are easier - there's bound to be stuff about these in the archived
messages.

Basically there will be a separate object request for the banner ad:
eg http://www.more-junk.com/banners/makemoneyfast.jpg
(and then usually a pile of CGI stuff...)

All you have to do is use a redirector to detect common banner URLs and
redirect them to a locally served file along the lines of
little_white_dot.gif or something tiny.

As for rogue Java and ActiveX: I myself would be interested in any
recommendations in this field.

Rgds

Richard Stagg

On Fri, 19 Mar 1999, d baud wrote:

> Is is possible to have squid look for a particular pattern in the HTML
> code and replace it with some other HTML code ?
> The reason why I need to do this would be for applications like:
> - Using squid as a proxy to remove banners from some web sites.
> - Using squid as a proxy to remove rogue Java/activex applets.
> - ...
>
> D Baud
>

---------------------------------
Richard Stagg
Internet Architect
squid@bae.co.uk
Received on Fri Mar 19 1999 - 02:27:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:20 MST