In another question on this site, someone recommended creating a bookmark with the following javascript in the URL box to automatically fill in your user name and password on a website in Chrome:
javascript:function%20enterLogin(){username="your_username";password="your_password";document.getElementById('user_name').value=username;y=document.getElementById('password').value=password;}enterLogin();
My question is whether there is any way to alter this code so that it sends an "enter" key press to the browser after it enters your user name and password (to eliminate one more step).