MCPcopy Create free account
hub / github.com/adobe/Marinus / continueBuildPage

Function continueBuildPage

web_server/public/javascripts/ip_range.js:40–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40function continueBuildPage() {
41 document.getElementById("search_form").addEventListener("submit", queries);
42
43
44 if (ScanDataSources.includes("censys")) {
45 useCensys = true;
46 }
47
48 var searchVal = qs("search");
49 if (searchVal) {
50 document.getElementById("search_input").value = searchVal;
51 queries();
52 }
53
54 if (DynamicWhoisEnabled) {
55 let whois_header = document.createElement('h4');
56 whois_header.innerHTML = "Dynamic Whois";
57 let whois_div = document.createElement('div');
58 whois_div.id = "dynamic_whois";
59 whois_div.style = "bg-light";
60 whois_div.appendChild(create_button("Perform lookup", "whoisLookup"));
61 document.getElementById("dynamic_whois_section").appendChild(whois_div);
62 document.getElementById("whoisLookup").addEventListener("click", whois_lookup);
63 }
64}
65
66function populateDivRefTable(results) {
67 for (let result in results['sources']) {

Callers 1

populateDivRefTableFunction · 0.85

Calls 3

qsFunction · 0.85
create_buttonFunction · 0.85
queriesFunction · 0.70

Tested by

no test coverage detected