Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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

share|improve this question
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
I feel it needs to be said: giving web sites the ability to make your browser seem broken is not a feature browsers should implement. – Kirk Woll Jan 23 '14 at 20:43
up vote 66 down vote accepted

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

share|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
What about chrome for Android? Touch keyboard and passwords are not compatible. – user35444 Aug 1 '12 at 10:23
Do note, that author still can make a form that will absolutely won't remember history. – Oleg V. Volkov Aug 21 '12 at 19:20
"Item not found. This item may have been removed by its author." – Borislav Ivanov Jan 14 '15 at 8:07
what about this new updated one;… – Abdessamad Idrissi Feb 24 '15 at 22:01

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.


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.

share|improve this answer
+1 Nice. This is what I use on a site which uses jQuery javascript:$("#username").val("username");$("#password").val("password"); – IsmailS Apr 12 '12 at 4:00

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

share|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
This works in the latest version of Chrome (21.0.1180.89) -- right-click on username and password form fields, "Inspect Element". Change autocomplete="off" to autocomplete="on". Then submit form. – Dolan Antenucci Sep 4 '12 at 14:52
Works with FF but I did not get it to work with Salesforce in Chrome Version 33.0.1750.152 Ubuntu 12.04 (256984).. – jcalfee314 May 16 '14 at 17:48

Here is a bookmarklet that removed the autocomplete. Create a new bookmark on your toolbar and save this long line as the url:

share|improve this answer
Everything except ie has a selector query, so you can use much shorter version: var e= document.querySelectorAll("input[autocomplete=off]"); for(var i=0; i<e.length; i++) { e[i].setAttribute("autocomplete", "on"); } – Nux Apr 29 '13 at 6:55

In Chrome right click the desired field and "Inspect element"

  • Change autocomplete="off" to autocomplete="on"
  • Input data and submit the form
  • Chrome will ask you to remember the password
  • When you return, it may not display the password until after you attempt submitting once.
share|improve this answer

I just entered my username and password in the value fields in the form by inspecting the elements and saved that as a html page, grabbed url from that page and I book marked this new url, its working for me :). Thanks.

share|improve this answer
Could you explain this in more details? It's a little vague what you're saying. Maybe show a screenshot? – slm Jun 18 '13 at 16:36
If I understand you, instead of going to, you now visit file://my_copy_site.html and log in, which redirects you to If that's true, clever, but beware that the real site may change out from under your copy; eg, your form might submit to a URL that they've removed. – Nathan Long Jun 18 '13 at 18:31
Thanks! :) Nothing above worked for me somehow, except your solution! – Crocode Oct 8 '15 at 23:49

From Stable Channel Update:

Chrome will now offer to remember and fill password fields in the presence of autocomplete=off.

This feature has been implemented in the Google Chrome 34.0.1847.116 Stable channel for Windows, Mac, and Linux.

share|improve this answer

You can use the Roboform Chrome extension.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .