How can I import a cvs file into my logins? Ver 72 deleted half of my logins when installed
When ver 72.0 installed/updated, it deleted about half of my saved logins and passwords. I have a cvs excel file of the old and new ones combined. How can I import that data into FF?
All Replies (6)
Hi Pandreasen, This thread should help:
No response when importing password from ie or edge https://support.mozilla.org/en-US/questions/1264448
I am sure it would be helpful IF I knew what it was saying! Any chance of some step-by-step hand holding for a really OLD computer fingerpoker?
I had to do this some months ago, not using the above method, and if i can find notes or remember how i did it, i'll post back.
As for the above suggestion... that involves installing a Python environment to run the converter script. Or... you can do it online: https://csvjson.com/csv2json
you'll need to make sure the json output from the csv follows this order in this format
{"username":"xxx","password":"xxx","hostname":"https://"},
To import using the Browser Console, see first the sections Opening the Browser Console (to see how to open) and Browser Console command line (to see how to enable it and open it) in this article https://developer.mozilla.org/en-US/docs/Tools/Browser_Console
Short version: Type about:config in the address bar and Enter. Accept the warning. Type devtools at the top of the page, and scroll down to find devtools.chrome.enabled, and click the arrows at the right of this entry so it shows true. You can close this tab now.
The key combination Ctrl+Shift+J should open the console. The command line entry field will now be at the bottom.
Then (apparently) you can enter the commands provided, maybe even copy and paste it whole?
if (logins = prompt("Logins JSON: [{},{}]",signons)){
try {
logins = JSON.parse(logins);
ChromeUtils.import("resource://gre/modules/LoginHelper.jsm");
LoginHelper.maybeImportLogins(logins);
} catch(e){ console.log(e); }
}
[Edit: I don't know why the code formatting comes up different than the original. Adjusted several times. Perhaps copy from the linked page in case it matters. Un-beautified JSON is all one endless line.]
Where does it look for your JSON file of logins you converted from CSV? I have no idea. Maybe someone else can say, and correct or clarify my post. I will attempt to test how this works in the meantime. Complicated? Yes. :)
crankygoat trɔe
You can enable the command line in the Console via the developer Settings page, so you do not need to do this via the about:config page. You can open the Inspector or any other developer tool and press the F1 key to go to the Settings page.
- "3-bar" menu button or Tools -> Web Developer
- select "Enable browser chrome and add-on debugging toolboxes" in the developer tools settings
- https://developer.mozilla.org/en-US/Tools/Settings
I updated/refreshed recently (at Firefox's suggestion) and now none of my logins/passwords are saved. NONE! I'm beyond pissed. Why the F would you do this? They are all lost and some may not even be saved in my logins doc because they are older than that doc. If there is a way to retrieve them, please let me know how -in simple English with step-by-step procedures -PLEASE!
Hi bcskier54. Your issue might belong in a new thread as the solution above doesn't seem to help you? Also we don't have your user agent string or any other system details which can be added in a new Question. Maybe a mod can move it.
Did anything else disappear besides your logins, like bookmarks? It may be the case that a new profile was created. You should be able to either switch to that profile, or recover your logins, etc.
(Also, did you happen to click a button somewhere called "Refresh Firefox"? If so, we have a different answer for you.)
In the address bar, please type about:profiles, and Enter. How many profiles are listed here?
You can try any profile listed simply by clicking the Launch profile in a new browser button below the profile listing. You can check then if that profile contains your logins.
If one of the profiles has your logins, you can click the button Set as default profile below that profile's listing.
If that gets you no joy, we can still check for the logins file in case there is something causing the profile not to load properly. Starting with the profile at the top of the list, click the button Open Directory on the line for Root Directory. In the folder that opens, check for the file named logins.json. Note: Also needed are the files key4.db and key3.db, either or both of this which exist in the same folder as a logins.json. You might copy these to a folder on your desktop as a backup.
If you do not find these files in the first profile directory, then check each of the other directories in turn. (These are the ones with names like ab345x7z.default-release, qrxh95ak.default.)