Created
August 28, 2012 02:53
-
-
Save venj/3494514 to your computer and use it in GitHub Desktop.
auto input capcha for you.
This file contains 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 aotucapcha | |
// @namespace http://218.90.160.85:9090/bustravelguide/default.aspx | |
// @description Auto enter capcha | |
// @include http://218.90.160.85:9090/bustravelguide/default.aspx | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
document.addEventListener('DOMContentLoaded', function(){ | |
// DOM ready. | |
var capchaStatus = document.getElementById("hidJudgeFlg").value | |
if (capchaStatus == 1) { | |
document.getElementById("txtRandom").value = document.getElementById("txtRandom_Std").value; | |
document.getElementById("linkBtnQuery").click(); | |
} | |
Alert("Heell"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment