To enable:
Chrome F12->Console:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15autoSearchTime=1500;
var runner = setInterval(function() {
if ($("#query_ticket")[0].innerText == "查询") {
console.log((new Date).getTime());
if ("none" == window.getComputedStyle(document.getElementById("autosubmitcheckticketinfo"), null).getPropertyValue("display")) {
$("#query_ticket").click();
console.log("Clicked");
} else {
window.clearInterval(runner);
console.log("Terminaled");
}
} else {
//console.log("Skip Click");
}
}, 1000);To cancel:
1
window.clearInterval(runner);