up vote 20 down vote favorite
6
share [g+] share [fb]

Is there a way to force Google Chrome to remember passwords for sites that have autocomplete turned off?

Clarification:

I am a programmer, but ideally, I'd like a method that I could help regular users implement, too.

link|improve this question

63% accept rate
1  
I'm assuming you've got "Offer to save passwords" turned on. – ChrisF Sep 22 '09 at 22:18
@ChrisF - yes, I do. – Nathan Long Sep 23 '09 at 9:16
Sorry, but I had to ask. – ChrisF Sep 23 '09 at 11:38
feedback

4 Answers

up vote 26 down vote accepted

use the autocomplete=on extension. it changes 'autocomplete=off' to 'autocomplete=on' in web pages, so your passwords will be remembered.

link|improve this answer
Chrome extensions have come along since I asked this question. Thanks for pointing this one out. – Nathan Long Dec 23 '09 at 12:53
feedback

Workaround: use a bookmarklet

This is not really a solution, but you can hack a workaround for this if you know a little Javascript by making a bookmarklet that fills out the username and password fields. This would work:

  1. Create a bookmark in your toolbar area by dragging the favicon from any website into that area.
  2. Right-click that bookmark and choose Edit
  3. Change the Name field to whatever you like
  4. In the URL area, enter some javascript that will fill in the desired fields.
  5. Click OK to save that.
  6. Now you can click that bookmarklet to fill those fields

For example, if the page you want to fill in has fields with IDs of 'user_name' and 'password', this javascript would fill them with whatever you define near the beginning.

javascript:function%20enterLogin(){username="your_username";password="your_password";document.getElementById('user_name').value=username;y=document.getElementById('password').value=password;}enterLogin();

This is not secure at all, of course, if anyone you don't trust may open your browser; they can click to edit this and see your login info.

But it's not much worse than having the browser remember your passwords if it doesn't use a master password to encrypt them; some digging around in the menus will let you view those. And anyway, you shouldn't let people you don't trust use your computer.

link|improve this answer
feedback

I often do the following in Firefox/Firebug:

  • Right click form, click "Inspect element"
  • Look for the attribute autocomplete="off" (usually on the form tag)
  • Right click "autocomplete" then click "Remove attribute..."

I can't find a way to delete attributes with Chrome's Developer Tools, but you can change it to autocomplete="on" or change the attribute name to e.g. "width".

link|improve this answer
But when the page is reloaded, the autocomplete attribute will be reset to "off", defeating the purpose; Chrome will remember the password but won't fill it in. – amphetamachine Jul 22 '11 at 3:36
@amph At the time of writing, doing this did work. Removing autocomplete brings up the prompt to save the password, and when you return it filled it in, even if autocomplete was off. Maybe that doesn't happen any more. – DisgruntledGoat Jul 22 '11 at 11:44
feedback

You can use the Roboform Chrome extension.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.