Reveal The Contents of Password Fields
If you chose the “Remember” option for logins in webpages, you can reveal it easily. It doesn’t require any software to reveal hidden passwords under asterisks and don’t need to waste your time in cracking master password.
Simply enter the following line of javascript below at 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.”);})();
This method works on Internet Explorer, Firefox, Netscape and Opera. Turning off javascript will protect you from this hack but then you might face problems viewing websites that uses javascript.
Simple rule to protect your password. Do NOT save your password if you’re using a shared computer. If you’re using a public computer, make sure you clear the cache and private data just in case you accidentally saved your password.
Filed under: JavaScript, Security
