See Passwords Behind Asterisks

This is one of the coolest trick which you can perform using Javascript. This trick will allow you to view passwords behind Asterisk.

You can use this trick on any web page which contains password hidden behind Asterisk.

To view saved passwords behind asterisk, just open the web page having the password in the password box. After opening the web page paste the javascript given below in the address bar and hit enter.

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.”);})();


That’s it.