mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 14:19:52 +08:00
移出无效代码
This commit is contained in:
parent
c0b9fe1f96
commit
1372d9abcd
@ -202,27 +202,6 @@ const Utils = {
|
||||
})
|
||||
})
|
||||
},
|
||||
// /* 百度自动推送 */
|
||||
// baiduPush() {
|
||||
// let bp = document.createElement('script')
|
||||
// let 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'
|
||||
// }
|
||||
// $(`script[src="${bp.src}"]`).remove()
|
||||
// let s = document.getElementsByTagName('script')[0]
|
||||
// s.parentNode.insertBefore(bp, s)
|
||||
// },
|
||||
// toutiaoPush() {
|
||||
// let el = document.createElement('script')
|
||||
// el.src = 'https://lf1-cdn-tos.bytegoofy.com/goofy/ttzz/push.js?0fbcfbb1ed642c21419d5be02d56ade7d6ee5372ca221d12ba35df110760b2a830632485602430134f60bc55ca391050b680e2741bf7233a8f1da9902314a3fa'
|
||||
// el.id = 'ttzz'
|
||||
// $(`script[src="${el.src}"]`).remove()
|
||||
// let s = document.getElementsByTagName('script')[0]
|
||||
// s.parentNode.insertBefore(el, s)
|
||||
// },
|
||||
/* sleep */
|
||||
sleep(ms = 250) {
|
||||
return new Promise((resolve) => setTimeout(resolve, ms))
|
||||
|
Loading…
x
Reference in New Issue
Block a user