Closed Bug 368712 Opened 15 years ago Closed 4 years ago
Support Greasemonkey-style .tld in -moz-document rules
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.
I agree. -moz-document rules are a bit restrictive currently. See http://wiki.greasespot.net/Magic_TLD
I think this is too much of a hack to be included in Firefox.
Bug 398962 would accomplish the same thing while being less hacky.
@-moz-document is no longer supported.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.