See Passwords Behind Asterisk

Today I am going to tell you a really cool trick which you can perform using Javascript. This trick will allow you to see passwords behind Asterisk.You can use this trick on any web page which contains password hidden behind Asterisk. First of all question arises what is Javascript ?

What is Javascript ?

JavaScript is an implementation of the ECMAScript language standard and is typically used to enable programmatic access to computational objects within a host environment. JavaScript is primarily used in the form of client-side JavaScript, implemented as part of a web browser in order to provide enhanced user interfaces and dynamic websites. However, its use in applications outside web pages is also significant.

See Passwords Behind Asterix !!

You don’t need to worry whether you know Javascript or not. This trick can be performed by anyone. So lets start. The  Javascript I am going to discuss will makes all the passwords hidden behind Asterisk appear in front of you. If you don’t believe it, let us just try it. Just open a web page having saved password or open Gmail and enter anything in password field. Now copy the code below and paste in the url bar of your web browser on the same web page and hit enter.

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j)
{ f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == "password") 
s += f[i].value + "n"; } } if (s) alert("Passwords in forms on this page:nn" + s); 
else alert ("There are no passwords in forms on this page.");})();

Just after hitting enter the password which you typed in the password field will appear in a message box. Kindly share your views about it.


You can also check How to force images to dance using javascript.

Article by

Akshay is a Tech Enthusiast who loves to write about Technology and Gadgets. He is very passionate about blogging and has been blogging since 2009. You can follow him on twitter @akshayable.

Comments (18)

  1. Rasheed says:

    I tried this trick but not working 🙁 I mean I didnt found the password behind asterisk ..

  2. Pranav says:

    Great trick dude!!
    Hey provide also a trick through which we can see the passwords which are in software not webpage 🙂

  3. Working fine .. 🙂

    Thanks for sharing Akshay ..!

  4. Raj Kumar says:

    its working………………

  5. Sourish says:

    there was one thing called camtech password revealer …. i used while hacking into routers

  6. Rajan Balana says:

    Wonderful trick, will try it for sure 🙂

  7. shahin says:

    its not working………………….. what to do now????

  8. manzy says:

    Its working,4 d 1st time i faced some problem i.e,copied java script does not pasted fully,so check dat 1 at d url tool bar….

  9. sebastien says:

    Just tried on Firefox 10 for Linux. Worked like a charm :-))
    Thanx for this nice usefull trick !

  10. reena says:

    cant see the password behind asterisk plz help

  11. Ahmad Chohan says:

    Yar you are awsom!
    Well done!

  12. Ahmad Chohan says:

    i try it…
    on my Google sig-in but it dosnt allow to copy the estarics!
    what i have to do???

Leave a Reply

If you want a picture to show with your comment, go get a Gravatar.