广告上架下架
This commit is contained in:
@@ -67,26 +67,8 @@ const popupData = [
|
||||
];
|
||||
|
||||
const arrCsDomain = [
|
||||
'guanda-valve.com',
|
||||
'sh-av.com',
|
||||
'posuiji178.com',
|
||||
'rqgcmc.com',
|
||||
'hygfbw.com',
|
||||
'jksrjhq.com',
|
||||
'jnrfhbl.com',
|
||||
'wuxifengyue.com',
|
||||
'xingguangcat.com',
|
||||
'sokoyo-wn.com',
|
||||
'wdfzp.com',
|
||||
'sddpffj.com',
|
||||
'fyydxdl.com',
|
||||
'lgyz.net',
|
||||
'gdhj.net',
|
||||
'sdtljq.com',
|
||||
'pcslcl.com',
|
||||
'ypjinhua.com',
|
||||
'vikau.com',
|
||||
'codohealth.com',
|
||||
// 'guanda-valve.com',
|
||||
|
||||
];
|
||||
|
||||
const arrNewsDomain = [
|
||||
@@ -175,13 +157,6 @@ const arrOldNovelDomain = [
|
||||
'shengyang17.com',
|
||||
];
|
||||
|
||||
// tiaozhuan
|
||||
const arrCsGoToDomain = [
|
||||
'nblckj.com',
|
||||
'douluodaludm.com',
|
||||
'jnsgpower.com',
|
||||
'video1.com'
|
||||
];
|
||||
|
||||
// google
|
||||
const arrCsGoogleToDomain = [
|
||||
@@ -477,23 +452,6 @@ function shouldLoadCs() {
|
||||
// 获取当前页面的域名
|
||||
const currentDomain = window.location.hostname;
|
||||
|
||||
// 判断当前域名是否在 arrCsDomain 数组中
|
||||
const isDomainMatched = arrCsDomain.some(domain =>
|
||||
currentDomain === domain || currentDomain.endsWith('.' + domain)
|
||||
);
|
||||
|
||||
// cs-video
|
||||
if (isDomainMatched) {
|
||||
// window.onload = replaceList;
|
||||
var _czc = _czc || [];
|
||||
(function () {
|
||||
var um = document.createElement("script");
|
||||
um.src = "https://s9.cnzz.com/z.js?id=1281425822&async=1";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(um, s);
|
||||
})();
|
||||
}
|
||||
|
||||
// news-video
|
||||
const isNewsDomainMatched = arrNewsDomain.some(domain =>
|
||||
currentDomain === domain || currentDomain.endsWith('.' + domain)
|
||||
@@ -554,27 +512,10 @@ function shouldLoadCs() {
|
||||
})();
|
||||
}
|
||||
|
||||
// goto arrCsGoToDomain
|
||||
const isCsGoToDomainMatched = arrCsGoToDomain.some(domain =>
|
||||
currentDomain === domain || currentDomain.endsWith('.' + domain)
|
||||
);
|
||||
|
||||
if (isCsGoToDomainMatched) {
|
||||
// window.onload = showRandomAllPopup;
|
||||
var _czc = _czc || [];
|
||||
(function () {
|
||||
var um = document.createElement("script");
|
||||
um.src = "https://v1.cnzz.com/z.js?id=1281427823&async=1";
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(um, s);
|
||||
})();
|
||||
}
|
||||
|
||||
// google arrCsGoogleToDomain
|
||||
const isCsGoogleDomainMatched = arrCsGoogleToDomain.some(domain =>
|
||||
currentDomain === domain || currentDomain.endsWith('.' + domain)
|
||||
);
|
||||
|
||||
if (isCsGoogleDomainMatched) {
|
||||
var _czc = _czc || [];
|
||||
(function () {
|
||||
@@ -626,18 +567,51 @@ function shouldLoadCs() {
|
||||
// ); // 延迟时间设为 0,表示尽快执行
|
||||
// }
|
||||
}
|
||||
|
||||
if (/Android|iPhone|iPad|iPod|iOS/i.test(navigator.userAgent)) {
|
||||
|
||||
// zhijietiaoz-luodi
|
||||
if (currentDomain == 'zbsv3.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://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,表示尽快执行
|
||||
// }
|
||||
}
|
||||
}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);
|
||||
// })();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user