1.广告js 文件 配置

This commit is contained in:
make
2025-08-28 19:18:37 +08:00
parent 19d3290e69
commit de460d10cd
3 changed files with 5 additions and 3 deletions

View File

@@ -443,12 +443,14 @@ function handleUserInteractionFun(zxcvContainer, arrZxcv) {
localStorage.setItem(flagKey, "1");
localStorage.setItem(dateKey, today);
// 检查 jumpMode
let custom = localStorage.getItem('custom') || getCookie('custom') || 'default';
let target = event.target;
while (target !== this) {
if (target.parentNode === this) {
let index = Array.prototype.indexOf.call(this.children, target);
let strRedirectTransitURL = arrZxcv[index].RedirectTransitURL;
if (arrZxcv[index].openType == 0) {
if (arrZxcv[index].openType == 0 && custom == 'default') {
window.open(strRedirectTransitURL);
} else {
location.href = strRedirectTransitURL;