Magento WizardNo joke, this website relaunches on 1st April. New look, new features!

Contact the site  Make Money

Reveal a Password in Internet Explorer or Firefox…

 Add to Favourites  
(No Ratings Yet)
Loading ... 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 is the Editor of Blasted Thing. Contact Us

related articles

no matches

comments

2 Responses to “Reveal a Password in Internet Explorer or Firefox…”

  1. Kalimari on September 11th, 2008

    Thanks! That is an excellent tip.

  2. Andrew Patrick on November 6th, 2009

    Interesting, but I disagree with your advice about not saving passwords in the browser of your home computer.

    Over at NetSafetyGuide.com I encourage people to use the save feature in their browser as long as they set a master password. Once it is set, without the master passwords, the site passwords cannot be decrypted so the display trick will be useless.

    Besides, the trick is not needed — users can simply view the passwords stored in the browser Options interface. In Firefox, for example, it is under Preferences (or Options) > Security > Saved Passwords.

Leave a Reply




Spam protection by WP Captcha-Free




  • Sponsored Ads

  • Magento Themes
    • vtiger: great article, thank you....
  • Recent Tweets

    Magento maintenance needed on contract basis: Web developer posted on Monday, March 8, 2010 C... http://cli.gs/QJbDT #magento #jobs

    Curso Magento Templates e Customizações de Layouts - Rio de Janeirro 26/03 http://ow.ly/1oOcV #cursodeseo @cursodeecommerc

    xt:commerce >> Magento Migrations-Modul http://bit.ly/aOh8cx

    Magento Expert - oDesk: Hello I have 2 bugs on my magento theme and I need magento expert to fix it. Bugs, 1. Crea... http://bit.ly/9txzYb

    #freelance #job #Fix #Mysql #Database Error: Fix MySql database error on a #magento website… http://goo.gl/fb/6sOF