360 is the most awesome ...
But recently in the use of 360 browser to rob a ticket, but also found some bad experience, such as to get out of the login, sometimes can help you automatically log in, but automatically log in will not help you automatically start to rob. And then the verification code failed after several times
The process stopped, so it was necessary to be guarded.
Since 360 browser is using chrome kernel and provide debugging function, so we write a small section JS let 360 achieve unattended Rob ticket purpose
SetInterval (function () { if ($ ('. Username '). HTML ()! = undefined && $ ('. Username '). HTML ()! = ") { if ($ ( ' #btn_refresh '). attr (' class ') = = ' Start ') { $ (' #btn_refresh '). Click (); } } else { if (!$ ('. Randcode-select '). Is (": visible")) { $ ('. Randcode-start '). Click (); SetTimeout (function () { if ($ ('. Error_tips_randcode '). html (). toString (). INDEXOF (' Automatic identification ') > 0 | | $ ('. Error_ Tips_randcode '). html (). toString (). IndexOf (' you ') { //Click the login button $ ('. Submit '). Click (); } }, 1800) } else { $ ('. Randcode-start '). Click ();}} , 5000)
Open 360 Press F12 and the debugger will pop up and test it yourself.
360 Automatic ticket is not enough, a few lines JS code set unattended