获取网站图标
获取网站图标废话不多说,贴代码了。代码语言:javascript复制let links = document.querySelectorAll("link[rel*='icon']");
Array.prototype.filter.call(links, function(link) {
let url = link.getAttribute('href');
if (url.substring(0, 2) == '//') {
console.log(`%c图标地址:%cht...