From owner-freebsd-current@FreeBSD.ORG Fri Aug 25 13:35:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 680DA16A4DA for ; Fri, 25 Aug 2006 13:35:13 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id C738B43D81 for ; Fri, 25 Aug 2006 13:34:58 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 2532 invoked from network); 25 Aug 2006 13:34:55 -0000 Received: from unknown (HELO localhost) (775067@[217.50.133.150]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 25 Aug 2006 13:34:55 -0000 Date: Fri, 25 Aug 2006 15:34:33 +0200 From: Fabian Keil To: Carlos Silva Message-ID: <20060825153433.3a53a11f@localhost> In-Reply-To: <44EDFAD7.6080503@yourdot-mail.com> References: <44EDFAD7.6080503@yourdot-mail.com> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd6.1) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_XBvFmFySP+qPa1f=PBNtJsX"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-current@freebsd.org Subject: Re: squid page manipulation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2006 13:35:13 -0000 --Sig_XBvFmFySP+qPa1f=PBNtJsX Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Carlos Silva wrote: > Is that possible to manipulate a page that squid proxies? > For example, in that page, there is an javascript alert(); function and=20 > 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= =20 > 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. =20 BTW, freebsd-questions or a squid mailing list would be better choices to ask this question. Fabian --=20 http://www.fabiankeil.de/ --Sig_XBvFmFySP+qPa1f=PBNtJsX Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE7vx7BYqIVf93VJ0RAof9AKCEwjKfU34b8P8lkFvpZyB1ps5ThgCeNmC+ jWz2a3iFIrZxs4yeCrqAFxY= =+Y4d -----END PGP SIGNATURE----- --Sig_XBvFmFySP+qPa1f=PBNtJsX--