diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-03-12 18:39:36 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-03-12 18:39:36 +0530 |
| commit | 7ea487be4aaf8f3b3047e2a7b3c1da80744f258b (patch) | |
| tree | a4f91d979fe838aefe2ab8c4cecd9037b879e0aa /src/scripts/functionality/application-receipt.ts | |
| parent | 95becf369822cbb74f4cefb5658f3ff97e164d6e (diff) | |
| download | banglar-bhumi-utils-7ea487be4aaf8f3b3047e2a7b3c1da80744f258b.tar.gz banglar-bhumi-utils-7ea487be4aaf8f3b3047e2a7b3c1da80744f258b.zip | |
Passing url of extension assets to the injected javascript code using data arguments on the script tag.
Diffstat (limited to 'src/scripts/functionality/application-receipt.ts')
| -rw-r--r-- | src/scripts/functionality/application-receipt.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/scripts/functionality/application-receipt.ts b/src/scripts/functionality/application-receipt.ts index 704d865..a86405f 100644 --- a/src/scripts/functionality/application-receipt.ts +++ b/src/scripts/functionality/application-receipt.ts @@ -12,9 +12,12 @@ if (captchaElement.length > 0) { const captchaValueElement = $("#captchaText"); const captchaFieldElement = $("[name=txtDrawText]"); - setInterval(() => { + const captcha = () => { captchaFieldElement.val("FFFFFF"); captchaValueElement.val("FFFFFF"); captchaElement.hide(); - }, 1000); + }; + + captcha(); + setInterval(captcha, 1000); } |
