password hacking tricks

I am going to teach you simple way to see the passwords which are shown as astersik characters(*).
How to see the remembered passwords ?
 Whenever someone select remember password in login form,the passwords will be automatically filled.  But the problem is that we can login but can not see the password.  Because the password will be shown as "astersik characters"(*).  Here is the trick to crack that also.
Visit any site which remembers passwords and show astersik characters in password box.
Copy the following code
javascript:alert(document.getElementById('password').value);
Paste in the address bar.
Press enter key
Now the hidden password behind the astersik character will be shown.