See the Contents of Password Fields Easily

When you go to a site that shows a password field, have you ever wondered what was behind those stars?  Instead of viewing source and finding that spot in the code you can easily run this piece of javascript in the url bar of Chrome and Firefox

javascript: var oInputs = new Array();oInputs = document.getElementsByTagName( ‘input’ );for ( i = 0; i < oInputs.length; i++ ){     if ( oInputs[i].type == ‘password’ )    { oInputs[i].type =’text’; }}alert(‘done’);

Just make sure the javascript word is there (chrome seems to automatically remove it).  When you run this it will change the password fields to clear text and then notify you that it finished.

This entry was posted in Hacks. Bookmark the permalink.

Leave a Reply