3 ways to see saved passwords in Google Chrome
table of contents
Hello.
I'm Mandai, in charge of Wild on the development team.
Saving passwords in your browser is very convenient, but you may be in trouble if you forget them when you move to a new PC.
In such a case, we will provide three methods to solve the problem of ``I forgot my password, but I have saved it so I can still log in'' in Google Chrome.
Google Chrome is actually visible
If you go to Manage Passwords from Advanced Settings on the Settings screen, a list of saved passwords will be displayed. → Password screen (chrome://settings/passwords)
From here, find the site you have forgotten and click the eye icon. After user authentication, it will be displayed on the screen.
Please make sure there are no people behind you before viewing.
Get a list of passwords using Google Chrome functionality
When migrating a PC, it can be a painstaking task to check each item one by one.
For those people, there is also a way to get a list of passwords.
Google Chrome has various hidden and preview features, and URLs are set to enable these features.
When you enter "chrome://flags" into your browser, a number of such functions are displayed, and one of them is "Password export" (chrome://flags/#password-export).
There are quite a lot of items, so search for ``export'' in the search box, or click the link above, and set the item that appears to ``Enabled'', then restart Google Chrome.
After restarting, go to Advanced Settings on the Settings screen and then Manage Passwords (or enter "chrome://settings/passwords").
Click on the vertical three dots displayed on the screen and select export to export after user authentication.
If you are a developer, how to use Devtools instead of the settings screen
Google Chrome's Devtools allows you to inject JavaScript into the site being displayed from the Console tab, so use that to display it.
document.querySelectorAll("input[type=password]").forEach((o)=>{console.log(o.name, o.value)});
It's a bit sloppy because it had to be entered in one line, but I think it will be displayed if you run it with autocomplete enabled.
summary
We have introduced three ways to view your saved passwords, but this method is ideal for transferring to a PC if you want to retrieve them all at once.
I thought it would be cool if developers could write a one-liner method to check using JavaScript, so I introduced it.
In the case of Firefox, it can be displayed by clicking the Saved Login Information button from "about:preferences#privacy".
There didn't seem to be any user authentication required to watch it, and the atmosphere was quite relaxed.
That's it.