之前写的代码,最近绑了域名 favicon.im
可以直接用 img src 来调用,我自己的使用场景是导航站的图标显示、统计系统的图标显示。
使用方式:将域名放在 favicon.im 后面,即 favicon.im/DOMAIN
默认icon:
https://favicon.im/hey.com
尝试获取大尺寸:
https://favicon.im/hey.com?larger=true