Skip to content

Instantly share code, notes, and snippets.

@rposbo
Created October 14, 2011 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rposbo/1287103 to your computer and use it in GitHub Desktop.
Save rposbo/1287103 to your computer and use it in GitHub Desktop.
forgotten password reminder
var e=document.getElementsByTagName('input'); for(var i=0;i<e.length;i++){if (e[i].getAttribute('type')=='password') {alert(e[i].value);}}
@rposbo
Copy link
Author

rposbo commented Oct 14, 2011

pop that in your browser address bar with a "javascript:" prefix whilst you're on a login page for which your browser has remembered the password for you and it should pop it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment