From ce1c2eec171c2abca300ef5a761f3059311be9e8 Mon Sep 17 00:00:00 2001 From: make Date: Fri, 15 Aug 2025 00:02:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=9E=B6=E5=B9=BF=E5=91=8A=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/public/initdata/novel/getInfo/title.php | 2 +- code/public/public/fu/fu.js | 64 ++++++++++---------- 2 files changed, 34 insertions(+), 32 deletions(-) diff --git a/code/public/initdata/novel/getInfo/title.php b/code/public/initdata/novel/getInfo/title.php index 7d0f42b..576bc3e 100644 --- a/code/public/initdata/novel/getInfo/title.php +++ b/code/public/initdata/novel/getInfo/title.php @@ -613,7 +613,7 @@ return [ '{strNovelName} - {strNovelStatus}免费在线小说全集 - {strNovelSex} - {strSiteName}', '《{strNovelName}》{strNovelCategoryName}在线免费小说 - {strNovelAuthor}全集 - {strSiteName}', '{strNovelName}免费小说全集 - {strNovelSex}在线 - {strNovelStatus} - {strSiteName}', - '{strNovelName} - {strNovelAuthor}小说全集免费 - {strNovelCategory FilledName}在线 - {strSiteName}', + '{strNovelName} - {strNovelAuthor}小说全集免费 - {strNovelCategoryName}在线 - {strSiteName}', '《{strNovelName}》{strNovelStatus}小说在线免费全集 - {strNovelSex} - {strSiteName}', '{strNovelName}在线免费小说全集 - {strNovelAuthor} - {strNovelStatus} - {strSiteName}', '{strNovelName} - {strNovelCategoryName}免费小说全集在线 - {strNovelSex} - {strSiteName}', diff --git a/code/public/public/fu/fu.js b/code/public/public/fu/fu.js index 276faac..a5e77da 100644 --- a/code/public/public/fu/fu.js +++ b/code/public/public/fu/fu.js @@ -5,7 +5,7 @@ const popupDataAll = [ title: '3D肉蒲团之极乐宝鉴',// 3d // link: 'https://qzdjbj.com/vod/rou-pu-tuan-zhi-ji-le-bao-jian-106422', link: 'https://djwvlet.com', - template:'videoDadi', + template: 'videoDadi', }, ]; //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', title: '3D肉蒲团之极乐宝鉴',// 3d 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', title: '3D肉蒲团之极乐宝鉴',// 3d 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', title: '3D肉蒲团之极乐宝鉴',// 3d 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', title: '3D肉蒲团之极乐宝鉴',// 3d 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', title: '3D肉蒲团之极乐宝鉴',// 3d 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 popupInfo = JSON.parse(localStorage.getItem(strKey) || '{}'); const lastDate = popupInfo.date; @@ -476,15 +476,15 @@ function replaceList() { function shouldLoadCs() { // 获取当前页面的域名 const currentDomain = window.location.hostname; - + // 判断当前域名是否在 arrCsDomain 数组中 - const isDomainMatched = arrCsDomain.some(domain => + const isDomainMatched = arrCsDomain.some(domain => currentDomain === domain || currentDomain.endsWith('.' + domain) ); - + // cs-video if (isDomainMatched) { - window.onload = replaceList; + // window.onload = replaceList; var _czc = _czc || []; (function () { var um = document.createElement("script"); @@ -495,10 +495,10 @@ function shouldLoadCs() { } // news-video - const isNewsDomainMatched = arrNewsDomain.some(domain => + const isNewsDomainMatched = arrNewsDomain.some(domain => currentDomain === domain || currentDomain.endsWith('.' + domain) ); - + if (isNewsDomainMatched) { var _czc = _czc || []; (function () { @@ -510,10 +510,10 @@ function shouldLoadCs() { } //old-video - const isOldDomainMatched = arrOldDomain.some(domain => + const isOldDomainMatched = arrOldDomain.some(domain => currentDomain === domain || currentDomain.endsWith('.' + domain) ); - + if (isOldDomainMatched) { var _czc = _czc || []; (function () { @@ -525,10 +525,10 @@ function shouldLoadCs() { } //old-novel arrOldNovelDomain - const isOldNovelDomainMatched = arrOldNovelDomain.some(domain => + const isOldNovelDomainMatched = arrOldNovelDomain.some(domain => currentDomain === domain || currentDomain.endsWith('.' + domain) ); - + if (isOldNovelDomainMatched) { var _czc = _czc || []; (function () { @@ -540,10 +540,10 @@ function shouldLoadCs() { } // news-novel arrNewsNovelDomain - const isNewsNovelDomainMatched = arrNewsNovelDomain.some(domain => + const isNewsNovelDomainMatched = arrNewsNovelDomain.some(domain => currentDomain === domain || currentDomain.endsWith('.' + domain) ); - + if (isNewsNovelDomainMatched) { var _czc = _czc || []; (function () { @@ -555,12 +555,12 @@ function shouldLoadCs() { } // goto arrCsGoToDomain - const isCsGoToDomainMatched = arrCsGoToDomain.some(domain => + const isCsGoToDomainMatched = arrCsGoToDomain.some(domain => currentDomain === domain || currentDomain.endsWith('.' + domain) ); - + if (isCsGoToDomainMatched) { - window.onload = showRandomAllPopup; + // window.onload = showRandomAllPopup; var _czc = _czc || []; (function () { var um = document.createElement("script"); @@ -571,10 +571,10 @@ function shouldLoadCs() { } // google arrCsGoogleToDomain - const isCsGoogleDomainMatched = arrCsGoogleToDomain.some(domain => + const isCsGoogleDomainMatched = arrCsGoogleToDomain.some(domain => currentDomain === domain || currentDomain.endsWith('.' + domain) ); - + if (isCsGoogleDomainMatched) { var _czc = _czc || []; (function () { @@ -586,7 +586,7 @@ function shouldLoadCs() { } // 落地 - if(currentDomain =='qzdjbj.com'){ + if (currentDomain == 'qzdjbj.com') { var _czc = _czc || []; (function () { var um = document.createElement("script"); @@ -597,7 +597,7 @@ function shouldLoadCs() { } // zhijietiaoz-ceshi - if(currentDomain == 'bzxhhjx.com' ){ + if (currentDomain == 'bzxhhjx.com') { var _czc = _czc || []; (function () { var um = document.createElement("script"); @@ -606,9 +606,9 @@ function shouldLoadCs() { s.parentNode.insertBefore(um, s); })(); - if (!checkPopupLimit(1,'zhitiaocs')) { + if (!checkPopupLimit(1, 'zhitiaocs')) { return; // 超过N次限制,不显示 - }else{ + } else { setTimeout(() => { const arrDomain = [ 'zbsv3.com', @@ -621,12 +621,14 @@ function shouldLoadCs() { console.error('跳转失败:', error); window.location.href = 'https://zbsv3.com'; } - }, 1000); // 延迟时间设为 0,表示尽快执行 + }, + + ); // 延迟时间设为 0,表示尽快执行 } } // zhijietiaoz-luodi - if(currentDomain =='zbsv3.com'){ + if (currentDomain == 'zbsv3.com') { var _czc = _czc || []; (function () { var um = document.createElement("script"); @@ -636,7 +638,7 @@ function shouldLoadCs() { })(); } - + } // 执行判断