javascript:!function(){var t="https://whoisdomain.charlie0simmon.workers.dev",e="1MsiteTraffic",n={},o="dwc7",a=[],r=[];function i(t){return t&&0!==t?t>=1e9?(t/1e9).toFixed(1)+"B":t>=1e6?(t/1e6).toFixed(1)+"M":t>=1e3?(t/1e3).toFixed(1)+"K":t+"":"-"}function d(a){return new Promise(function(r){if(n[a]&&n[a].d)r({d:a,data:n[a].d,c:1});else{var i={date:null,tr:null,trRaw:null};Promise.all([fetch(t+"/api/whois?domain="+encodeURIComponent(a)+"&key="+e).then(function(t){return t.json()}).catch(function(){return null}),fetch(t+"/api/traffic/"+encodeURIComponent(a)+"?key="+e).then(function(t){return t.json()}).catch(function(){return null})]).then(function(t){var e=t[0],d=t[1];if(e&&e.parsed&&e.parsed.registered)try{var p=new Date(e.parsed.registered);isNaN(p.getTime())||(i.date=p.getFullYear()+"."+(p.getMonth()+1).toString().padStart(2,"0")+"."+p.getDate().toString().padStart(2,"0"))}catch(t){}if(d&&d.data&&d.data.traffic){var m=function(t){if(!t||"object"!=typeof t)return null;var e=Object.keys(t).sort().reverse();return e.length>0?t[e[0]]:null}(d.data.traffic);m&&(i.tr=m,i.trRaw=m)}n[a]={d:i,t:Date.now()},function(){try{localStorage.setItem(o,JSON.stringify(n))}catch(t){}}(),r({d:a,data:i})}).catch(function(){r({d:a,data:i})})}})}function p(){if(0!==r.length){var t="Domain,Registration Date,Traffic\n";r.forEach(function(e){t+=e.domain+","+(e.date||"")+","+(e.trRaw||"")+"\n"});var e=new Blob([t],{type:"text/csv;charset=utf-8;"}),n=document.createElement("a");n.href=URL.createObjectURL(e),n.download="domains_"+(new Date).toISOString().slice(0,10)+".csv",n.click()}else alert("没有数据可导出")}!function(){try{var t=localStorage.getItem(o);if(t){var e=JSON.parse(t),a=Date.now();for(var r in e)e[r]&&e[r].t&&a-e[r].t<864e5&&(n[r]=e[r])}}catch(t){}}();var m=document.getElementById("dwb");m&&m.remove(),document.querySelectorAll(".dwm-tag").forEach(function(t){t.remove()}),document.querySelectorAll(".dwm-tagged").forEach(function(t){t.classList.remove("dwm-tagged")}),function(){var t=function(){var t=new Set,e=/\ba-z0-9?.[a-z]{2,}\b/gi;return function n(o){if(3===o.nodeType){var a=o.textContent.match(e);a&&a.forEach(function(e){e.length>3&&e.indexOf(".")>0&&t.add(e.toLowerCase())})}else if(1===o.nodeType&&!/^(SCRIPT|STYLE|NOSCRIPT|SVG)$/i.test(o.tagName))for(var r=0;r\🔍 Domain Info ('+t.length+')\\\\\
\
\查询中...\
\\
\\\\
',document.body.appendChild(e),document.getElementById("_dcb_").onclick=function(){e.remove()},document.getElementById("_dex_").onclick=p,document.getElementById("_dtb_").onclick=function(){window.open("https://traffic.cv/bulk?domains="+a.join(","),"_blank")},document.getElementById("_dtm_").onclick=function(){window.open("https://trendismoney.org/bulk?domains="+a.join(","),"_blank")};var n=document.getElementById("_dwl_"),o=0,m=t.length;!function e(a){if(a>=t.length)return document.getElementById("dws").innerHTML="✅ 完成 ("+o+"/"+m+")",void function(t){var e=document.createElement("style");e.textContent=".dwm-tag{display:inline-block!important;margin-left:4px!important;padding:1px 5px!important;background:#1e293b!important;color:#4ade80!important;font-size:10px!important;border-radius:3px!important;font-family:monospace!important;vertical-align:middle!important;}.dwm-tag.no-data{color:#64748b!important;}",document.head.appendChild(e);var n={};t.forEach(function(t){n[t.domain]=t});var o=/\b(a-z0-9?.(?:com|net|org|io|co|ai|app|dev|xyz|me|info|biz|cc|tv|us|uk|de|fr|cn|jp|kr|ru|br|in|au|ca|it|es|nl|se|no|fi|dk|pl|cz|at|ch|be|pt|gr|tr|mx|ar|cl|za|nz|sg|hk|tw|my|th|vn|ph|id))\b/gi;!function t(e){if(!("dwb"===e.id||e.closest&&e.closest("#dwb")))if(3===e.nodeType){var a=e.textContent,r=a.match(o);if(r&&r.length>0){var d=e.parentNode;if(d&&d.closest&&d.closest("#dwb"))return;if(d&&!d.classList.contains("dwm-tagged")&&!/^(SCRIPT|STYLE|NOSCRIPT|SVG|INPUT|TEXTAREA)$/i.test(d.tagName)){var p=document.createDocumentFragment(),m=0,c=a;r.forEach(function(t){var e=t.toLowerCase(),o=c.toLowerCase().indexOf(e,m);if(o>=0){o>m&&p.appendChild(document.createTextNode(c.slice(m,o))),p.appendChild(document.createTextNode(c.slice(o,o+t.length)));var a=n[e];if(a){var r=document.createElement("span");r.className="dwm-tag"+(a.date||a.tr?"":" no-data"),r.textContent=(a.date||"-")+" | "+i(a.trRaw),p.appendChild(r)}m=o+t.length}}),m<c.length&&p.appendChild(document.createTextNode(c.slice(m))),d.classList.add("dwm-tagged"),d.replaceChild(p,e)}}}else 1!==e.nodeType||/^(SCRIPT|STYLE|NOSCRIPT|SVG)$/i.test(e.tagName)||"dwb"===e.id||Array.from(e.childNodes).forEach(function(e){t(e)})}(document.body)}(r);d(t[a]).then(function(t){o++,r.push({domain:t.d,date:t.data.date,tr:i(t.data.tr),trRaw:t.data.tr});var d=document.createElement("div");d.style.cssText="display:flex!important;align-items:center!important;padding:8px 10px!important;background:#334155!important;border-radius:6px!important;margin-bottom:4px!important;font-size:12px!important;gap:10px!important;";var p=document.createElement("span");p.style.cssText="width:85px!important;flex-shrink:0!important;font-weight:600!important;color:"+(t.data.date?"#4ade80":"#64748b")+"!important;",p.textContent=t.data.date||"-";var c=document.createElement("a");c.href="https://"+t.d,c.target="blank",c.style.cssText="flex:1!important;color:#f1f5f9!important;text-decoration:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;",c.textContent=t.d,c.title=t.d;var l=document.createElement("span");l.style.cssText="width:55px!important;flex-shrink:0!important;text-align:right!important;font-weight:600!important;color:"+(t.data.tr?"#60a5fa":"#64748b")+"!important;",l.textContent=i(t.data.tr),d.appendChild(p),d.appendChild(c),d.appendChild(l),n.appendChild(d),document.getElementById("_dws").textContent="查询中 "+o+"/"+m+(t.c?" ⚡":""),setTimeout(function(){e(a+1)},t.c?50:350)})}(0)}else alert("没有找到域名")}()}();
本文档为站内渲染。原始文件本地路径:saas/source/bookmarks-code/书签代码-whois-ca0e02.md(仅本地保留,不入库不部署)