Motivated by recent changes to the mathoverflow cookie popup spam, I recently learned something about Ublock origin filters. In particular, a URL X matches *X. Now my custom filters file contains the lines
So the first line above matches every unimelb.edu.au website, independent of the prefix before unimelb. While the last three match every website, so I can use this set of three filters not just on mathoverflow, but on every site in the stackexchange network.