Chrome has the [Archive.is] Autocomplete On extension to work around the sites that code autocomplete off.
Some links on Chrome not prompting to save passwords (when Firefox and Safari do)
Posted by jpluimers on 2022/01/20
For quite some time now, Chrome (think years) refuses to prompt for saving passwords whereas Firefox and Safari do prompt and save them, even for site types that it used to save passwords for in the past.
It has been annoying enough for too long now that I tried to do better than the Google searches I used back when I saw this happen first.
Below are some links based on new searches (starting with [Wayback] adding a password in chrome settings – Google Search); hopefully I can try them after I made a list of sites that Chrome does not show the password save prompt for.
Solutions I tried that failed (but maybe useful for others):
- [Wayback] windows 7 – Chrome not asking to remember passwords – Super User: restart your browser
- First answer of [Wayback] How can I manually add a password to Chrome password manager? – Super User : check if “Autofill” a.k.a. “Offer to save passwords” is enabled and the site is not on the “Never Saved” list of sites.
- Second answer of [Wayback] How can I manually add a password to Chrome password manager? – Super User Check if there is a password
input
field being marked withtype="password"
, and if not add it.
Solutions still to try:
- [Wayback] How to force Chrome to save passwords on self-signed or broken SSL? – Super User describing several ways to manage non-trusted certificates on the local network: allow them (local host only:
chrome://flags/#allow-insecure-localhost
); import them; import the CA for them. I might start looking into using Let’s Encrypt for local resources to see if this is a solution.- [Archive.is] 142818 – Passwords not saved for HTTPS sites with self signed certs – chromium
- [Wayback/Archive.is] 412827 – Developers don’t know how to import self-signed certificates for testing – chromium
- [Archive.is] 337488 – Security: Even when there are certificate errors, password auto-fill (easy-fill) works – chromium
- [Wayback] How can I force chrome to remember my passwords? – Super User Import saved password from another browser via “Import bookmarks and settings” (as named in Chrome 90.x); numbering of steps is mine:
I just found a solution to this that makes me very happy.
- I go into tools / options / personal stuff and
- click on “Import data from another browser” then
- select Firefox from the dropdown menu, and
- uncheck everything except “Saved Passwords” then
- click “Import” and
- VOILA the saved username and password I had for the website in Firefox is now in Chrome.
:-)
- [Wayback] Chrome not saving passwords (and not auto filling existing login/passwords) – Super User
If the settings to store passwords are enabled, but it still doesn’t work, removing the password database might help.
Thanks to [Wayback] http://plasmasturm.org/log/chromepwstore/ for this successful fix.
- [Wayback] Chrome Password Manager: How to add password manually? – Stack Overflow (bold emphasis and [Wayback] links mine)
One way to accomplish this is to use Chrome’s Password import, which lets you import entries for Chrome’s Password Manager from a [Wayback] CSV file.
Note: As of Chrome 79 (December 2019), “Password import” is an experimental feature, which you must enable to use. To do this: Go to
chrome://flags/
, find the setting “Password import”, set to “Enable”, restart Chrome. If the setting “Password import” is missing, you need to start Chrome with the command line parameter--enable-features=PasswordImport
instead.…
I hosted [Wayback] this html file on a local web server and typed my username and password in there
…
You could also just add an
<input type="password">
element onto the desired website (with the developer tools) and Chrome adds a small key icon into the navbar and lets you save the password to the actual domain (instead of localhost). - [Wayback] Can I force Google Chrome to remember passwords? – Super User (I still need to check running a Password Manager extension):
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
chrome://flags/#enable-password-force-saving
then you can right click on the password field and instruct the browser to store it.It’s now been renamed to
chrome://flags/#PasswordForceSaving
(Chrome 65 and possibly some earlier versions) - [Wayback] Can I force Google Chrome to remember passwords? – Super User (the [Archive.is]
autocomplete=on
extension is gone, but the mechanism can still manually be used; [Archive.is] Force Autocomplete – Chrome Web Store with source at [Wayback/Archive.is] numediaweb/nw_force_autocomplete: An extention for Google Chrome that forces autocomplete attribute in forms and input fields to be on. might still work):
use the
autocomplete=on
extension. it changes ‘autocomplete=off
‘ to ‘autocomplete=on
‘ in web pages, so your passwords will be remembered. - Chrome has the Autocomplete On extension to work around the sites that code autocomplete off.[Wayback] How to force Chrome to remember a password? – Super User
- [Wayback] Google Chrome won’t save my password? – Google Chrome Community (I don’t think it’s a bug, but intended behaviour):
…
3. The site submits the login form in unusual waysThere is no one way for websites to log users into a site. Sometimes sites use unusual techniques that confuse Chrome’s logic for determining that a login was submitted. We’re working on making Chrome better at working around these issues, but in the meantime, please file a bug so we can track these sites.
Some links with background information:
- [Wayback] Re-enable Chrome browser remember password – Super User: the UI on how to get to “autofill” (“Offer to save passwords”) has changed significantly between 2017 and 2021 (the list of “Never Saved” URLs is at the bottom of the
chrome://settings/passwords
page).
These is two of the places where saving fails, despite the password input
field being marked with type="password"
:
- ESXi logon:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="loginForm"> | |
<p class="loginRow ng-hide" ng-show="devmode || electron"> | |
<label id="host-label" class="loginLabel">Hostname | |
<input id="hostname" ng-disabled="!devmode" autocomplete="off" aria-labelledby="host-label" tabindex="1" ng-class="{loginFailed: loginFailed}" class="margeTextInput ng-pristine ng-untouched ng-valid ng-not-empty" type="text" ng-model="credentials.hostname" ng-model-options="{ | |
updateOn: 'blur' | |
}" disabled="disabled"> | |
</label> | |
</p> | |
<p class="loginRow"> | |
<label id="username-label" class="loginLabel">User name | |
<input id="username" aria-labelledby="username-label" tabindex="2" focus-me="true" ng-disabled="loggingIn" ng-class="{loginFailed: loginFailed}" class="margeTextInput ng-pristine ng-valid ng-empty ng-touched" type="text" ng-model="credentials.username" style=""> | |
</label> | |
</p> | |
<p class="loginRow"> | |
<label id="password-label" class="loginLabel">Password | |
<input id="password" autocomplete="off" aria-labelledby="password-label" tabindex="4" ng-disabled="loggingIn" ng-class="{loginFailed: loginFailed}" class="margeTextInput ng-pristine ng-valid ng-empty ng-touched" type="password" ng-model="credentials.password" style=""> | |
</label> | |
</p> | |
<p> </p> | |
<p id="loginButtonRow"> | |
<input id="submit" class="button blue" type="submit" value="Log in" ng-disabled="credentials.username === '' || | |
loggingIn" disabled="disabled"> | |
</p> | |
</div> |
- Fritz!Box logon:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action="index.lua" id="loginForm" class="loginForm"> | |
<div class="formular"> | |
<p>Please log in using your password.</p> | |
<label for="uiPass">Password</label> | |
<input type="password" tabindex="2" id="uiPass" name="uiPass"> | |
<div id="uiLoginError" class="hidden"> | |
<p class="error_text">Login failed.</p> | |
<p class="error_text">Did you make a typing error, or do you not have the right to access this area?</p> | |
<p id="uiWait" class="error_text"></p> | |
</div> | |
</div> | |
<div class="btn_form_foot"> | |
<input type="hidden" name="response" id="uiResp" value=""> | |
<input type="hidden" name="lp" value=""> | |
<input type="hidden" name="username" id="username" value=""> | |
<button type="submit" tabindex="3" id="submitLoginBtn">Log In</button> | |
<a>Forgot your password?</a> | |
</div> | |
</form> |
–jeroen
Leave a Reply