You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
820 B

5 years ago
document.writeln("<script>");
document.writeln("(function(){");
document.writeln(" var bp = document.createElement(\'script\');");
document.writeln(" var curProtocol = window.location.protocol.split(\':\')[0];");
document.writeln(" if (curProtocol === \'https\') {");
document.writeln(" bp.src = \'https://zz.bdstatic.com/linksubmit/push.js\';");
document.writeln(" }");
document.writeln(" else {");
document.writeln(" bp.src = \'http://push.zhanzhang.baidu.com/push.js\';");
document.writeln(" }");
document.writeln(" var s = document.getElementsByTagName(\"script\")[0];");
document.writeln(" s.parentNode.insertBefore(bp, s);");
document.writeln("})();");
document.writeln("</script>");