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('