See Password Fields Masked Values.

Tuesday, April 19, 2016

Tags: password, masked value, javascript

Do you need to see the password in a password fields? Then here is how to See Password Field's Masked Value as a Clear Text

This method may not work for all password fields on the websites but it works most of the times. So you can give it a try.

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 or Chrome). 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.");})();




© 2024 - DJames.net