摘要:
document.head || (document.head = document.getElementsByTagName('head')[0]); function changeFavicon(src) { var link = document.createElement('link'), oldLink = document.getElementById('dynamic-favicon'); link.id = 'dynamic-favicon'; link.rel = 'shortcut icon'; 阅读全文