摘要:
最简单的<a href='#' onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage(window.location.href);">设为首页</a><a href="javascript:window.external.addFavorite(window.location.href,document.title);">加入收藏</a>设为首页,加入收藏js代码(兼容ie火狐chrom 阅读全文