mjl- / mox

modern full-featured open source secure mail server for low-maintenance self-hosted email
https://www.xmox.nl
MIT License
3.36k stars 89 forks source link

Favicon #186

Open morki opened 1 week ago

morki commented 1 week ago

Webmail contains this html snippet in head:

<link rel="icon" href="noneedlessfaviconrequestsplease:" />

I think this was meant to disable automatic favicon.ico request, but it is producing errors in chrome console:

image

What is the reasoning behing this solution? Is there a problem with using normal favicon? I would be glad if normal favicon is used even to easily locate webmail in pinned tabs.

mjl- commented 1 week ago

Mox doesn't have a logo or favicon. I don't know why, but browsers seem very aggressive in requesting favicons that don't exist. This was the only way I could easily find to prevent browsers from continuously making these useless requests all the time. Perhaps there is a better way? Another solution is making a proper favicon, but that's so low on my priority list I can't even see it. (:

morki commented 1 week ago

I think the current state is not good, because it also disallows users to use their favicon if they want to, for example with reverse proxy.

I created simple favicon with this tool https://favicon.io/favicon-generator/ and attaching here.

image

You can of course create another, I don't have preferences (it can be then overriden in reverse proxy), just please use some favicon :)

favicon_io.zip

morki commented 1 week ago

Now I see the same page has also emoji favicons prepared, like:

https://favicon.io/emoji-favicons/envelope https://favicon.io/emoji-favicons/incoming-envelope/ https://favicon.io/emoji-favicons/closed-mailbox-with-lowered-flag/ https://favicon.io/emoji-favicons/closed-mailbox-with-raised-flag/ https://favicon.io/emoji-favicons/envelope-with-arrow/ https://favicon.io/emoji-favicons/e-mail/

This can be event better to not "hurry" for mox logo in general.