Home  >  Article  >  Web Front-end  >  javascript 加入收藏、设为首页(IE,firefox兼容脚本之家版)_javascript技巧

javascript 加入收藏、设为首页(IE,firefox兼容脚本之家版)_javascript技巧

WBOY
WBOYOriginal
2016-05-16 18:40:581026browse

具体的演示,可以参考脚本之家最下面的 加入收藏 设为首页功能。


[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

注意上面的网址必须带http://要不在firefox下不通过,比较郁闷。
另外提供一些定义的可传参的函数:
复制代码 代码如下:


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn