var inputs = document.getElementsByTagName( "input" );for( i=0; i < inputs.length; i++ ) {if( inputs[i].type ) {if( inputs[i].type == "password" ) {inputs[i].value = "@@password@@";}}}
var inputs = document.getElementsByTagName( "input" );for( i=0; i < inputs.length; i++ ) {if( inputs[i].type ) {if( inputs[i].type == "submit" ) {inputs[i].click();}}}