javascript实现浏览器收藏网页到收藏夹

javascript实现浏览器收藏网页到收藏夹,具体代码如下: var url = window.location.href; var title = window.document.title; var ua = navigator.userAgent.toLowerCase(); if(ua.indexOf(msie 8) -1){ window.external.addToFavoritesBar(url,title);//IE8 }e...

日期:2017-02-12 00:25:19

点击:171