-
-
Save gali1/f53dc1a34654976960fe85e4ce5395f6 to your computer and use it in GitHub Desktop.
Code : Captcha Bypass Script (Grease Monkey Version)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name PNR Captcha Bypass | |
| // @namespace http://www.indianrail.gov.in/pnr_Enq.html | |
| // @description Autofill Captcha on Indian Railways Website for PNR Enquiry | |
| // @include http://www.indianrail.gov.in/pnr_Enq.html | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| window.addEventListener('load', function() { | |
| document.getElementById("txtInput").value=document.getElementById("txtCaptcha").value; | |
| }, false); | |
| var e = document.getElementById("btnrefresh"); | |
| e.addEventListener("click", modifyText, false); | |
| function modifyText() { | |
| document.getElementById("txtInput").value=document.getElementById("txtCaptcha").value; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment