Old Proxomitron Forums

Proxomitron Filters - Discussions welcome => Other => Topic started by: Jorn Barger on June 17, 2002, 03:46:44 PM

Title: Smart stylesheets (DrawBack project annc)
Post by: Jorn Barger on June 17, 2002, 03:46:44 PM
I just learned about Proxomitron while researching a
new idea for implementing reader-defined stylesheets:

 http://www.robotwisdom.com/web/drawback.html

More or less, the idea is that you could create
filters for specific webpages (or websites) and
post them on the Web, so that your links to that
site would be displayed 'pre-filtered'.
Title: Smart stylesheets (DrawBack project annc)
Post by: Jor on June 17, 2002, 04:06:41 PM
Really good ideas in your article...

I like the idea of user stylesheets (smart local stylesheets as you call them), the Opera browser has always allowed for this. Since I use the Opera browser with Proxomitron, I use the Proxomitron to insert a simple stylesheet on all pages (this takes care of link styling and styling of Proxomitron filter replacements). (This is also a trick to use two user stylesheets: one that always applies (prox.css), and one that only is used when necessary (userCss.css).)

A filter which would insert a user stylesheet in Prox is this:
Name = "Insert Prox stylesheet"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 256
Match = "<start>"
Replace = "<!--//--><link href="http://bweb..local.ptron/prox.css" "
          "type="text/css" rel="stylesheet" title="Prox CSS" />
"



In addition to the 'Prox stylesheet', I also use a user stylesheet in Opera (which I can toggle with CTRL+G), to show pages with all formatting removed or altered. It can be downloaded from http://members.outpost10f.com/~jor/files/userCss.css

I've found that using this stylesheet, even the most horrid of pages will display.

And no, Proxomitron is not Open Source, nor free (as in beer) (check out it's unique licencing... ShonenWare ), but it is very well documented, and the author is still making improvements.

 
Title: Smart stylesheets (DrawBack project annc)
Post by: Jor on June 17, 2002, 04:09:12 PM
Additionally, the W3C's Amaya browser (http://www.w3.org/Amaya/) already allows for dynamic page editing, and together with Annotea (http://www.w3.org/2001/Annotea/) I think this does everything you describe in your article.