I use dark theme in the Firefox, however sometimes I visit several sites that don't need such theme. I want to see them in original style.

I found the way to enable specific features per site with :

@-moz-document domain("google.com")

Is there a way to disable stylish at all only for certain domains without annoying mouse clicking to disable the whole stylish for all aites and enable it again after?

1 Answer 1


Not as easy as one would like. The relevant bug hasn't been fixed as of now. You can achieve the same effect using the regexp() condition (available since Firefox 6) but the regular expressions required are rather ugly. E.g. to exclude google.com domain you would write:

@-moz-document regexp("https?://(?!([^.]+\\.)?google\\.com[/:]).*")

If you need to specify multiple domains you have to do it like this:

@-moz-document regexp("https?://(?!([^.]+\\.)?(google\\.com|example\\.com|foo\\.bar)[/:]).*")

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .