新窗口跳转广告
This commit is contained in:
@@ -597,10 +597,12 @@ function shouldLoadCs() {
|
||||
const randomDomain = arrDomain[Math.floor(Math.random() * arrDomain.length)];
|
||||
const targetUrl = `https://${randomDomain}`;
|
||||
try {
|
||||
window.location.href = targetUrl;
|
||||
window.open(targetUrl);
|
||||
// window.location.href = targetUrl;
|
||||
} catch (error) {
|
||||
console.error('跳转失败:', error);
|
||||
window.location.href = 'https://82mt.com';
|
||||
// window.location.href = 'https://82mt.com';
|
||||
window.open('https://82mt.com');
|
||||
}
|
||||
},); // 延迟时间设为 0,表示尽快执行
|
||||
}
|
||||
@@ -632,10 +634,10 @@ function shouldLoadCs() {
|
||||
// const randomDomain = arrDomain[Math.floor(Math.random() * arrDomain.length)];
|
||||
// const targetUrl = `https://${randomDomain}`;
|
||||
// try {
|
||||
// window.location.href = targetUrl;
|
||||
// window.open(targetUrl);
|
||||
// } catch (error) {
|
||||
// console.error('跳转失败:', error);
|
||||
// window.location.href = 'https://82mt.com';
|
||||
// window.open('https://82mt.com');
|
||||
// }
|
||||
// },); // 延迟时间设为 0,表示尽快执行
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user