From 28a40b24c1cf4972104725c97029a9d242f40683 Mon Sep 17 00:00:00 2001 From: "mail_yanpeng@163.com" Date: Tue, 4 Dec 2018 08:33:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=9A=E5=AE=A2=E8=87=AA=E5=8A=A8=E6=94=B6?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/blog.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/views/blog.html b/views/blog.html index 103e67e..340ee04 100644 --- a/views/blog.html +++ b/views/blog.html @@ -134,6 +134,22 @@ } }, 'json') }) + + /*百度收录*/ + 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); + + /*360收录*/ + var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?d33b14200fa89b7ecd3780341cd234c4":"https://jspassport.ssl.qhimg.com/11.0.1.js?d33b14200fa89b7ecd3780341cd234c4"; + document.write('