본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

How can I import to Firefox my passwords 79pcs saved in CSV file?

more options

I read all mozilla posts but nothing helped me to import all 79 passwords and logins to Firefox from a CSV file. Any suggestion?

I read all mozilla posts but nothing helped me to import all 79 passwords and logins to Firefox from a CSV file. Any suggestion?

모든 댓글 (4)

more options

One of these may help you: https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ http://www.nirsoft.net/utils/passwordfox.html (Win) PasswordFox v1.58 - Extract the usernames/passwords stored in Firefox Copyright (c) 2008 - 2017 Nir Sofer

Note: Some anti-virus show false positive. ++++++++++++++++++++++++++++++++++ Easily export your passwords from Firefox. https://github.com/kspearrin/ff-password-exporter

Export your passwords from Firefox in a portable CSV or JSON format. It works on Windows, macOS, and Linux. +++++++++++++++++++++++++++++++++++ 3 Tools to Decrypt and Recover Passwords Saved in Firefox • Raymond CC https://www.raymond.cc/blog/how-to-find-hidden-passwords-in-firefox/ +++++++++++++++++++++++++++++++++++ https://www.ghacks.net/2018/07/18/how-to-export-firefox-passwords-in-firefox-57/ ++++++++++++++++++++++++++++++++++++ https://github.com/kspearrin/ff-password-exporter

more options

Unfortunately none of the suggestions is for IMPORTING passwords to Firefox. All are for exporting passwords from Firefox.

more options

Firefox doesn't handle the CSV format for logins / password data. The old Legacy version of Firefox (Fx56 Australis and earlier versions) did have some 3rd party add-ons available which would export and import via CSV, but the Quantum versions don't support the defunct Legacy format extensions.

more options

It's probably possible to write a script that adds passwords from a CSV file, but if you don't find one online, it's going to take some work.

First, because legacy extensions no longer run, you will need to execute a "legacy" script in the Browser Console. To do that, you need to turn on "chrome debugging" as follows:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste devt and pause while the list is filtered

(3) Double-click the devtools.chrome.enabled preference to switch the value from false to true

And then you may need more information about the Browser Console: https://developer.mozilla.org/docs/Tools/Browser_Console

This is a script that adds a single saved login:

/*
Sequence of fields for init():
login.hostname, login.formSubmitURL, login.httpRealm,
login.username, login.password, login.usernameField, login.passwordField
*/
try {
  var loginInfo = Components.classes["@mozilla.org/login-manager/loginInfo;1"].createInstance(Components.interfaces.nsILoginInfo);
  // Create the new login info object
  loginInfo.init("https://www.jeffersonscher.com", "https://www.jeffersonscher.com/res/logintest.html", null,
    "me", "secret123", "uname", "pass");
  // Add the new login to Firefox's password manager
  Services.logins.addLogin(loginInfo);
} catch (err) {
  console.log('Problem adding login: '+err);
}

Then that should show up in the Saved Logins dialog, and it may or may not auto-populate on the test page https://www.jeffersonscher.com/res/logintest.html (I got flaky results).

So what's missing from this equation is the code to read your CSV file, extract out the fields for each login, and assemble them into the correct format to add to Firefox.