Manifest matche any tld for domain

I was wondering if there is any way to match a specific domain what has multiple tld’s from the manifest

I’m trying to match all of googles domains but when I try to use a wildcard for the tld it errors out.
Currently I am just listening to all domains and performing some regex in my script, but that seems a little overkill.

This is what I am trying to do

"matches": ["*://*.google.*/*]

Nope. You cant. Match Patterns don’t allow a wildcard in that position. You’ve got to list them all.

I geuess the reason for that is that on entity can’t possibly control all of those TDLs, not even Google (There are hundereds, if not thousands of new TLDs.)

I filled a bug for it

https://bugzilla.mozilla.org/show_bug.cgi?id=1362849

However, you can use globs

Additionally, it is not unheard of for people to register domains in order to use misleading subdomains. www.google.com-word.tld type stuff. Do you want to trigger on all the phishing sites?

Here is a list with all current google domains:

Here you can check if there are new domains:

1 Like