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

Function createWhoisSearchBox

web_server/public/javascripts/whois.js:43–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43function createWhoisSearchBox() {
44 let whoisHTML = '<h3>Whois</h3>\n';
45 whoisHTML += '<form id="whois_search"><label id="zoneLabel" for="whois_input">Please enter a zone.</label>\n';
46 whoisHTML += '<input type="text" value="" name="whoisSearch" id="whois_input"></input></form>\n';
47 whoisHTML += '<div id="dynamic_whois" class="bg-light"></div>\n';
48 document.getElementById("dynamicWhoisSection").innerHTML = whoisHTML;
49 document.getElementById("whois_search").addEventListener("submit", whois_lookup);
50}
51
52if (DynamicWhoisEnabled) {
53 createWhoisSearchBox();

Callers 1

whois.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected