Re: squid page manipulation



hi,

that's not what i am looking for.
i want a script with squid that changes the default HTML on a page.
someone has a solution?

Best Regards,

Carlos Silva, CSilva
Web: http://www.csilva.org/



Scott Ullrich escreveu:
On 8/24/06, Carlos Silva <security@xxxxxxxxxxxxxxxx> wrote:
Hi,

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.

Yes, this should be possible. While this is not exactly what your
looking for it does modify the images mid-stream so it should be
possible to do the same for the HTML mid-flight. Take a look at
http://www.ex-parrot.com/~pete/upside-down-ternet.html which is an
interesting idea.

Scott
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: squid page manipulation
    ... On 8/24/06, Carlos Silva wrote: ... i want a script with squid that changes the default HTML on a page. ...
    (freebsd-current)
  • Perl class to remove HTML tags from a page using a list of CSS selectors?
    ... I have Squid on my computer and I use it as an ad ... Every HTML page that I ... a Perl script that can alter content from the page and send it back ...
    (comp.lang.perl.misc)
  • Cant make this page work
    ... I can't make this script work properly. ... The script at the bottom of the html page ... Does someone have a perl ... sub output_trace_headers { ...
    (comp.lang.javascript)
  • Re: Use with Action "Send Reply" Dont Go
    ... Set Up an HTML Signature ... Go to Tools/Signatures in Entourage, ... "Auto-Reply HTML" or something similar. ... script in the Entourage Script Menu Items folder. ...
    (microsoft.public.mac.office.entourage)
  • Validating to a higher 4.01 standard (long)
    ... The next step is to copy these HTML documents to a new directory (so you do ... onmousedown %Script; #IMPLIED ... datafld CDATA #IMPLIED ... href %URI; #IMPLIED ...
    (alt.html)