Feature request for Mozilla 3

From MozillaWiki
Jump to: navigation, search

Feature request for Mozilla 3

I would like Mozilla 3 to support user-controlled alternative style sheets.

Let us assume that there is some site that offer alternative style sheets for the WWW pages it serves to the public. Let us further assume the styles to be named 'default', 'alt1' and 'alt2'. It might happen that when a user visits the site, he/she/it (further on referred to as 'she') finds that the default style does not fit her needs, but that the style 'alt1' does.

In her Firefox (1.5.0.7) she picks the alternate style from 'View -> Page Style -> alt1' and all is well. Then, she follows a link to another WWW page on the site, and she once again gets the 'default style'.

This is very irritating. When she has picked an alternative style for the top level, she of course wants that to be in effect until she changes that - for example, for some sub-tree of the site, she wants alternative style 'alt2'. As it is today, she can't get that. Even worse, if she returns to the first page, she will get (you guessed it) the default style.

Below the request is written in coorporate project:

  • Mozilla 3 shall support user controlled WWW page styles.
  • The control shall be based on existing styles for a WWW page.
  • It shall be possible to associate a WWW page address with a specific style.
  • The association shall be done using regular expression.
  • The regular expression shall be the extended perl-like regexps.
  • In the case of multiple matches, the most specific (longest) match shall be used.
  • A dialogue to set this up for a page shall be available from a page menu.
  • The page menu shall be available from a sight-click using a three-button mouse.