Simple code to reveal asterisk (*'s) password fields in your browser

Here’s a little line of javascript that will work in Firefox to reveal the * characters in an auto populated password field. Just paste the following code into your browser address bar whenever you see an asterisked form field and press enter..

 javascript:var els = document.getElementsByTagName('input'); for(var x=0; x<els.length; x++){ if(els[x].type.toLowerCase() == 'password' ){ var test = els[x].type = 'text';}} 

Useful if if you want to access your sisters email account you forget a password that gets auto filled.

About Andy

This is my personal website where I (occasionally) post about things going on in the world of me. I am the creator of CommentLuv and administrator of comluv.com
Code , , , , ,

25 responses to Simple code to reveal asterisk (*'s) password fields in your browser


  1. Doh, that looks so easy to implement. I didn’t even know that you could reverse it like that!

    Susans last blog post..What are Short Sales?

  2. Daaaaang that’s tight, does it work on Internet Explorer? I wonder if this is a bug or they just don’t think its that big of a deal.

  3. Is this a flaw in Firefox? I’d be interested to see if, and when, this gets plugged by Mozilla.

    Jamess last blog post..Want a JVC LT-42DV8?

  4. wow…
    it works!!!
    wonderfull :)

    cebhonks last blog post..Greatest Car In The World

  5. Wow… that’s a pretty good one…. very shocking, but pretty cool…. like commenter above… i do hope it gets plugged soon.

    Link Building Bibles last blog post..Why I Promote Link Building Not PageRank

  6. Hi Andy, I think this is a great share…
    I would like to ask your permission to translate this post into Bahasa Indonesia and post it in my blog. I promise to put link to this post as a source.

    regards,
    Darkum Sudiro.

    Terasi Rumahs last blog post..Page Rank Update for Terasi Rumah, July 2008

  7. I use Forms -> Show Passwords in the Web Developer extension to do the same thing. Useful when you have passwords saved for a site but can’t remember what it is.

    Adam Dempseys last blog post..The Streets Announce UK Tour Dates!

  8. Pingback: How to reveal asterisk (*’s) password fields in Firefox… | GadgetLite - Latest gadgets and technology news...

  9. This is truly amazing. Thank you. Very useful, I can assure you.

    Nicole Prices last blog post..Custom T-shirts

  10. Doesn’t work in IE, though, does it?

    That’s where I have most of my forgotten paswords. Sigh!

    Erum Munirs last blog post..Is Google Experimental going to change the face of SEO forever?

  11. Pingback: A Little Hack to Get Your Password Back | ErumMunir.com

  12. Nice- I DO hope its plugged soon. I don’t really have much use for this sort of thing but it was simple.

  13. Thank you very much for the great information..

  14. Great information, Thank You for sharing……….

  15. Thanks for the useful information

  16. HEH! why Java so cOol with their script! damn…thanks for sharing this! heheh finaly i can hek my sis email

  17. Wow!!I loved it and wrote this on my log too..
    http://www.techstyro.blogspot.com

  18. You sure thats a good password?

    Kinda simple I would think.

    Thats a sweet little snippet of code though, thanks.

  19. jeff: lol, I changed it to that before I posted this so I could use it as an example. I wonder how many people have tried to log into my account?!

  20. works like wonder :) thank you Andy

    Anti Scams Product Reviewss last blog post..Is Cash4Gold a Scam?

  21. aspr: you’re welcome! I just had to use it myself again

  22. Luz

    This is great information. I don’t know how many times I’ve had a “brain fart” when trying remember my passwords. I try to keep a log of them, but I always forget a few of them.Luzs last blog post..Earn some easy money with Bux.to – Join Today!

  23. ddd

    Neat! But in tools, options, under the security tab you can see them anyway so neat…!

  24. ddd: you know, it’s having a blog that helps me get to find out nuggets like this from people like you.

    I had no idea they were there for the gandering! haha, silly me!

    shame you’re anonymous, I woulda linked to you in a new post about passwords!

  25. Nice one Andy. I remember writing a similar windows app to do that.

    back in the days :)

    Anti Scams´s last blog post..Acai Berry + Colon Cleanse Scam ?