How to Reveal Asterisks Password on Log In Page

How to Reveal Asterisks Password on Log In Page


There's a funny story behind this tips and trick How to Reveal Asterisks Password on Log In Page. Today tips and trick content will be lighter than the others ๐Ÿ™‚

It was back when I'm in university, I go to one of my friend apartment (she's a girl) to make a homework together with some other friends. That time I didn't bring my laptop so I just think I will use her desktop computer to do the homework.

I start using her computer and open a browser (she only have firefox and IE) to surfing Google. I don't have the print screen on that time, but if you want to imagine, this what the browser looks like:

How to Reveal Asterisks Password on Log In Page

but it's not as extreme as this ๐Ÿ˜›

From the screenshot above, we know that she's don't like to clean up the browser and she's installing a lot of program on her computer that automatically add taskbar to her browser. And probably she's surfing the internet without aware about the security aspect.

The following tips and trick I've tried on latest Mozilla Firefox, Google Chrome, Opera, Internet Explorer, Sogou (chinese), 360 (chinese) and this tips and trick work on Opera and Sougou.


1. Internet browser.

2. Understand Javascript.

How to Reveal Asterisks Password on Log In Page:

1. As I've already tell above about the browser condition of my friend, I start to think maybe while she's surfing a website she also save the passwords while the browser pop up alerting whether she want to save our password or not. And when I type Gmail and Yahoo web address on her browser, I got this preview:

How to Reveal Asterisks Password on Log In Page

She save all her e-mail username and password… ๐Ÿ™‚

When see that, I start to make a small games with my friend (Including her) about "How to Reveal Asterisks Password on Log In Page" without view the passwords directly on the show password options menu.

2. Finally I gave the answers to them. Firstly we view the source code of the page where the asterisks appears and find out the ID of the element where asterisks appears. I give example on Yahoo log in page using Opera dragonfly. (right click the asterisks and click inspect element)

How to Reveal Asterisks Password on Log In Page

the ID value is passwd.

3. After get the ID, we back again to the browser. On the browser address bar, type:

javascript: alert(document.getElementById('passwd').value);

the script above tells the browser to alerting the value of the textbox where asterisks was appeared.

4. Here is the result when the script was executed.

How to Reveal Asterisks Password on Log In Page


1. This tips and trick only for fun, because you also can view the saved password directly without viewing source code and typing a javascript code.

2. Do not save your password on your browser, but save it in your mind. That's the safest place ๐Ÿ˜›

Hope you found it useful ๐Ÿ™‚

(Visited 662 times, 1 visits today)

Share this article if you found this post was useful:

Blogger at Love PHP, offensive security and web.
Contact him at me[-at-]

See all posts by || Visit Website :

  • J0K3R

    Good Tut Bro (Y) ..but there is a way much easier for showing Asterisks Password saved in the browser …you just need to right click the asterisks and click inspect element and then change type=”password” to type=”text” ๐Ÿ˜€ ..and then you would be able to see password clearly without any javascript code. ๐Ÿ˜€

    • v4L


      thank you for added ๐Ÿ™‚

    • graduategamers


  • Andre

    I tried at Chromium but didn’t work and i tried at my site something:‘hello world’);

    but no success.
    Any help?

    • v4L


      I’ve already wrote above that when I try this test only work on opera and sougou(chinese), maybe you can give a try JOK3R comment above.

  • hadad

    hi my name is hadad,I am in class terminal S and I want her
    see if there was a school in France or another country or I pourai become a true hacker, because later I would like to get the certificate from the offensive-security … I am aware of the difficulties for the certificate but here this is my dream, I wanted to know is if you help me pouriez the pouriez you advise me a good school for me prepare .. I expected your answer with impatience .. and excuse my English, I’m not not English

    • v4L


      The school is only a complement, because everything is back again to ourselves…”did we want to reach/gain it or not”. ๐Ÿ™‚

      For now I can’t give any suggestion, because for me every school is good…back again to ourselves…

  • G0ZO

    Great!! Awesome tutorial!!!!!!!