加入收藏、设为首页常用脚本

1. 加入收藏:

< a href = " javascript:window.external.AddFavorite(location.href, document.title); "   > 加入收藏 </ a >

2. 设为首页:

< a onclick = " this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.jinry.com/'); "  href = " # " > 设为首页 </ a >  

   

< input TYPE = " button "  VALUE = "  设为首页  "  onclick = " this.style.behavior=’url(#default#homepage)’;this.setHomePage(’http://www.jinry.com/'); "  href = " # " >  

你可能感兴趣的:(脚本)