Password Field Tip

If you've set your browser to remember form password fields and need to know what the password is (ie. you have forgotten it - but can see the browser rembers it) ... all you need to do is:

  1. View source and find the id of the password input
  2. Type the following in the url (replacing the <id> text with the password input's id):

javascript:alert(document.getElementById("<id>").value)

This will pop up an alert with the actual text value in the password input.

NOTE: The simplicity of getting the password text is also a good reminder to NOT have your browser remember your passwords for you ...

posted on Friday, March 28, 2008 5:23 PM

Feedback

# re: Password Field Tip

"The simplicity of getting the password text is also a good reminder to NOT have your browser remember your passwords for you ..."

I couldn't agree more. Either use the master password in your browser's built-in password manager, or turn off the function alltogether and use a third party password manager.

Of course, even if you were to type in the password, or a third party program were to do it for you, or even if you are using the master pass in the browser's password manager-- the trick would still work.

Ideally you should pick a password manager that not only fills in the password for you, but also submits the form for you as well (quickly).

Cheers - Tara
3/29/2008 8:03 AM | Tara Kelly

# Greasemonkey is your friend

I wrote a GM script a while back to aid in retrieving passwords. http://userscripts.org/scripts/show/13243
4/1/2008 8:26 AM | BlindWanderer

Post Comment

Title  
Name  
Url
Comment   
Please enter the following code into the box below to stop spammers

  
Enter Code Here *