When writing user scripts, one needs to insert
@match directives at the start of the script so that the script knows on which sites it should execute.
Naturally, people sometimes write scripts that are meant to work on every Q&A site on the Stack Exchange network. For that, they need to include directives that match every single site (and exclude special domains that aren’t Q&A sites). When I ran into this problem, I found myself performing a whack-a-mole of tweaking rules every now and then as I encounter different domains that aren’t matched as they should be.
I’m mostly interested in the Q&A sites, i.e. those based on normal voted question-and-answer mechanics, as those are the hardest to provide rules for; the chat, for example, is only a single domain,
chat.stackexchange.com, while whether the meta sites or Area 51 are included should be easy to tweak afterwards.
Is there a definitive, future-proof list of matching rules somewhere that won’t have to be tweaked too often?