I tried, by it doesn’t work - probably because it’s called in the background script, not in the user-click event handler.
Also it’s used by all users, it’s not really optional .
And if I change the URL to my server where I just return permanent redirect 301? Could that work?
Well… I found it two years ago “well documented” on StackOverflow (and I still have on my Todo list written to find a better way to get favicons).
Anyway changing the URL works well! Thank you!
I hope the access to Firefox cached favicons will be done before this new URL get “classified as a slow tracking resource” as well.
BTW generally it is bad idea to use that Google API (for privacy reasons), or well… at least you have to make your users aware of that.
Even currently, you already have a way to get the favicon for a site. If it is opened in a tab, you can just query the tab and get faviconUrl and include it.
And maybe we’ll get a better API anyway for getting the cached icon, as discussed before.