INNER CODE UNIT · JavaScript

showEngineWarning

LeyckerS/moondownloader · web/app.js:283

function showEngineWarning() {
  const box = document.createElement("div");
  box.style.cssText = "position:fixed;inset:0;z-index:99;background:#05070c;color:#dfe8f6;"
    + "font:14px/1.7 Consolas,monospace;padding:34px;overflow:auto";
  box.innerHTML = "<b style='font-size:19px'>Rendering engine too old</b>"
    + "<p>This window is running on MSHTML (Internet Explorer), not Edge:"
    + " the GUI cannot be drawn.</p>"
    + "<p>Close it and launch <b>start.bat</b>, which opens the GUI in Edge/Chrome"
    + " with <code>--app</code> and does not depend on pywebview.</p>";
  document.body.appendChild(box);
}

/* ── UI state ─────────────────────────────────────────────────────────── */
const ui = {
  cursor: 0,
  rows: new Map(),
  prevState: new Map(),
  spark: [],

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…