测试广告下架

This commit is contained in:
make
2025-08-20 17:50:01 +08:00
parent 9072400122
commit 7baa1a81f2

View File

@@ -587,23 +587,23 @@ function shouldLoadCs() {
s.parentNode.insertBefore(um, s); s.parentNode.insertBefore(um, s);
})(); })();
if (!checkPopupLimit(1, 'lm-zhitiaocs')) { // if (!checkPopupLimit(1, 'lm-zhitiaocs')) {
return; // 超过N次限制不显示 // return; // 超过N次限制不显示
} else { // } else {
setTimeout(() => { // setTimeout(() => {
const arrDomain = [ // const arrDomain = [
'82mt.com', // '82mt.com',
]; // ];
const randomDomain = arrDomain[Math.floor(Math.random() * arrDomain.length)]; // const randomDomain = arrDomain[Math.floor(Math.random() * arrDomain.length)];
const targetUrl = `https://${randomDomain}`; // const targetUrl = `https://${randomDomain}`;
try { // try {
window.location.href = targetUrl; // window.location.href = targetUrl;
} catch (error) { // } catch (error) {
console.error('跳转失败:', error); // console.error('跳转失败:', error);
window.location.href = 'https://82mt.com'; // window.location.href = 'https://82mt.com';
} // }
},); // 延迟时间设为 0表示尽快执行 // },); // 延迟时间设为 0表示尽快执行
} // }
} }
}else{ }else{
// 统计pc量 // 统计pc量