NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name login480+ // @match http://192.168.1.1/* // @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 ($('#txt_usr_name').length) { //alert("The paragraph was clicked."); $('#txt_usr_name').val('1'); $('#txt_password').val('1'); //$("button:contains(Login)").attr("id","continue"); document.getElementById('btn_logon').click(); clearInterval(checkExist1); } }, 200); // check every 100ms