NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name LMS.login // @match http://lms.apaxenglish.com/* // @match http://lms.apaxenglish.com/#/counseling/studentEdit/* // @license MIT // @icon http://pics.smotri.com/cskins/blue/smiles/bt.gif // @require http://code.jquery.com/jquery-latest.js // ==/UserScript== var checkExist1 = setInterval(function() { if ($('#login_id').length) { //alert("The paragraph was clicked."); $('#login_id').val('nhidty'); $('#login_password').val('8888'); //$("button:contains(Login)").attr("id","continue"); document.getElementById('btn_login').click(); clearInterval(checkExist1); } }, 200); // check every 100ms