()
| 149 | } |
| 150 | |
| 151 | function getVTList() { |
| 152 | clearErrorHandler(); |
| 153 | var id = this.id.split("Button")[0]; |
| 154 | var url; |
| 155 | if (vtTypes.indexOf(id) !== -1 && id !== "pcaps") { |
| 156 | url = "/api/v1.0/virustotal/domainDetected?type=" + id; |
| 157 | } else { |
| 158 | url = "/api/v1.0/virustotal/domainPcaps"; |
| 159 | } |
| 160 | document.getElementById("tableTitle").innerHTML = "<h3>" + id + " Results</h3>"; |
| 161 | |
| 162 | make_get_request(url, displayVtList, id); |
| 163 | } |
| 164 | |
| 165 | function assignVTEventListeners() { |
| 166 | for (let i = 0; i < vtTypes.length; i++) { |
nothing calls this directly
no test coverage detected