MCPcopy Create free account
hub / github.com/SKVNDR/FastDork / handleGoButtonClick

Function handleGoButtonClick

Script/FastDork.js:847–867  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

845 UI.listDelDropdown?.dispatchEvent(new Event("change"));
846 }
847 async function handleGoButtonClick() {
848 hideErrorTab1();
849 if (!UI.goButton?.classList.contains("go-button-ready")) {
850 const listCount = parseInt(UI.nbrCounter?.textContent || "0");
851 let message = "Cannot start: ";
852 if (!areTab1InputsValid(false)) {
853 message += "Please fill Target, select Engine and Dork List.";
854 } else if (listCount === 0) {
855 message += "Selected Dork List is empty.";
856 } else if (listCount > CONSTANTS.TAB_LIMIT) {
857 message += `Too many tabs (${listCount}/${CONSTANTS.TAB_LIMIT} max).`;
858 } else {
859 message += "Inputs invalid or list empty.";
860 }
861 showModal(message);
862 highlightInvalidTab1Inputs();
863 return;
864 }
865 updateAutoImportListVisibility();
866 showDorkOptionsModal();
867 }
868 function setDorkExecutionStarting(isStarting) {
869 isStartingDorkExecution = isStarting;
870 if (!UI.dorkOptionsProceed) return;

Callers

nothing calls this directly

Calls 6

hideErrorTab1Function · 0.85
areTab1InputsValidFunction · 0.85
showModalFunction · 0.85
showDorkOptionsModalFunction · 0.85

Tested by

no test coverage detected