Closed
Bug 368712
Opened 19 years ago
Closed 8 years ago
Support Greasemonkey-style .tld in -moz-document rules
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jason.barnabe, Unassigned)
Details
Greasemonkey provides the ability to put site.tld as an include to a user script. This lets the script match any top-level domain without listing them all. For example, google.tld matches google.com, google.ca, google.co.uk, etc.
I'd like to see the feature available for -moz-document rules. It would increase the usefulness of -moz-document rules (and user styles in general) for international users - many Google user styles posted on the web currently only apply to google.com and require manual editing for additional domains. Google user styles are among the most popular kind of user styles - at the time of writing 14 out of the top 25 user styles posted at userstyles.org are for Google. (http://userstyles.org/style/popular_list)
The new TLD service could be used to know which domains to apply the style to.
Assignee: dbaron → nobody
QA Contact: ian → style-system
Comment 1•18 years ago
|
||
I agree. -moz-document rules are a bit restrictive currently. See http://wiki.greasespot.net/Magic_TLD
Comment 2•18 years ago
|
||
I think this is too much of a hack to be included in Firefox.
| Reporter | ||
Comment 3•18 years ago
|
||
Bug 398962 would accomplish the same thing while being less hacky.
Comment 4•8 years ago
|
||
@-moz-document is no longer supported.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•