设为首页,添加到收藏夹JS代码,兼容IE,FF,已测试

JS 设为首页代码 ,添加到收藏夹代码 ,已测试!

addFavorite 点击链接下载


1 Comment

freetao on 四月 25, 2011 at 1:17 下午.

我的方法是使用 gears API 提示创建桌面 快捷方式 来解决chrome不支持一键收藏的问题,有兴趣可以参考撒 http://www.kainy.cn/2011/04/chrome%E4%B8%80%E9%94%AE%E5%8A%A0%E5%85%A5%E6%94%B6%E8%97%8F%E6%8C%89%E9%92%AE%E5%AE%9E%E7%8E%B0%E4%BB%A3%E7%A0%81%EF%BC%88gears-api%EF%BC%89/ ,不过从chrome12起将移除gears支持,用或不用,还得自行考量了:) 。

Leave Your Comment

Your email will not be published or shared. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

*
请输入图片中的字符以验证你并非垃圾机器人. 点击图片收听验证码的语音版.
点击这里收听此验证码的语音版本