MozillaZine

View --> Use Style

Discussion of features in Mozilla Firefox
Stefan

User avatar
 
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post Posted November 6th, 2002, 6:05 pm

djst wrote:Isn't that up to the site? I've managed to create two separate stylesheets on Phoenix Help, and it remembers the selected style using javascript and a cookie. I got the code here: <a href="http://www.alistapart.com/stories/alternate/">http://www.alistapart.com/stories/alternate/</a>


Yes, you can do it using JS & cookies, and even serverside programing... but the point is you shouldn't have to :)

clav
 
Posts: 1974
Joined: November 5th, 2002, 3:25 am
Location: Lancaster, UK

Post Posted November 6th, 2002, 6:09 pm

djst wrote:
Stefan wrote:In any case, to make style switching really usefull the browser should remember which style you have chosen for a certain site. Before that happens it's really only usefull for momentarilly turning off styles to check how your page looks at in non CSS browsers.


Isn't that up to the site? I've managed to create two separate stylesheets on Phoenix Help, and it remembers the selected style using javascript and a cookie. I got the code here: <a href="http://www.alistapart.com/stories/alternate/">http://www.alistapart.com/stories/alternate/</a>


Yes but if alternate stylesheets ever become widespread we will have massive duplication of this same stylesheet switching js file, and users will need to accept cookies which they may otherwise want to reject. Incorporating stylesheet persistence into the browser would likely be a more elegant solution

Stefan

User avatar
 
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post Posted November 7th, 2002, 5:49 am

BTW clav, I can't get your .xpi to work. :/

clav
 
Posts: 1974
Joined: November 5th, 2002, 3:25 am
Location: Lancaster, UK

Post Posted November 7th, 2002, 7:16 am

Stefan wrote:BTW clav, I can't get your .xpi to work. :/

Do you mean it actually doesn't work, or that the server is sending the wrong mimetype still, so it gets displayed in the browser window rather than offering you a chance to install?

If it's the latter of the two then just install it from http://texturizer.net/phoenix/

Stefan

User avatar
 
Posts: 2051
Joined: November 5th, 2002, 2:46 am

Post Posted November 7th, 2002, 9:14 am

clav wrote:
Stefan wrote:BTW clav, I can't get your .xpi to work. :/

Do you mean it actually doesn't work, or that the server is sending the wrong mimetype still, so it gets displayed in the browser window rather than offering you a chance to install?

If it's the latter of the two then just install it from http://texturizer.net/phoenix/


I've tried both your site and Phoenix help... On PH Help the installs starts then it sais "Not a valid install package" and stops :(.

Anyway, I can make do with View > Use style for now, just though you wanted to know.

Neva
 
Posts: 42
Joined: November 8th, 2002, 9:38 am

Post Posted November 8th, 2002, 9:52 am

In my mind, the benefit of stylesheet switching in the browser becomes clear when one visits a site designed by someone who has valuable information... and no design sense whatsoever.

If you don't know someone, you can't get them to fix things, but you may still need that information. That's how life works, sometimes.

So, you've got this site designed in neon orange with neon pink text or something suitably insane. You point the thing towards your simplistic custom stylesheet... and voila, it's readable! And if it were to remember it, then every time you went back, your eyes wouldn't have to be assaulted.

That sounds pretty wonderful, to me.

Return to Firefox Features


Who is online

Users browsing this forum: No registered users and 1 guest