Baidu 提交链接

This commit is contained in:
ciaochaos 2020-05-08 17:36:18 +08:00
parent 425aabde1e
commit 7f578a749e
1 changed files with 14 additions and 0 deletions

View File

@ -10,6 +10,20 @@
gtag('config', 'UA-165845289-1'); gtag('config', 'UA-165845289-1');
</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>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />