Home » See Passwords Behind Asterisk
computer Tips$Triks

See Passwords Behind Asterisk

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


About the author

Himalaya Saxena

A web developer, Tech Enthusiast, debugger, blogger, and programmer.
I have the thirst to learn and create :)

Add Comment

Click here to post a comment