Using the favicon URL does not always work

187 views
Skip to first unread message

Likely Logic

unread,
Feb 11, 2025, 7:25:01 AMFeb 11
to Chromium Extensions
I've recently upgraded to MV3.

I notice that even if I
  • visit a page
  • build the favicon URL as advised in the docs
  • open the URL in a new tab
I see the generic icon.

But if I refresh the original page, then the icon tab, it shows.

Is this a bug or am I missing something?

Oliver Dunk

unread,
Feb 12, 2025, 5:13:31 AMFeb 12
to Likely Logic, Chromium Extensions
Hi,

That sounds like a bug to me. I just had a quick try, but I wasn't immediately able to reproduce this.

If you haven't already, could you file something at https://crbug.com/?
Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/08481207-be88-47e5-864f-9e1dcc49fbf5n%40chromium.org.

Likely Logic

unread,
Feb 18, 2025, 8:01:57 AMFeb 18
to Chromium Extensions, Oliver Dunk, Chromium Extensions, Likely Logic
Hi Oliver,

I'm pretty sure this is happening, but I've noticed it also happens with any changes in the URL, such as a missing slash, removal of www. or query string.

For this API to be actually useful, could it not have some kind of sensible fallback to the same domain, even behind a switch?

i.e. I've been to davestewart.co.uk/blog but then I bookmark davestewart.co.uk/work, and rather than a missing icon, it grabs one from its internal DB based on a best guess (or some other mechanism) ?

Oliver Dunk

unread,
Feb 18, 2025, 8:37:37 AMFeb 18
to Likely Logic, Chromium Extensions
I completely agree! We have an open issue for that actually: https://issues.chromium.org/363806058

Unfortunately it's been open for quite a while and hasn't seen any movement. I'll see if I can bump it.

Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB

Likely Logic

unread,
Feb 18, 2025, 9:01:50 AMFeb 18
to Chromium Extensions, Oliver Dunk, Chromium Extensions, Likely Logic
Wow. It's like I wrote that doc myself. Bravo 👏 !

Hitarth Sheth

unread,
Jul 7, 2025, 6:57:46 AMJul 7
to Chromium Extensions, Likely Logic, Oliver Dunk, Chromium Extensions
Any solutions here, I am having the exact same problem. Even after following the steps correctly and using the example code favicons for most of the sites are not shown. 

Changing url by adding/removing www or changing the protocol sometimes load favicons for some websites. 

Hitarth Sheth

unread,
Jul 7, 2025, 6:57:46 AMJul 7
to Chromium Extensions, Likely Logic, Oliver Dunk, Chromium Extensions
Any solutions here, I am having the exact same problem

On Tuesday, February 18, 2025 at 9:01:50 AM UTC-5 Likely Logic wrote:
Message has been deleted

Dave Stewart

unread,
Sep 19, 2025, 6:02:41 AM (yesterday) Sep 19
to Chromium Extensions, Hitarth Sheth, Likely Logic, Oliver Dunk, Chromium Extensions
About to jump back into extension development after a long while, so checking on the status of this....
Reply all
Reply to author
Forward
0 new messages