[REBOL] No-white-web-proxy.r
From: arolls:idatam:au at: 21-Dec-2001 21:55
Hello everyone,
I am very happy today. I have just made a little web proxy,
which I found quite easy to make since I based it on
webserver.r in the rebol script library.
http://anton.idatam.com.au/rebol/web/no-white-web-proxy.r
It essentially just blows away white backgrounds from html pages.
At its most brutal, it searches for the oft-occurring string "ffffff" and
replaces it with a specified colour, which I have set to be much easier
on the eye (well, my eye anyway).
Finally I feel comfortable surfing the web ! :-P (And to hell with all
those web designers who hardcode their colours.)
It also does a bit of ad filtering.
I am sure that others have done stuff like this already,
and I feel that I should have gotten into this a -long-
time ago, as I have been complaining pathetically about it
for years.
I hope it's useful for others too :)
Features that I would like to extend:
- send large files a chunk at a time
(is it the same as doing a large file copy?)
- parse pdf files ? Always white backgrounds! :-U
- gui interface for setting up easily, getting help etc.
I have some questions on the gui side, though:
If I have a window open, and I am waiting for
user events as well as web requests, will a
possibly lengthy user action (when pushing
on a button for example) deny any web requests?
I have the feeling that it will cache and block
until the action is finished, won't it?
(Thinking about actions taking around 1 sec.)
And rebol 3.0 will be able to do both
asynchronously?
Anton.