Web Analytics

Windows Guides Feed

Do you use the “Remember Me” Option when you log in to your favourite websites ? I Know I do. Problem is when I want to log into a site, on a different computer. Trying to remember those pesky passwords can be quite the challenge. Especially if the site insists on providing one for you. I usually click on “Remember Me” on the first login and rarely remember to change the password into something simpler.

So what do you do, when you want to log into another computer ? Reading those asterisks won’t do you any good. The only solution left would be to click on “Forgot My Password”. Or is it ?

Javascript, to the rescue…

This little neat trick can be used on every website, where you have a password hidden by the asterisks (*). Unless of course, your password does consist of asterisks…

On the page that shows your concealed password like this: *******. Stop loading the page if neccessary, then Select the text inside the formfield below, copy and paste it into the URL-field (optionally, you can add the script as a power button, and place it in your toolbar):

This will open an alert message revealing the password in cleartype.

About Thomas

Computer geek from the age of 7, which amounts to 30 years of computer experience. From the early days (when every computer company had their own OS) of DOS, Windows 1.0 through Seven...

Free PC tips by email

Search Windows Guides


6 thoughts on “Reveal asterisk passwords using javascript [Quick Tip]”

  1. neil says:

    I can’t copy the from either the email or the web page. Probably very helpful, but in this form, totally useless…

    1. Anonymous says:

      Try this link instead: http://operawiki.info/PowerButtons#retrievewand

      or copy the script from here:
      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 + ' '; } } if (s) alert('Passwords in forms on this page: ' + s); else alert('There are no passwords in forms on this page.');})();

      1. neil says:

        Many thanks, Thomas!! :)

  2. JohannX says:

    it worked! hehe

  3. Cliff358 says:

    I really like this. Is there a way to create a button for IE?

    1. Anonymous says:

      While you wait for my article, you can try this tool:

Comments are closed.

Computer tips in your inbox
Sign up for the Windows Guides newsletter to get PC tips and access to free Windows books (More details)

Subscribe now
Popular Guides

See which sites have been visited on your PC (even if private browsing mode is used)

Create a Windows 7 System Repair Disc

Best Free Anti-malware

Hibernate vs. Sleep vs. Shut-Down

i3, i5, and i7; Dual, Quad, Hexa Core Processors. How to they Differ?

Intel's Ivy Bridge Processor: new Features

Submit Your Tip
Submit your computer tip to us; receive full credit for all published tips

Windows Guides on Facebook