Favicon is incorrect on bookmark but not on tab
-
- Posts: 12
- Joined: August 12th, 2015, 7:49 am
Favicon is incorrect on bookmark but not on tab
Hello. This issue happens only with steamdb.info. The favicon on the tab is correct but the one on the bookmark is not. Why are they different? It also happens with a brand new profile or on another PC. I'm on Windows 10. Thank you for the help.
- jscher2000
- Posts: 11763
- Joined: December 19th, 2004, 12:26 am
- Location: Silicon Valley, CA USA
- Contact:
Re: Favicon is incorrect on bookmark but not on tab
I've seen this occasionally and the reasons can vary. In this case, the page has two rel="icon" link tags:
On the tab, Firefox displays the second one: https://steamdb.info/static/logos/vecto ... schema.svg.
For the bookmark, Firefox is using either https://steamdb.info/static/logos/32px.png or the file at the default location of https://steamdb.info/favicon.ico (they look the same, so I can't really tell).
The documentation says that browsers will choose their preferred format when multiple are available: https://developer.mozilla.org/docs/Web/HTML/Link_types.
Code: Select all
<link rel="icon" type="image/png" href="/static/logos/32px.png">
<link rel="icon" type="image/svg+xml" href="/static/logos/vector_prefers_schema.svg">
For the bookmark, Firefox is using either https://steamdb.info/static/logos/32px.png or the file at the default location of https://steamdb.info/favicon.ico (they look the same, so I can't really tell).
The documentation says that browsers will choose their preferred format when multiple are available: https://developer.mozilla.org/docs/Web/HTML/Link_types.