Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

How to see passwords behind asterisk using html

Learning gets interesting when we try to break the boundaries surrounding it. Today let us see "how to see password behind the asterisk with basic HTML we learned", Woah!! don't panic; trust me, it's very simple.

Okay, let's get started!

Step 1: Open Mozilla Firefox  Then go to one of your login pages, such as Mozilla Persona, G-mail, Facebook or another login page and enter your username and password.

Step 2: The interesting part starts from here, so watch carefully. Now, highlight the password field by selecting it (which might be asterisks or dots), and then right-click on the selected area and choose Inspect Element. 

Step 3: Now, a window has appeared at the bottom of the screen with some HTML in it.  In the box you'll see a line highlighted with grey background.  It should look something like this: <input type="password" />.

Step 4: We're almost done. Just change type="password" to type="text".

Step 5: And we are done!!! Now in your password field you can see the password you typed. Please share this trick with your friends and community.

 

Document Tags and Contributors

 Contributors to this page: [email protected], [email protected]
 Last updated by: [email protected],