Simple code to reveal asterisk (*'s) password fields in your browser
Posted on July 30, 2008 by Andy Bailey

Here’s a little line of javascript that will work in Firefox to reveal the * characters in an auto populated password field. Just paste the following code into your browser address bar whenever you see an asterisked form field and press enter..
[code] javascript:var els = document.getElementsByTagName(’input’); for(var x=0; x<els.length; x++){ if(els[x].type.toLowerCase() == ‘password’ ){ var test = els[x].type = ‘text’;}} [/code]
Useful if if you want to access your sisters email account you forget a password that gets auto filled.
Filed under: Code | Tagged: asterisk, Code, javascript, password, reveal