// First type somthing in password field.
// Now without signing in or hitting enter.
// Copy and paste corresponding codes in address bar.
// HIT ENTER.
// Enjoy the magik ;)
//gmail:
javascript:alert(document.getElementById('Passwd').value)
//yahoomail:
javascript:alert(document.getElementById('passwd').value)