Skip to content

Commit

Permalink
Censys
Browse files Browse the repository at this point in the history
  • Loading branch information
dw5 committed Feb 18, 2021
1 parent 86e033e commit 01ca709
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions popup/server_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<br>IP Info via <a target="_blank" rel="noopener noreferrer" href="#" id="ipcn" title="go to ip.cn">ip.cn</a>
<br>IP Info via <a target="_blank" rel="noopener noreferrer" href="#" id="ipinfoio" title="go to ipinfo.io">ipinfo.io</a>
<br>IP Info via <a target="_blank" rel="noopener noreferrer" href="#" id="wimipa" title="go to whatismyipaddress.com">whatismyipaddress.com</a>
<br>IPv4 Info & Ports via <a target="_blank" rel="noopener noreferrer" href="#" id="censys" title="go to censys.io">censys.io</a>

</p>

Expand Down
3 changes: 2 additions & 1 deletion popup/server_detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function html(id,html){$(id).innerHTML=escapeHTML(html)};

html("header",headers.header);

html("headersrv",headers.server+" 0(Lookup)");
html("headersrv",headers.server+" (Lookup)");
$("headersrv").href="http://ddg.gg/?q="+headers.server;

html("ip",headers.ip);
Expand All @@ -15,6 +15,7 @@ $("ibip").href="https://www.infobyip.com/ip-"+headers.ip+".html";
$("ipcn").href="http://ip.cn/index.php?ip="+headers.ip;
$("ipinfoio").href="https://ipinfo.io/"+headers.ip;
$("wimipa").href="https://whatismyipaddress.com/ip/"+headers.ip;
$("censys").href="https://censys.io/ipv4/"+headers.ip;

var width=headers.url.length>100?headers.url.length:100;

Expand Down

0 comments on commit 01ca709

Please sign in to comment.