设为主页和收藏网址js代码
关闭网页时弹出设为主页对话框代码: 复制代码 <BODY id=iehomepage onunload="iehomepage.style.behavior='url(#default#homepage)';if(!(iehomepage.isHomePage('http://www.alioooo.com')))iehomepage.setHomePage('http://www.alioooo.com');"> 打开网页弹出设为主页对话框代码: 复制代码 <BODY id=iehomepage onload="iehomepage.style.behavior='url(#default#homepage)';if(!(iehomepage.isHomePage('http://www.alioooo.com')))iehomepage.setHomePage('http://www.alioooo.com');"> 单击链接设为主页 复制代码 <a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.alioooo.comt');">设为主页</a> 鼠标滑过设定为主页 复制代码 <a href=# onMouseOver="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.alioooo.com');">设为主页</a> (2)添加到收藏夹代码: 复制代码 离开网页时弹出 <script language="javascript"> function bookmarkit(){window.external.addFavorite('http://www.alioooo.com','网店代理')}</script> <body onunload="bookmarkit()"> 网页载入时弹出 复制代码 <script language="javascript"> function bookmarkit(){window.external.addFavorite('http://www.alioooo.com','网店代理')} </script> <body onload="bookmarkit()"> 右键弹出 复制代码 <script language=javascript1.2> document.all.onMouseDown=new Function("if (event.button==2||event.button==3)window.external.addFavorite('http://www.alioooo.com','网店代理')") </script> 单击文字弹出 复制代码 <script language="javascript"> function bookmarkit(){window.external.addFavorite('http://www.alioooo.com','网店代理')} if (document.all)document.write('<a href="#" onClick="bookmarkit()">加入收藏夹</a>') </script> 鼠标滑过文字弹出 复制代码 <script language="javascript"> function bookmarkit(){window.external.addFavorite('http://www.alioooo.com','网店代理')} if (document.all)document.write('<a href="#" onMouseOver="bookmarkit()">加入收藏夹</a>')
相关推荐
coolhty 2020-05-20
88274956 2020-11-03
runner 2020-09-01
梦的天空 2020-08-25
移动开发与培训 2020-08-16
ReunionIsland 2020-08-16
lyqdanang 2020-08-16
MyNameIsXiaoLai 2020-07-08
星辰的笔记 2020-07-04
csstpeixun 2020-06-28
letheashura 2020-06-26
liaoxuewu 2020-06-26
sunzhihaofuture 2020-06-21
FEvivi 2020-06-16
坚持着执着 2020-06-16
waterv 2020-06-14
xiaoge00 2020-06-14
firejq 2020-06-14
firstboy0 2020-06-14
e度空间 2020-06-12
zhongweinan 2020-06-10