百度搜索和360搜索自动收录推送代码

360 自动收录

<script>
(function(){
var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?e0e9d9a5060e23cf5cc34c84d7cd9d61":"https://jspassport.ssl.qhimg.com/11.0.1.js?e0e9d9a5060e23cf5cc34c84d7cd9d61";
document.write(‘<script src="‘ + src + ‘" id="sozz"><\/script>‘);
})();
</script>

百度推送:

<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);
})();
</script>

百度搜索和360搜索自动收录推送代码

上一篇:pytest入门与基础用法


下一篇:Docker 启动 redis