<script language="javascript" type="text/javascript">
 function addfavorite(obj,url,title) { 
  !url ? url = location.href : null;
  !title ? title = document.title : null;
  try{   
   window.external.addFavorite(url, title); 
   return false;
  }catch(e){   
   try{   
    window.sidebar.addPanel(title, url, ""); 
    return false;  
   }catch(e){   
    alert("加入收藏失败,请使用Ctrl+D进行添加"); 
    if(location.href.toLowerCase().indexOf(obj.href.toLowerCase(),0)>=0){return false;} 
   }   
  }   
 }
</script>
<a href="http://dreamdesign.csrjgzs.com/" onclick="return addfavorite(this,'http://dreamdesign.csrjgzs.com/','阿里西西,最多最全的网页特效集锦!');">收藏阿里西西!</a>

 

设置为首页 

var
strHref=window.location.href;this.style.behavior='url(#default#homepage)'; this.setHomePage('http://www.dotneteye.com.cn');

 

相关文章:

  • 2021-06-07
  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
  • 2021-10-06
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
猜你喜欢
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-11-09
  • 2021-09-06
  • 2021-07-21
相关资源
相似解决方案