Use Google Favicon but Don't get default globe. when no Favicon exists

删除回忆录丶 提交于 2019-12-11 08:08:09

问题


How can we check favicon provided by Google API is the default globe?

https://www.google.com/s2/u/0/favicons?domain=facebook.com returns the favicon of the facebook, where as https://www.google.com/s2/u/0/favicons?domain=anyRandomFakeDomain.io returns the globe as the favicon.

How can I (with JS in the browser ONLY) check if the favicon is default globe or not?

来源:https://stackoverflow.com/questions/54970570/use-google-favicon-but-dont-get-default-globe-when-no-favicon-exists

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!