Disable stylish on certain sites in firefox

Solution 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)[/:]).*")