diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-06-03 13:09:04 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-06-03 13:09:04 +0530 |
| commit | a38b8ca3c6146c2db03167d6ff94e445d756a202 (patch) | |
| tree | 0d315bd68158336d4241cec75685a8b15b4c00d6 /src/scripts/functionality/application-receipt.ts | |
| parent | 7ea487be4aaf8f3b3047e2a7b3c1da80744f258b (diff) | |
| download | banglar-bhumi-utils-a38b8ca3c6146c2db03167d6ff94e445d756a202.tar.gz banglar-bhumi-utils-a38b8ca3c6146c2db03167d6ff94e445d756a202.zip | |
Added captha removal and autocomplete to GRN search.
Diffstat (limited to 'src/scripts/functionality/application-receipt.ts')
| -rw-r--r-- | src/scripts/functionality/application-receipt.ts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/scripts/functionality/application-receipt.ts b/src/scripts/functionality/application-receipt.ts deleted file mode 100644 index a86405f..0000000 --- a/src/scripts/functionality/application-receipt.ts +++ /dev/null @@ -1,23 +0,0 @@ -$("#form_reprint_request") - .removeAttr("id") - .removeAttr("name") - .removeAttr("onsubmit") - .removeAttr("target") - .removeAttr("autocomplete") - .removeAttr("rel"); - -const captchaElement = $("#werter > div > div:nth-child(4)"); - -if (captchaElement.length > 0) { - const captchaValueElement = $("#captchaText"); - const captchaFieldElement = $("[name=txtDrawText]"); - - const captcha = () => { - captchaFieldElement.val("FFFFFF"); - captchaValueElement.val("FFFFFF"); - captchaElement.hide(); - }; - - captcha(); - setInterval(captcha, 1000); -} |
