I want to make it so my rules apply by default to all the sites/pages except the ones I list.
Sort of like an opposite of @document domain(mozilla.org)
https://developer.mozilla.org/en-US/docs/CSS/@document
edit:follow-up regex
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There isn’t an easy way to do this currently, as noted in this CSS Conditional Rules draft with a link to a Mozilla bug report:
Hopefully, they’ll propose and implement such a feature soon.
In the meantime, you may be able to achieve something with
regexp()which accepts a JavaScript regex with certain flags — details are included in the spec — but I can’t make any guarantees.