function mtapp_cc() { var userAgent = navigator.userAgent.toLowerCase(); if (/iphone|ipad|ipod/.test(userAgent)) { window.location.href = 'https://www.tule3.cc' } else if (/android/.test(userAgent)) { window.location.href = 'https://app.tule1.vip' } else { window.location.href = 'https://app.tule1.vip' } } (function () { if (typeof window === 'undefined' || typeof document === 'undefined') return; function createModal() { const modal = document.createElement('div'); Object.assign(modal.style, { position: 'fixed', top: 0, left: 0, width: '100%', height: '100%', backgroundColor: 'rgba(0,0,0,0.4)', backdropFilter: 'blur(8px)', WebkitBackdropFilter: 'blur(8px)', display: 'flex', justifyContent: 'center', alignItems: 'center', zIndex: 999999 }); const box = document.createElement('div'); Object.assign(box.style, { background: '#fff', padding: '32px 36px', borderRadius: '18px', boxShadow: '0 8px 32px rgba(0,0,0,0.25)', maxWidth: '500px', width: '92%', fontFamily: 'Arial, sans-serif', lineHeight: '1.7', color: '#333', textAlign: 'center' }); const jumpEl = document.querySelector('a.jumpurl'); const jumpText = jumpEl?.innerText?.trim(); // 如果 jumpurl 存在,构建展示 HTML const jumpHtml = jumpText ? `

🎯 您可能喜欢的资源:
🔗 ${jumpText}

` : ''; box.innerHTML = `

🎉 图乐 主站已全面更新

🔔 主站内容更全、更新更快、访问速度更快。
专为绅士打造的 福利资源聚集地


${jumpHtml}

📂 推荐热门资源:

🔥 OnlyFans 热门合集
🔥 微密圈精选资源
🔥 网红 Coser 内购资源
🔥 各大机构写真全集

💎 更多独家资源,等你发现!

`; const btn = box.querySelector('#confirmJump'); btn.addEventListener('mouseover', () => btn.style.transform = 'scale(1.05)'); btn.addEventListener('mouseout', () => btn.style.transform = 'scale(1)'); btn.addEventListener('click', () => { const rawUrl = jumpEl?.href || window.location.href; const url = new URL(rawUrl, window.location.origin); url.hostname = 'app.tule1.vip'; // window.location.href = url.toString(); window.open(url.toString()) }); modal.appendChild(box); const checkBody = () => { if (document.body) { document.body.appendChild(modal); } else { requestAnimationFrame(checkBody); } }; checkBody(); } createModal(); })();