js 页面收藏
<script type="text/javascript"> function bookmarksite(title, url){ if (document.all) window.external.AddFavorite(url, title); else if (window.sidebar) window.sidebar.addPanel(title, url, "") } </script> <a href="javascript:bookmarksite('简单的猪的博客', 'http://holyrain1314.blog.163.com')">加入收藏</a>