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.
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.
use the autocomplete=on extension. it changes 'autocomplete=off' to 'autocomplete=on' in web pages, so your passwords will be remembered.
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:
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.
If you have a Password Manager extension installed, Chrome disables this internal feature if it detects such a Password Manager. Temporarily disabling the extension will allow you to use the built in mechanism.
Older answers which are now obsolete:
Chrome has native support for it: If you enable then you can right click on the password field and instruct the browser to store it.chrome://flags/#enable-password-force-saving
It's now been renamed to chrome://flags/#PasswordForceSaving (Chrome 65 and possibly some earlier versions)
I often do the following in Firefox/Firebug:
autocomplete="off" (usually on the form tag)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".
Here is a bookmarklet that removed the autocomplete. Create a new bookmark on your toolbar and save this long line as the url:
javascript:(function(){var%20ca,cea,cs,df,dfe,i,j,x,y;function%20n(i,what){return%20i+"%20"+what+((i==1)?"":"s")}ca=cea=cs=0;df=document.forms;for(i=0;i<df.length;++i){x=df[i];dfe=x.elements;if(x.onsubmit){x.onsubmit="";++cs;}if(x.attributes["autocomplete"]){x.attributes["autocomplete"].value="on";++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes["autocomplete"]){y.attributes["autocomplete"].value="on";++cea;}}}alert("Removed%20autocomplete=off%20from%20"+n(ca,"form")+"%20and%20from%20"+n(cea,"form%20element")+",%20and%20removed%20onsubmit%20from%20"+n(cs,"form")+".%20After%20you%20type%20your%20password%20and%20submit%20the%20form,%20the%20browser%20will%20offer%20to%20remember%20your%20password.")})();
Instead of relying on the webpage to support password saving, you can instead overwrite the whole page with an HTML form that is guaranteed to work:
Press Ctrl+Shift+I
Click on the "Console" tab
Paste the following JavaScript into the console and press Enter
document.getElementsByTagName("body")[0].innerHTML='<form action=# method=post><input name=identifier><input type=password name=password><input type=submit></form>'
Important: Close the developer panel by pressing Ctrl+Shift+I again; otherwise your browser won't display the password save dialog.
Enter the username and password you want your browser to save, then click "Submit".
Your browser should then confirm if you would like to 'remember' these credentials.
For some websites, Firefox will let you save the password where Chrome will not. So you can save the password in Firefox, and import it into Chrome.
These instructions are based on Chrome version 62.
This answer is based on floatingstar's answer on a similar question.
In Chrome right click the desired field and "Inspect element"
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.
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.