How to See Password Field's Masked Value as a Clear Text

You can see as a clear text for what there is in the password fields that you normally see asterisks or dots. The only thing you need to do is to paste the code below into the address bar of your browser (Internet Explorer or Firefox). Of course you first need to get to the page where the password field is and the password field must be filled already.

JavaScript Code:

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();




Name
E-Mail
Question or Comment