Home » Featured, Tips and Tutorials

How to reveal asterisk (*’s) password fields in Firefox…

Posted on July 31st, 2008 by Editorial Staff in Featured, Tips and Tutorials

Here’s a neat little trick I just came across over at FiddyP, it’s not really a hack, just a simple code, a line of javascript that anyone can use without needing to know how it works. Without even needing me to explain it, the picture below pretty much describes it…

Reveal Password Trick Firefox Browser

All you got to do is just copy and paste the following code into your browser address bar whenever you see an asterisked form field and press enter…

  1. 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’;}}

The only downside is, this works only on Firefox and not any other browser!

[via FiddyP]

Related Posts with Thumbnails

Grab our free newsletter

Receive our latest articles in your email inbox completely free. Enter your email address below (no spam, we promise!):

We never disclose our readers' information without prior consent.

  • Gad
    Oh right, I completely forgot about that addon Stewart, thanks for mentioning.
  • Nice trick!

    The "Unhide Passwords" FireFox add-on does the same thing but without the pain o having to post the JS.
  • This is a neat little trick! Great post.
blog comments powered by Disqus