diff --git a/index.html b/index.html index 249b50e..3dca5e8 100644 --- a/index.html +++ b/index.html @@ -110,15 +110,17 @@ Register a top-level domain, register a name under one, look up records, verify anything against the chain.

- -

One search checks the label across every TLD in the registry. Available names appear first.

+
+ One search checks the label across every TLD in the registry. Available names appear first. +
+
+
Or browse what you can do → @@ -126,17 +128,88 @@
+ +
diff --git a/register.html b/register.html index 843895e..9f98b99 100644 --- a/register.html +++ b/register.html @@ -408,7 +408,15 @@ async function check() { }); })); } -$("q").addEventListener("input", () => { clearTimeout(timer); timer = setTimeout(check, 350); }); +$("q").addEventListener("input", () => { + clearTimeout(timer); + // Show an immediate placeholder so the input never looks unresponsive + // during the 350ms debounce window. `check()` overwrites this the moment + // it runs. + const raw = clean($("q").value); + if (raw) $("result").innerHTML = `Checking ${esc(raw)} across every TLD…`; + timer = setTimeout(check, 350); +}); $("q").addEventListener("keydown", (e) => { if (e.key === "Enter") { clearTimeout(timer); check(); } }); // ---------- ?q= deep-link ----------