News for hackers. Stuff that matters.
Re:Show HN: Favicon Kit – get and embed Favicons from any we... by hotpockets on Wednesday May 30, 2018 @05:02PM (#17191757)
Re:Show HN: Favicon Kit – get and embed Favicons from any we... by AndreasPizsa on Thursday May 31, 2018 @01:01AM (#17194071)
Ouch, that's a sting in my pride :) Fixing!
Re:Show HN: Favicon Kit – get and embed Favicons from any we... by ldjb on Thursday May 31, 2018 @06:26AM (#17195261)
I think part of the issue is that, when you return a fallback icon (the B icon in this case), you serve it with an HTTP 404 status.

In Firefox (and possibly other browsers), the browser will not attempt to render images returned with a 404 status. Changing it to return a 200 status should work.

Re:Show HN: Favicon Kit – get and embed Favicons from any we... by AndreasPizsa on Thursday May 31, 2018 @08:38AM (#17195817)
Oh, I didn't know this about Firefox - thanks a lot, ldjb!

My intention was to be a good HTTP citizen and return the correct status code with a decent representation.

Returning 200 for "not actually found what you wanted, but here's something else you can use" seems odd, but maybe I'm just being too pedantic here and the pragmatic way would be better.

Thanks for pointing out the Firefox issue again, it would have probably never occured to me that FF behaves that way. That hint saved me a lot of time "fixing" the parser.

Re:Show HN: Favicon Kit – get and embed Favicons from any we... by AndreasPizsa on Thursday May 31, 2018 @02:18PM (#17198690)
This is fixed now. Thanks again, ldjb!
Re:Show HN: Favicon Kit – get and embed Favicons from any we... by hotpockets on Thursday May 31, 2018 @10:05PM (#17202049)
Can I suggest at least attempting the default favicon location, like bestbuy.com/favicon.ico?
Re:Show HN: Favicon Kit – get and embed Favicons from any we... by AndreasPizsa on Friday June 01, 2018 @12:36PM (#17207094)
It does do that, actually.

I’ll check this on the weekend; very curious what‘s causing this. Will fix & let you know.

Thanks for your feedback and suggestion!