()
| 111 | } |
| 112 | |
| 113 | function getWhoisList() { |
| 114 | clearErrorHandler(); |
| 115 | var id = this.id.split("_link")[0]; |
| 116 | var url; |
| 117 | if (DnssecValues.indexOf(id) !== -1) { |
| 118 | url = "/api/v1.0/whois_db?dnssec=" + id; |
| 119 | document.getElementById("tableTitle").innerHTML = "<h3>" + id + " Results</h3>"; |
| 120 | } else if (DnsServerList.indexOf(id) !== -1) { |
| 121 | url = "/api/v1.0/whois_db?name_server=" + id; |
| 122 | document.getElementById("tableTitle").innerHTML = "<h3>" + id + " Results</h3>"; |
| 123 | } else { |
| 124 | var email_id; |
| 125 | for (var key in DnsEmails) { |
| 126 | if (DnsEmails[key] === id) { |
| 127 | email_id = DnsEmails[key]; |
| 128 | } |
| 129 | } |
| 130 | url = "/api/v1.0/whois_db?email=" + email_id; |
| 131 | document.getElementById("tableTitle").innerHTML = "<h3>" + id + " Results</h3>"; |
| 132 | } |
| 133 | |
| 134 | make_get_request(url, displayWhoisList); |
| 135 | } |
| 136 | |
| 137 | function assignWhoisEventListeners() { |
| 138 | for (let i = 0; i < DnsServerList.length; i++) { |
nothing calls this directly
no test coverage detected