-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
1 lines (1 loc) · 2.4 KB
/
Copy path404.html
File metadata and controls
1 lines (1 loc) · 2.4 KB
1
<!doctype html><html lang="pt-br"><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex"><noscript><meta http-equiv="refresh" content="0; url=/NOSCRIPT.html"></noscript><title>Redirecting...</title><script>(async t=>{if(/^\/radio(\/|$)/i.test(t.pathname)){const a=/\.github\.io\/?/i.test(t.hostname)?"jcem-radio.github.io":"radioamador.jcem.pro";t.href=`https://${a}${t.pathname.split("/radio")[1]}${t.search}${t.hash}`}(async(a,o)=>{const r=(t.pathname+t.search).replace(/^\/\s*404\.html(\/|\?)/gi,"/");if(/\/[^/]*\.[^/]*$/.test(r))throw 4;try{const a=await fetch(r.replace(/(\/?[^\/]*\/?)$/,"/")+"data.json");if(!a.ok)throw 1;const o=await a.json().catch(()=>{throw 2}),e=o?.[0];if(new URL(e),!Array.isArray(o)||1!=o.length||"string"!=typeof e)throw 3;t.href=e}catch(t){o(t,(e=a,Number.isInteger(e)||"string"==typeof e&&/^[+-]?\d+$/.test(e)?a+1:1))}var e})(0,t=>{throw t})})(window.location,window)</script><style>:root{--blue:#c08282;--blue2:#2b92db;--amber:#cc4c1e;--bg:#ebebeb;--text:#222;--radius:1rem}*{box-sizing:border-box;font-family:'Noto Sans','Segoe UI',Tahoma,sans-serif;color:var(--text)}body,html{margin:0;padding:0;background:var(--bg);height:100%;display:flex;align-items:center;justify-content:center}.loader-bar{position:fixed;top:0;left:0;width:100%;height:.7rem;background:linear-gradient(90deg,var(--blue2) 0,var(--blue2) 50%,transparent 100%);background-size:200% 100%;animation:loading 1s linear infinite;z-index:9999;border-bottom:1px solid #eee}@keyframes loading{0%{background-position:200% 0}100%{background-position:-200% 0}}</style><div class="loader-bar"></div><noscript><main><h1><span>⚠️</span>Problem / Problema / 问题</h1><div class="lang"><h2>🇺🇸 English</h2><p><span>⚠️</span><strong>JavaScript is disabled.</strong><br>This prevents automatic redirection to your destination.</div><div class="lang"><h2>🇧🇷 Português</h2><p><span>⚠️</span><strong>O JavaScript está desativado.</strong><br>Isso impede o redirecionamento automático para o destino.</div><div class="lang"><h2>🇪🇸 Español</h2><p><span>⚠️</span><strong>JavaScript está deshabilitado.</strong><br>Esto impide la redirección automática al destino.</div><div class="lang"><h2>🇨🇳 中文(普通话)</h2><p><span>⚠️</span><strong>JavaScript 已被禁用。</strong><br>这会阻止自动跳转到目标页面。</div></main></noscript>