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

July
30

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..

[code] 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';}} [/code]

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

Code


25 Comments zu “Simple code to reveal asterisk (*'s) password fields in your browser”

  1. Susan
    30.07.08 5:54 pm

    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?

    #1

  2. Adrian
    30.07.08 6:42 pm

    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.

    #2

  3. James
    30.07.08 10:23 pm

    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?

    #3

  4. cebhonk
    31.07.08 2:33 am

    wow…
    it works!!!
    wonderfull :)

    cebhonks last blog post..Greatest Car In The World

    #4

  5. Link Building Bible
    31.07.08 3:40 am

    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

    #5

  6. Terasi Rumah
    31.07.08 5:41 am

    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

    #6

  7. Adam Dempsey
    31.07.08 12:25 pm

    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!

    #7


  8. Nicole Price
    31.07.08 5:44 pm

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

    Nicole Prices last blog post..Custom T-shirts

    #9

  9. Erum Munir
    01.08.08 7:57 am

    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?

    #10

  10. A Little Hack to Get Your Password Back | ErumMunir.com
    01.08.08 8:11 am

    [...] found this little tip at: FiddyP (it’s a really cool blog [...]

    #11

  11. Tim J
    01.08.08 2:16 pm

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

    #12

  12. Garden flags
    01.08.08 8:48 pm

    Thank you very much for the great information..

    #13

  13. yard flags
    01.08.08 11:01 pm

    Great information, Thank You for sharing……….

    #14

  14. 511 pants
    02.08.08 1:26 pm

    Thanks for the useful information

    #15

  15. Najib Hassan
    03.08.08 2:50 pm

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

    #16

  16. himanshu
    13.08.08 2:44 pm

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

    #17

  17. Jeff
    17.08.08 10:59 am

    You sure thats a good password?

    Kinda simple I would think.

    Thats a sweet little snippet of code though, thanks.

    #18

  18. Andy Bailey
    21.08.08 10:25 pm

    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?!

    #19

  19. Anti Scams Product Reviews
    28.08.08 4:13 am

    works like wonder :) thank you Andy

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

    #20

  20. Andy Bailey
    28.08.08 11:11 am

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

    #21

  21. Luz
    11.09.08 3:59 pm

    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!

    #22

  22. ddd
    14.10.08 8:39 am

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

    #23

  23. Andy Bailey
    14.10.08 11:47 am

    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!

    #24

  24. Anti Scams
    10.12.08 7:28 pm

    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 ?

    #25