-
js判断当前域名是否符合,不符合跳转
最近做模版的时候刚好需要这段东西,先记下来方便日后使用 $(document).ready(function () { if (location.toString().indexOf("riced.cn") <= -1) /*如果当前网址中没有 caojiefeng.com*/ { document.location.href = "https://riced.cn/"; /*跳转到https://riced.cn/*/ } else { ...
-
会飞的鱼 V
一条会飞的鱼!
- 最新文章
- 最新评论
还有最新下载地址吗