vasa1
April 30th, 2011, 02:20 AM
Folks can post news about features that are really likely to feature in later versions of Firefox and mention whether they've actually landed (even though they may be pulled later).
To start with ...
Here's one for Fx 6 that I came across referenced in userstyles.org (by Tss (http://forum.userstyles.org/discussion/26552/fx-start-page-help-please)):
Bug 398962 (https://bugzilla.mozilla.org/show_bug.cgi?id=398962) - Add regular expression function for -moz-document rules
-{ Quote: "
You can put this into your userContent.css file:
01 @-moz-document url(http://www.w3.org/),
02 url-prefix(http://www.w3.org/Style/),
03 domain(mozilla.org),
04 regexp(https:.*)
05 {
06 /* CSS rules here apply to:
07 + The page "http://www.w3.org/".
08 + Any page whose URL begins with "http://www.w3.org/Style/"
09 + Any page whose URL's host is "mozilla.org" or ends with
10 ".mozilla.org"
11 + Any page whose URL starts with "https:" */
12
13 /* make the above-mentioned pages really ugly */
14 body { color: purple; background: yellow; }
15 }
" }-
Line 4 is an example of regex use and so we will soon be able to write rules of much broader scope.
To start with ...
Here's one for Fx 6 that I came across referenced in userstyles.org (by Tss (http://forum.userstyles.org/discussion/26552/fx-start-page-help-please)):
Bug 398962 (https://bugzilla.mozilla.org/show_bug.cgi?id=398962) - Add regular expression function for -moz-document rules
-{ Quote: "
You can put this into your userContent.css file:
01 @-moz-document url(http://www.w3.org/),
02 url-prefix(http://www.w3.org/Style/),
03 domain(mozilla.org),
04 regexp(https:.*)
05 {
06 /* CSS rules here apply to:
07 + The page "http://www.w3.org/".
08 + Any page whose URL begins with "http://www.w3.org/Style/"
09 + Any page whose URL's host is "mozilla.org" or ends with
10 ".mozilla.org"
11 + Any page whose URL starts with "https:" */
12
13 /* make the above-mentioned pages really ugly */
14 body { color: purple; background: yellow; }
15 }
" }-
Line 4 is an example of regex use and so we will soon be able to write rules of much broader scope.