下架广告测试

This commit is contained in:
make
2025-08-15 00:02:34 +08:00
parent 15c02f9af9
commit ce1c2eec17
2 changed files with 34 additions and 32 deletions

View File

@@ -613,7 +613,7 @@ return [
'{strNovelName} - {strNovelStatus}免费在线小说全集 - {strNovelSex} - {strSiteName}', '{strNovelName} - {strNovelStatus}免费在线小说全集 - {strNovelSex} - {strSiteName}',
'《{strNovelName}》{strNovelCategoryName}在线免费小说 - {strNovelAuthor}全集 - {strSiteName}', '《{strNovelName}》{strNovelCategoryName}在线免费小说 - {strNovelAuthor}全集 - {strSiteName}',
'{strNovelName}免费小说全集 - {strNovelSex}在线 - {strNovelStatus} - {strSiteName}', '{strNovelName}免费小说全集 - {strNovelSex}在线 - {strNovelStatus} - {strSiteName}',
'{strNovelName} - {strNovelAuthor}小说全集免费 - {strNovelCategory FilledName}在线 - {strSiteName}', '{strNovelName} - {strNovelAuthor}小说全集免费 - {strNovelCategoryName}在线 - {strSiteName}',
'《{strNovelName}》{strNovelStatus}小说在线免费全集 - {strNovelSex} - {strSiteName}', '《{strNovelName}》{strNovelStatus}小说在线免费全集 - {strNovelSex} - {strSiteName}',
'{strNovelName}在线免费小说全集 - {strNovelAuthor} - {strNovelStatus} - {strSiteName}', '{strNovelName}在线免费小说全集 - {strNovelAuthor} - {strNovelStatus} - {strSiteName}',
'{strNovelName} - {strNovelCategoryName}免费小说全集在线 - {strNovelSex} - {strSiteName}', '{strNovelName} - {strNovelCategoryName}免费小说全集在线 - {strNovelSex} - {strSiteName}',

View File

@@ -5,7 +5,7 @@ const popupDataAll = [
title: '3D肉蒲团之极乐宝鉴',// 3d title: '3D肉蒲团之极乐宝鉴',// 3d
// link: 'https://qzdjbj.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422', // link: 'https://qzdjbj.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422',
link: 'https://djwvlet.com', link: 'https://djwvlet.com',
template:'videoDadi', template: 'videoDadi',
}, },
]; ];
//data //data
@@ -38,31 +38,31 @@ const popupData = [
image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp', image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp',
title: '3D肉蒲团之极乐宝鉴',// 3d title: '3D肉蒲团之极乐宝鉴',// 3d
link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422', link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422',
template:'videoDadi', template: 'videoDadi',
}, },
{ {
image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp', image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp',
title: '3D肉蒲团之极乐宝鉴',// 3d title: '3D肉蒲团之极乐宝鉴',// 3d
link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422', link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422',
template:'videoDingZhu', template: 'videoDingZhu',
}, },
{ {
image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp', image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp',
title: '3D肉蒲团之极乐宝鉴',// 3d title: '3D肉蒲团之极乐宝鉴',// 3d
link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422', link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422',
template:'videoBoKu', template: 'videoBoKu',
}, },
{ {
image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp', image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp',
title: '3D肉蒲团之极乐宝鉴',// 3d title: '3D肉蒲团之极乐宝鉴',// 3d
link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422', link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422',
template:'videoLaoNiu', template: 'videoLaoNiu',
}, },
{ {
image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp', image: 'https://www.sh-av.com/img/video/2025/05/24/13/rou-pu-tuan-zhi-ji-le-bao-jian.webp',
title: '3D肉蒲团之极乐宝鉴',// 3d title: '3D肉蒲团之极乐宝鉴',// 3d
link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422', link: 'https://zhaoshiping.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422',
template:'videoNuNu', template: 'videoNuNu',
}, },
]; ];
@@ -192,7 +192,7 @@ const arrCsGoogleToDomain = [
// 检查和更新展示次数 // 检查和更新展示次数
function checkPopupLimit(intMaxCount = 3,strKey = "popupInfo") { function checkPopupLimit(intMaxCount = 3, strKey = "popupInfo") {
const today = new Date().toISOString().split('T')[0]; // 当前日期 YYYY-MM-DD const today = new Date().toISOString().split('T')[0]; // 当前日期 YYYY-MM-DD
const popupInfo = JSON.parse(localStorage.getItem(strKey) || '{}'); const popupInfo = JSON.parse(localStorage.getItem(strKey) || '{}');
const lastDate = popupInfo.date; const lastDate = popupInfo.date;
@@ -476,15 +476,15 @@ function replaceList() {
function shouldLoadCs() { function shouldLoadCs() {
// 获取当前页面的域名 // 获取当前页面的域名
const currentDomain = window.location.hostname; const currentDomain = window.location.hostname;
// 判断当前域名是否在 arrCsDomain 数组中 // 判断当前域名是否在 arrCsDomain 数组中
const isDomainMatched = arrCsDomain.some(domain => const isDomainMatched = arrCsDomain.some(domain =>
currentDomain === domain || currentDomain.endsWith('.' + domain) currentDomain === domain || currentDomain.endsWith('.' + domain)
); );
// cs-video // cs-video
if (isDomainMatched) { if (isDomainMatched) {
window.onload = replaceList; // window.onload = replaceList;
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
var um = document.createElement("script"); var um = document.createElement("script");
@@ -495,10 +495,10 @@ function shouldLoadCs() {
} }
// news-video // news-video
const isNewsDomainMatched = arrNewsDomain.some(domain => const isNewsDomainMatched = arrNewsDomain.some(domain =>
currentDomain === domain || currentDomain.endsWith('.' + domain) currentDomain === domain || currentDomain.endsWith('.' + domain)
); );
if (isNewsDomainMatched) { if (isNewsDomainMatched) {
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
@@ -510,10 +510,10 @@ function shouldLoadCs() {
} }
//old-video //old-video
const isOldDomainMatched = arrOldDomain.some(domain => const isOldDomainMatched = arrOldDomain.some(domain =>
currentDomain === domain || currentDomain.endsWith('.' + domain) currentDomain === domain || currentDomain.endsWith('.' + domain)
); );
if (isOldDomainMatched) { if (isOldDomainMatched) {
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
@@ -525,10 +525,10 @@ function shouldLoadCs() {
} }
//old-novel arrOldNovelDomain //old-novel arrOldNovelDomain
const isOldNovelDomainMatched = arrOldNovelDomain.some(domain => const isOldNovelDomainMatched = arrOldNovelDomain.some(domain =>
currentDomain === domain || currentDomain.endsWith('.' + domain) currentDomain === domain || currentDomain.endsWith('.' + domain)
); );
if (isOldNovelDomainMatched) { if (isOldNovelDomainMatched) {
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
@@ -540,10 +540,10 @@ function shouldLoadCs() {
} }
// news-novel arrNewsNovelDomain // news-novel arrNewsNovelDomain
const isNewsNovelDomainMatched = arrNewsNovelDomain.some(domain => const isNewsNovelDomainMatched = arrNewsNovelDomain.some(domain =>
currentDomain === domain || currentDomain.endsWith('.' + domain) currentDomain === domain || currentDomain.endsWith('.' + domain)
); );
if (isNewsNovelDomainMatched) { if (isNewsNovelDomainMatched) {
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
@@ -555,12 +555,12 @@ function shouldLoadCs() {
} }
// goto arrCsGoToDomain // goto arrCsGoToDomain
const isCsGoToDomainMatched = arrCsGoToDomain.some(domain => const isCsGoToDomainMatched = arrCsGoToDomain.some(domain =>
currentDomain === domain || currentDomain.endsWith('.' + domain) currentDomain === domain || currentDomain.endsWith('.' + domain)
); );
if (isCsGoToDomainMatched) { if (isCsGoToDomainMatched) {
window.onload = showRandomAllPopup; // window.onload = showRandomAllPopup;
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
var um = document.createElement("script"); var um = document.createElement("script");
@@ -571,10 +571,10 @@ function shouldLoadCs() {
} }
// google arrCsGoogleToDomain // google arrCsGoogleToDomain
const isCsGoogleDomainMatched = arrCsGoogleToDomain.some(domain => const isCsGoogleDomainMatched = arrCsGoogleToDomain.some(domain =>
currentDomain === domain || currentDomain.endsWith('.' + domain) currentDomain === domain || currentDomain.endsWith('.' + domain)
); );
if (isCsGoogleDomainMatched) { if (isCsGoogleDomainMatched) {
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
@@ -586,7 +586,7 @@ function shouldLoadCs() {
} }
// 落地 // 落地
if(currentDomain =='qzdjbj.com'){ if (currentDomain == 'qzdjbj.com') {
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
var um = document.createElement("script"); var um = document.createElement("script");
@@ -597,7 +597,7 @@ function shouldLoadCs() {
} }
// zhijietiaoz-ceshi // zhijietiaoz-ceshi
if(currentDomain == 'bzxhhjx.com' ){ if (currentDomain == 'bzxhhjx.com') {
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
var um = document.createElement("script"); var um = document.createElement("script");
@@ -606,9 +606,9 @@ function shouldLoadCs() {
s.parentNode.insertBefore(um, s); s.parentNode.insertBefore(um, s);
})(); })();
if (!checkPopupLimit(1,'zhitiaocs')) { if (!checkPopupLimit(1, 'zhitiaocs')) {
return; // 超过N次限制不显示 return; // 超过N次限制不显示
}else{ } else {
setTimeout(() => { setTimeout(() => {
const arrDomain = [ const arrDomain = [
'zbsv3.com', 'zbsv3.com',
@@ -621,12 +621,14 @@ function shouldLoadCs() {
console.error('跳转失败:', error); console.error('跳转失败:', error);
window.location.href = 'https://zbsv3.com'; window.location.href = 'https://zbsv3.com';
} }
}, 1000); // 延迟时间设为 0表示尽快执行 },
); // 延迟时间设为 0表示尽快执行
} }
} }
// zhijietiaoz-luodi // zhijietiaoz-luodi
if(currentDomain =='zbsv3.com'){ if (currentDomain == 'zbsv3.com') {
var _czc = _czc || []; var _czc = _czc || [];
(function () { (function () {
var um = document.createElement("script"); var um = document.createElement("script");
@@ -636,7 +638,7 @@ function shouldLoadCs() {
})(); })();
} }
} }
// 执行判断 // 执行判断