Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How can I import a cvs file into my logins? Ver 72 deleted half of my logins when installed

  • 6 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 crankygoat

more options

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?

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?

所有回复 (6)

more options

Hi Pandreasen, This thread should help:

No response when importing password from ie or edge https://support.mozilla.org/en-US/questions/1264448

more options

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?

more options

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于修改

more options

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
more options

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!

more options

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.)