script
(function(){
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split('')[0];
if (curProtocol === 'https'){
bp.src = 'httpszz.bdstatic.comlinksubmitpush.js';
}
else{
bp.src = 'httppush.zhanzhang.baidu.compush.js';
}
var s = document.getElementsByTagName(script)[0];
s.parentNode.insertBefore(bp, s);
})();
script