Further webapp icon detection enhancements
@da
Submitted by Daniel Aleksandersen Link to original bug (#774275)
Description
Icon selection improved a lot with bug #767257. There are still one area that needs improvement:
get_icon_from_touch_icon() should make a request to http://www.example.com/apple-touch-icon.png, check the headers for a 200 and PNG type image, and then return that path.
There are what I’d quantify as “a shit ton” of websites with high resolution Apple touch icons in this predefined location that don’t have this image in their document metadata. This is default behavior on iOS these days, and work much the same way as /favicon.ico has done for years and years already. https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html)
Version: git master