squid page manipulation

Fabian Keil freebsd-listen at fabiankeil.de
Fri Aug 25 13:35:13 UTC 2006

Carlos Silva <security at yourdot-mail.com> wrote:

> Is that possible to manipulate a page that squid proxies?
> For example, in that page, there is an javascript alert(); function and 
> i want to discard that so the browser doesn't see that.
> Basically, I want that squid change the HTML source codes from the pages 
> that i download, with matching criterias.

I don't know about squid, but Privoxy can be used to rewrite
documents with regular expressions. You can chain it together
with squid if you have to.  

BTW, freebsd-questions or a squid mailing list would be
better choices to ask this question.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060825/481161f2/signature.pgp

More information about the freebsd-current mailing list