Loading (%)
`; let openURL; let initCode; if (type === "blob") { const blob = new Blob([html], { type: "text/html" }); openURL = URL.createObjectURL(blob); } else if (type === "blank") { openURL = "about:blank"; initCode = ` opened.document.documentElement.innerHTML = html; `; } else if (type === "data") { openURL = "data:text/html;base64," + btoa(html); prompt("Open this URL in a new tab:", openURL); return; } const opened = window.open(openURL); if (initCode) { eval(initCode); } } async function blockPrompt() { if (confirm( "No working URLs found!\nThis could mean that:\n - Github is temporarily down\n - The repository is blocked\n - All links are blocked\n - The asset repository was deleted\n\nWould you like to use a new repo?" )) { await init(prompt("Enter repository url", "https://raw.githubusercontent.com/ZYPHERStudios/assets/refs/heads/main/eWVlbGF1bmNoZXJ1cmxz" )); return true; } else { return false; } }