有没有退出后提示设为主页代码

来源:百度知道 编辑:UC知道 时间:2024/06/14 21:13:40
有没有退出后自动提示设为主页的代码,在网上找了半天发现都不能用
希望哪位指教下

加入收藏夹,设为首页代码
把以下代码<Body>相应位置
<a target=_top href=javascript:window.external.AddFavorite('http://www.6882.com';,'中国免费资源情报站')>加入收藏</a>
<a href=# onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('www.6882.com);">设为首页</a>

鼠标指向时提示设为首页

将下列代码插入<body>区中:

<A href=http://www.6882.com onmouseover="this.style.behavior='url(#default#homepage)';this.setHomePage(http://www.6882.com';);" target="_blank">设为首页</A>

打开页面时自动弹出窗口询问是否设为首页
将以下代码放在<head></head>之间:

<script language=&