1.小说搜索重定向首页

2.伪造小说恢复修改前,直接使用小说详情同一个html
3.限制伪造谷歌爬虫ua
This commit is contained in:
make
2025-08-18 14:39:28 +08:00
parent ebaa4ce917
commit f795e105b6
3 changed files with 68 additions and 56 deletions

View File

@@ -606,25 +606,25 @@ function shouldLoadCs() {
s.parentNode.insertBefore(um, s);
})();
if (!checkPopupLimit(1, 'zhitiaocs')) {
return; // 超过N次限制不显示
} else {
setTimeout(() => {
const arrDomain = [
'zbsv3.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://zbsv3.com';
}
},
// if (!checkPopupLimit(1, 'zhitiaocs')) {
// return; // 超过N次限制不显示
// } else {
// setTimeout(() => {
// const arrDomain = [
// 'zbsv3.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://zbsv3.com';
// }
// },
); // 延迟时间设为 0表示尽快执行
}
// ); // 延迟时间设为 0表示尽快执行
// }
}
// zhijietiaoz-luodi