MediaWiki:Common.js:修订间差异

删除57字节 、​ 2023年8月23日 (星期三)
无编辑摘要
无编辑摘要
无编辑摘要
第531行: 第531行:
     var bp = document.createElement('script');
     var bp = document.createElement('script');
     var curProtocol = window.location.protocol.split(':')[0];
     var curProtocol = window.location.protocol.split(':')[0];
    if (window.location.href.indexOf('?') == -1) {
         if (curProtocol === 'https') {
         if (curProtocol === 'https') {
             bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';         
             bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';         
第540行: 第539行:
         var s = document.getElementsByTagName("script")[0];
         var s = document.getElementsByTagName("script")[0];
         s.parentNode.insertBefore(bp, s);
         s.parentNode.insertBefore(bp, s);
    }
})();
})();


18,596

个编辑