Magento Wizard
Latest Stories: 

Write articles for us and make money!  Make Money

Reveal a Password in Internet Explorer or Firefox…

 Add to Favourites   Email This Post Email This Post
 Very handy...  This Blog WASN\'TThis Blog WAS
Loading ...

Ever come across a page which has got a username and password pre-populated but you don’t know what the password is as it is merely a bunch of asterisks? Obviously, you can login by clicking Submit, but you can’t actually see what the password is. Until now…

With certain web-sites, you can simply copy and paste a long line of Javascript below, and paste it into your address bar (on the page that the hidden password is on). This will then reveal the password for you in a little pop-up box! Childs play…

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

Obviously, this re-inforces the fact that you should always click “Do Not Remember My Password” on computers where other people will have access - this includes anything from public libraries, a mates house, or even your own computer! As I said, this only works on some web-sites, however, it can be pretty useful on the web sites that it does work on…Enjoy.

Digg   del.icio.us   Facebook   Google   LinkedIn   Live   Reddit   StumbleUpon   Technorati   TwitThis  

about the author

    This article was written by Sam Davis on June 30, 2008.
    Computing over a glass of Grenache Shiraz... again!
    Sam encourages you to make money by writing articles for us! Learn More

related articles

no matches

comments

One Response to “Reveal a Password in Internet Explorer or Firefox…”

  1. Kalimari on September 11th, 2008

    Thanks! That is an excellent tip.

Leave a Reply






    Magento Hosting
    Magento Themes
    Just wanted to say that Inline translating is the best thing ever. I love magento....
  • Sponsored Ads

  • The New Blasted Thing

    Blasted Thing has recently undergone an essential re-design, as we prepare to welcome a host of new features in to our web-site.

    We will continue to be gathering useful articles, tutorials and advice regarding Magento - and we'll be focusing on a number of hosting and theme companies which we have independently verified.

  • Translate this page

    Translate