'Chrome Password Manager: How to add password manually?

I´d like to add a password for a site into the Chrome Password Manager, but Chrome doesn´t offer a save button (i.e. it doesn´t recognise the password field). So I´d like to add the password manually. I know there will be no automatic fill-in if Chrome doesn´t even recognise the field as password field, but at least I´d know where to look for it...

I´d like to ask how to do it, but following uncle google´s answer my question is: is it possible?



Solution 1:[1]

As stated here https://developer.mozilla.org/fr/docs/Web/API/PasswordCredential.
Visit the site you want to save passwords on, open the dev tool and type :

const cred = new PasswordCredential({
  id: '<site user>', // ex: [email protected]
  password: '<site password>',
  name: '<name>',  // how it appears in password manager
});

navigator.credentials.store(cred) // Will prompt you to save the password
 .then(()  => {
   // Do something or not
 });

Solution 2:[2]

This solution expands on the previous answer but using Google passwords way of importing.

Create a .csv file with your login credentials like this

name,url,username,password
example.org,https://example.org/,user,secret

And go to https://passwords.google.com/options?ep=1 and login with the same user credentials you used with Chrome and click on Import under Import passwords and go to your page that you're trying to save the password and you should see your password filled, voila!!

Solution 3:[3]

This might not be exactly what you were looking for but I found this useful as the above answer wouldn't work for me (flag appears to be missing) when wanting to save a password for safekeeping.

I hosted this html file on a local web server and typed my username and password in there, then when I need to look for the password I can just search for localhost, you could even put the site address and username in the username field to help you remember which site it is for.

Solution 4:[4]

I found an easy way.

  • On Desktop: Right click to password field and select "suggest password", accept it and save it.
  • On Mobile: Tap on the password field so a key icon shows above keyboard, tap the key icon to have google password manager suggest a password and save it.

And then go to password manager on desktop to edit the saved password and replace it with your actual password manually.

Next time you visit the site, you can auto-populate the password.

Note that this requires the field to have type="password"

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Philippe
Solution 2 Ash
Solution 3 ToXIcDev
Solution 4 pseudozach