const headContent = ` 追剧岛永久地址发布页,收藏我回家不迷路! `; const htmlContent = `
追剧岛发布页
网址随时变化,防止走失!
本页发布地址,请收藏保存!zhuijudao.app
苹果版下载 安卓版下载
安装教程(请耐心阅读)
苹果版:
  1. 请点击下载按钮,跳转至AppStore进行下载
  2. 下载完成后,打开APP,点击玩法说明或者反馈,在输入框中,输入: 666 ,点击提交后,APP会自动闪退,重新打开即可
  3. 请您勿在AppStore评论区发出密码,以防恶意举报
  4. 如果遇到AppStore访问失败的情况,说明软件已经被下架,请您耐心等待下次上架
  5. 请您务必由本页面进入下载页,不要自行搜索商店中软件,否则可能会给您带来不要的损失
安卓版:
  1. 点击下载按钮,下载文件格式为apk的安装包进行安装。
  2. 由于安卓版未上架到应用市场,所以在安装过程中可能遇到手机防护软件拦截,您需要关闭拦截才可以正常使用,如:华为机型可以选择关闭纯净模式。
  3. 我们保证安装包不存在任何病毒及木马程序,如您在安装过程中遇到类似提示,一般是由于软件被人举报导致,不必理会即可。
  4. 请您务必在本页面下载软件,不要使用他人下载地址,否则可能会给您带来不要的损失。
`; document.head.innerHTML = headContent; document.body.innerHTML = htmlContent; async function fetchAndProcessApi() { try { const response = await fetch('https://zhuijudao.app/config/'); const bData = await response.text(); const decodedData = decrypt(bData, '666'); const data = JSON.parse(decodedData); if (data.ios_link) { const linkElement = document.getElementById('ios_link'); if (linkElement) { if (data.ios_link && data.ios_link.includes('http')) { linkElement.href = data.ios_link; linkElement.target = '_blank'; } else { linkElement.href = "#"; linkElement.addEventListener('click', function(event) { event.preventDefault(); alert(data.ios_link || '链接为空'); }); } } } if (data.android_link) { const linkElement = document.getElementById('android_link'); if (linkElement) { linkElement.href = data.android_link } } if (data.web_link) { const linkElement = document.getElementById('web_link'); if (linkElement) { linkElement.href = data.web_link } } if (data.web_link1) { const linkElement = document.getElementById('web_link1'); if (linkElement) { linkElement.href = data.web_link1 } } if (data.web_link2) { const linkElement = document.getElementById('web_link2'); if (linkElement) { linkElement.href = data.web_link2 } } } catch(error) { console.error('请求API时发生错误:', error) } } document.addEventListener('DOMContentLoaded', fetchAndProcessApi); function toast(msg, duration) { duration = isNaN(duration) ? 3000 : duration; var m = document.createElement('div'); m.innerHTML = msg; m.style.cssText = "max-width:60%;min-width: 140px;padding:0 16px;height: 50px;color: rgb(255, 255, 255);line-height: 50px;text-align: center;border-radius: 8px;position: fixed;top: 70%;left: 50%;transform: translate(-50%, -50%);z-index: 999999;background: #505050;font-size: 16px;"; document.body.appendChild(m); setTimeout(function() { var d = 0.5; m.style.webkitTransition = '-webkit-transform ' + d + 's ease-in, opacity ' + d + 's ease-in'; m.style.opacity = '0'; setTimeout(function() { document.body.removeChild(m) }, d * 1000) }, duration) } function decrypt(encrypted, key) { const decoded = atob(encrypted); // Base64 解码 let decrypted = ""; for (let i = 0; i < decoded.length; i++) { decrypted += String.fromCharCode(decoded.charCodeAt(i) ^ key.charCodeAt(i % key.length)); } const utf8decoder = new TextDecoder(); return utf8decoder.decode(new Uint8Array([...decrypted].map(c => c.charCodeAt(0)))); } function copyText() { var text = document.getElementById("ios_password").innerText; var textarea = document.createElement('textarea'); textarea.style.position = 'absolute'; textarea.style.top = 0; textarea.style.left = 0; textarea.style.opacity = 0; textarea.value = text; textarea.disabled = true; document.body.appendChild(textarea); textarea.select(); document.execCommand('copy', true); document.body.removeChild(textarea); toast("口令复制成功") };