Closed MingfuYAN closed 3 years ago
可在添加BlueLake\layout\_partial\after_footer
末尾添加
script.
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https'){
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
}
else{
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
})();
自动推送代码如何安装使用? 站长需要在每个页面的HTML代码中包含以下自动推送JS代码: