[REBOL] Re: Can REBOL change HTML of a web page?
From: oliveirard::yahoo::com::br at: 2-Apr-2005 14:03
Well... First I would like to thank all the attention you guys are
giving to me. Sice my doubt maybe quite isn't a REBOL's issue, you're
being so kind. Other foruns wouldn't even give me an answer. Then, I
will try to answer Anton, inetw3 and Ingo in this e-mail, ok?
Anton, first I was looking for a proxy to do this. I choosed squid
(http://www.squid-cache.org/) because it's free and can act as a
transparent proxy, which prevents me from having to update each browser
configuration to send the requests through it. I was wondering I could
program something like a module for squid that could make the
adjustments to the pages. But unfortunately, it can't be done. As in
http://www.squidguard.org/intro/, "neither squidGuard nor Squid can be
used to filter/censor/edit text inside documents or embeded scripting
languages". Although I could try to build a proxy that does that, as you
suggest, it will be extremely error prone. I'd like to reuse things. As
I was trying with squid. Anyway, my intentions for this program is wide
enough to congestion the proxy server. There I thought it should be done
on the client-side.
inetw3, as you said, "No matter how you intercept the html data,
something must be written in the html to start this process; cgi, asp,
php, perl, javascript, etc.". But that's the problem: I don't want to
change the original HTML pages on the web servers, like inserting
<object>
tags. I hope there's a way.
Ingo, my last hope of doing this on the client-side was building an
extension for Firefox. I know there will be a lost in compatibility
(since MANY still use IE), but I'm almost accepting that as it's free.
And your suggestion about greasemonkey was great! I don't know why yet,
but the "options" for the extension isn't working. Everything there is
disabled. Anyway, I will take a good look at it's code.
Thank you all guys! If any other suggestion comes, it's VERY WELCOME.
Best wishes,
Rodrigo
Anton Rolls wrote: