I deleted all my passwords in Firefox. Who do I get them back?
I deleted all my passwords in Firefox. How do I get them back?
所有回复 (5)
Firefox does not have a feature to undelete passwords.
Do you back up your Firefox profile folder containing your settings files? The file you need to find/recover is logins.json.
What OS is the system that has the problem? (I'm assuming it's not your Android device.)
Firefox 32 and later builds store the passwords in the logins.json file in the profile folder and no longer use the signons.sqlite file. If you still have the signons.sqlite file that was used in Firefox 31 and older then you could try to recover the passwords saved in that file (you will lose passwords saved in Firefox 32).
You can force Firefox to reimport the passwords from the signons.sqlite file.
- reset the signon.importedFromSqlite pref on the about:config page to the default value via the right-click context menu
- delete the logins.json file in the Firefox profile folder with Firefox closed
When you restart Firefox then you should have the signon.importedFromSqlite pref with the value set to true and you should have the passwords imported in the Password Manager unless there may have been errors.
You can use this button to go to the currently used Firefox profile folder:
- Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
Hi, I am having this same problem. I have found the login.json file in my "old firefox data" folder. Now how do I go about getting them back?
Hi sdnative68, if you want to copy that file into your current Firefox settings folder, I suggest this approach:
Open your current Firefox settings (AKA Firefox profile) folder from inside Firefox using either
- "3-bar" menu button > "?" button > Troubleshooting Information
- (menu bar) Help > Troubleshooting Information
- type or paste about:support in the address bar and press Enter
In the first table on the page, click the "Show Folder" button (or on Mac, "Show in Finder")
Leaving that window open, switch back to Firefox and Exit, either:
- "3-bar" menu button > "power" button
- (menu bar) File > Exit (or on Mac: Firefox > Quit)
Pause while Firefox finishes its cleanup, then rename the existing logins.json to something like logins.old
Then copy your "real" logins.json file into this folder.
Start Firefox back up again. Are your passwords back?
If you have the logins.json file from a previous reset then you can try to copy this file and the key3.db file to the current Firefox profile folder.
You can use this button to go to the currently used Firefox profile folder:
- Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
- http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
If you have the signons.sqlite file and haven't you recently changed the Master Password then you cam also force Firefox to rebuild a new logins.json file from the previously used signons.sqlite file, but you will lose passwords that were saved in releases that use the logins.json file.