I'm working on a Chrome extension that modifies Google search, and would like to restrict it just to Google search domains (e.g. google.com, google.com.au, google.cn, etc).
I found a question asking for a pattern for this but the match patterns for an extension don't support this and require the last part of a DNS name; so we're stuck with requiring a list of every Google search domain. There are some user-curated lists around the Internet, but I can't find one that's either published by Google, or kept current. Any pointers?
Interestingly when I use a list such as from https://github.com/dyne/domain-list/blob/master/data/google in the manifest, it shows up in the Chrome extension as "Read and change your data on all google.com sites" which makes me wonder if there isn't a special match pattern such as <all_urls> that is for google.com domains.
You can get that list as a plain text file from https://www.google.com/supported_domains. It currently has 193 entries.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With