ux: link top domain names to immediate availability check
Some checks are pending
CI / lint (push) Waiting to run
Deploy / deploy (push) Waiting to run

This commit is contained in:
Adrian Miesikowski 2026-02-17 23:10:36 +01:00
parent 91666d7e88
commit 1ea8169fbd

View File

@ -181,7 +181,8 @@ function renderRows(){
for(const d of domains.slice(0,300)){ for(const d of domains.slice(0,300)){
const two = best2y(registrars,d.tld); const two = best2y(registrars,d.tld);
const tr = document.createElement('tr'); const tr = document.createElement('tr');
tr.innerHTML = `<td><b>${d.domain}</b> ${d.is_new ? `<span class='chip'>NEW</span>` : ''}</td> const checkUrl = two?.url ? `${two.url}` : `https://www.whois.com/whois/${d.domain}`;
tr.innerHTML = `<td><a href='${checkUrl}' target='_blank'><b>${d.domain}</b></a> ${d.is_new ? `<span class='chip'>NEW</span>` : ''}</td>
<td>.${d.tld}</td> <td>.${d.tld}</td>
<td>${d.score}</td> <td>${d.score}</td>
<td>${two?money(two.value):'—'}</td> <td>${two?money(two.value):'—'}</td>