You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
favicon not working Firefox & derivative browsers #7638
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionuiIssues related to the graphical user interface
Firefox, Pale Moon, and similar browsers do not display the initial favicon (or at all) since the favicon link is dynamically created by evaluating javascript expressions.
The bug is due to some FireFox forks not re-loading the scripted favicon link after the page first loading. Chrome and forks do, but this is non-standard behavior.
If it is desirable to have the favicon change based on status, the favicon link can be updated as at present. However, changing the favicon after page load does not appear to be standard behavior, so many browsers may not display the change.
Reacted by bt90, Bruno Bigras, Adrian Kubala, madispp and Felix Dumbeck
The main element should have a valid temporary/generic icon listed.
That should be cross-browser compatible, but even so, there's no guarantee that anything will be updated dynamically because, as said, the GUI isn't part of page content.
It looks like for the favicon to load without authentication will require a default page -- at present the default page (which loads before authentication) is just a piece of text "Not Authorized". Once authentication takes place, the default.html page is loaded, which has the scripted favicon at issue above.
I"m not finding any html source to modify the "Not Authorized", so I suspect that it is direct output rather than served.
It seems that serving an initial unauthenticated html page would be the appropriate method for serving the initial favicon.
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionuiIssues related to the graphical user interface
Activity
ajshea commentedon May 11, 2021
Suggested code fix from Pale Moon developer:
The main element should have a valid temporary/generic icon listed.
That should be cross-browser compatible, but even so, there's no guarantee that anything will be updated dynamically because, as said, the GUI isn't part of page content.
bt90 commentedon May 12, 2021
Would be nice if the icon also loads without authentication. This is mandatory for it to show up in password managers like Bitwarden.
ajshea commentedon May 12, 2021
It looks like for the favicon to load without authentication will require a default page -- at present the default page (which loads before authentication) is just a piece of text "Not Authorized". Once authentication takes place, the default.html page is loaded, which has the scripted favicon at issue above.
I"m not finding any html source to modify the "Not Authorized", so I suspect that it is direct output rather than served.
It seems that serving an initial unauthenticated html page would be the appropriate method for serving the initial favicon.
gui: Have static link to favicon, for bookmarks etc (fixes #7638) (#8850