()
| 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; |
nothing calls this directly
no test coverage detected