diff options
Diffstat (limited to 'src/scripts/autofill-captcha.ts')
| -rw-r--r-- | src/scripts/autofill-captcha.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/scripts/autofill-captcha.ts b/src/scripts/autofill-captcha.ts index 8caac1c..f290fda 100644 --- a/src/scripts/autofill-captcha.ts +++ b/src/scripts/autofill-captcha.ts @@ -1,4 +1,4 @@ -setInterval(() => { +const autofillCaptcha = () => { let captchas = Array.from(document.querySelectorAll("#txtCaptcha")) as HTMLInputElement[]; for (const captcha of captchas) { @@ -21,4 +21,8 @@ setInterval(() => { } } } -}, 5000); + + setTimeout(autofillCaptcha, 1000); +}; + +autofillCaptcha(); |
