View Browser’s Stored Passwords
Now THIS is a handy little piece of Javascript to have. I have plenty of passwords which Firefox remembers better than I do for lots of websites. This little piece of code saved to a bookmark can reveal those!
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.");})();
Save that link into a bookmarklet on your bookmarks toolbar, and it will display a popup for any passwords on a page.

When you click on the bookmark, you will now be greeted with a popup listing your password.

I need not explain the danger of this script, and as usual, I accept no responsibility for the use of this…


