X
點擊此處開啟此網站的行動版。

技術支援討論區

How do I merge saved logins data from to installations of firefox?

已張貼

Hello,

I have two PCs running Firefox where I save passwords for website logins. Some of the passwords change because of expiration requirements and over time the data on the two PCs diverge. How do I merge the save password information. Resolution of duplicate entries would be nice to have, but a simple merge would be a good start.

Thanks in advance for any help.

TG

Hello, I have two PCs running Firefox where I save passwords for website logins. Some of the passwords change because of expiration requirements and over time the data on the two PCs diverge. How do I merge the save password information. Resolution of duplicate entries would be nice to have, but a simple merge would be a good start. Thanks in advance for any help. TG
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 32.0 r0

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

更多資訊

FredMcD
  • Top 10 Contributor
4254 個解決方法 59579 個答案

有幫助的回覆

This will take some thinking. Are all the computers using Firefox? Is this something like home/work/personal . . . . .

Do Not Use Sync ! ! This could merge the data the wrong way.

For now, save the current passwords using;

Password:Recovery:Restore:Export 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 ++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example:

JSON file: https://support.mozilla.org/questions/1258644

CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console)

This will take some thinking. Are all the computers using Firefox? Is this something like home/work/personal . . . . . Do Not Use Sync ! ! This could merge the data the wrong way. For now, save the current passwords using; Password:Recovery:Restore:Export 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 ++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example: JSON file: https://support.mozilla.org/questions/1258644 CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console)
這篇文章有幫助嗎? 3
引用
FredMcD
  • Top 10 Contributor
4254 個解決方法 59579 個答案

Go thru those lists and cross out any data not current.

Go thru those lists and cross out any data not current.
這篇文章有幫助嗎? 0
引用

提出問題者

FredMcD said

This will take some thinking. Are all the computers using Firefox? Is this something like home/work/personal . . . . . Do Not Use Sync ! ! This could merge the data the wrong way. For now, save the current passwords using; Password:Recovery:Restore:Export 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 ++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example: JSON file: https://support.mozilla.org/questions/1258644 CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console)

Thanks for the reply. To answer your question, the two PCs are running Firefox. Otherwise, I could have used the import function.

Also, how do you import the data exported out of Firefox (into a CSV or json file ) as you suggested into the database?

Thanks!

TG

''FredMcD [[#answer-1259547|said]]'' <blockquote> This will take some thinking. Are all the computers using Firefox? Is this something like home/work/personal . . . . . Do Not Use Sync ! ! This could merge the data the wrong way. For now, save the current passwords using; Password:Recovery:Restore:Export 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 ++++++++++++++++++++++++++++++++++++ If you don't find a third party script or program you can trust, you can run a script in Firefox's Browser Console to spit out the list in CSV or JSON format. For example: JSON file: https://support.mozilla.org/questions/1258644 CSV: https://support.mozilla.org/questions/1253828 (copy/paste from console) </blockquote> Thanks for the reply. To answer your question, the two PCs are running Firefox. Otherwise, I could have used the import function. Also, how do you import the data exported out of Firefox (into a CSV or json file ) as you suggested into the database? Thanks! TG
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17519 個解決方法 158412 個答案

Make sure to keep a backup of all involved files from both Firefox versions before proceeding.

  • logins.json and key4.db

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

See this reply for possible alternatives using the Browser Console to run JavaScript code to export logins to JSON and import this flie.

Make sure to keep a backup of all involved files from both Firefox versions before proceeding. *logins.json and key4.db You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *https://support.mozilla.org/en-US/kb/Profiles See this reply for possible alternatives using the Browser Console to run JavaScript code to export logins to JSON and import this flie. *[[/questions/1258644#answer-1220664]] How do I export "saved logons"?

由 cor-el 於 修改

這篇文章有幫助嗎? 0
引用
FredMcD
  • Top 10 Contributor
4254 個解決方法 59579 個答案

Creating the password list as I suggested gives you a printed backup.

Creating the password list as I suggested gives you a printed backup.
這篇文章有幫助嗎?
引用

提出問題者

Thank you! I take it the suggestion is to manually enter them by referring to the printed list.

Thank you! I take it the suggestion is to manually enter them by referring to the printed list.
這篇文章有幫助嗎?
引用

提出問題者

cor-el said

Make sure to keep a backup of all involved files from both Firefox versions before proceeding.
  • logins.json and key4.db
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page. See this reply for possible alternatives using the Browser Console to run JavaScript code to export logins to JSON and import this flie.

Thanks! Sorry, but this doesn't address my original question of merging the two sets of data.

''cor-el [[#answer-1259584|said]]'' <blockquote> Make sure to keep a backup of all involved files from both Firefox versions before proceeding. *logins.json and key4.db You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the <b>about:profiles</b> page. *Help -> Troubleshooting Information -> Profile Directory:<br>Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder *https://support.mozilla.org/en-US/kb/Profiles See this reply for possible alternatives using the Browser Console to run JavaScript code to export logins to JSON and import this flie. *[[/questions/1258644#answer-1220664]] How do I export "saved logons"? </blockquote> Thanks! Sorry, but this doesn't address my original question of merging the two sets of data.
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17519 個解決方法 158412 個答案

The reply I posted above has two sets of JavaScript code, one to export and another to import logins. It should be possible to export the logins in one installation to a JSON backup using code in the Browser Console in the thread I posted above. Then you can import this JSON file in the other Firefox instance with the import code in that same reply. The export and import are done asynchronously, so it can take a few seconds before you see the imported logins. That should merge the passwords without getting duplicates (the import code skips logins that already exist).

The reply I posted above has two sets of JavaScript code, one to export and another to import logins. It should be possible to export the logins in one installation to a JSON backup using code in the Browser Console in the thread I posted above. Then you can import this JSON file in the other Firefox instance with the import code in that same reply. The export and import are done asynchronously, so it can take a few seconds before you see the imported logins. That should merge the passwords without getting duplicates (the import code skips logins that already exist).
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題