代码演示
代码简介
作用是什么 很清晰了了 不必本身去在站长东西查询本身的备案号 这些代码即可为你的底部增添备案号显现 只需你的域名备案 代码到场到你底部就能够了 很壮大的骚功用啊
代码以下
备案号:<script>!function(window) { window.__GETICPINFO__ = { websiteHost: '', // 假如不想猎取当前域名备案信息 这里能够填指定域名 jqueryPath: '', // 自定义jquery路劲 默许是bootcdn 可不必改 layerHeight: '', // layer弹出层长度 默许420px 可不必改 isCenter: false, // 是不是居中 默许不居中 挑选居中将零丁占用一行 isShowInfo: true, // 是不是点击备案号显现详细信息 false则不引入jquery和layer showIcon: true, // 是不是显现图标 icpIcon:"", // 自定义备案图标地点 removeDecoration: true, // 是不是作废a标签下划线 aColor: "#7B7B7B", // 备案号色彩 cacheTime: 1 // 缓存当地时候(防备反复猎取拉低速率) 单元:天 默许1天 }; document.write('<span id="icpInfoSpan"></span>'); getIcpInfo_tag = document.createElement("script"), getIcpInfo_tag.type = "text/javascript", getIcpInfo_tag.async = true, getIcpInfo_tag.src = "https://api.yya.gs/Assets/Js/getIcpInfo.js";// 代码频仍更新,发起不要弄到当地 var b = document.getElementsByTagName("script")[0]; b.parentNode.insertBefore(getIcpInfo_tag, b);}(window);</script>
评论列表