()
| 1412 | updatePayloadLineCount(); |
| 1413 | } |
| 1414 | function removeDuplicatePayloads() { |
| 1415 | if (!UI.payloadInput || typeof UI.payloadInput.value !== "string") return; |
| 1416 | const lines = UI.payloadInput.value.split("\n"); |
| 1417 | const uniqueLines = [ |
| 1418 | ...new Set(lines.filter((line) => line.trim() !== "")), |
| 1419 | ]; |
| 1420 | UI.payloadInput.value = uniqueLines.join("\n"); |
| 1421 | updatePayloadLineCount(); |
| 1422 | } |
| 1423 | async function saveDorkListContent() { |
| 1424 | if (!UI.listTab2 || !UI.payloadInput) return false; |
| 1425 | const selectedOption = UI.listTab2.options[UI.listTab2.selectedIndex]; |
no test coverage detected