Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Back up passwords and logins

  • 8 ответов
  • 1 имеет эту проблему
  • 5 просмотров
  • Последний ответ от cor-el

more options

I wish to backup my password file and tried to follow: https://support.mozilla.org/gl/questions/1189644

I could not work it out and suspect the instructions refer to a version of Firefox I'm not using. My version is 68.12.0esr.

Thanks

I wish to backup my password file and tried to follow: https://support.mozilla.org/gl/questions/1189644 I could not work it out and suspect the instructions refer to a version of Firefox I'm not using. My version is 68.12.0esr. Thanks

Все ответы (8)

more options

You need logins.json and key4.db in Firefox 58 and newer to backup the logins although Firefox 68 can still use key3.db and convert that to key4.db but you need to remove an existing key4.db to make Firefox use key3.db.

more options

I have no idea what this is about. What is logins.json and key4.db and where do I find them? Cant I just cut the logins and passwords then paste them into a text file to carry across to my updated OS.

more options

The FAQ does not relate to my version. eg it describes a layout that I do not recognize.

more options

What version of Firefox are you planning to use on the destination system?

cor-el was referring to copy/pasting two specific files from your current Firefox profile folder to the one on your new installation. See: Recover important data from an old profile.

If you prefer just a list, did Firefox 68 have the about:logins page? I don't think the old Saved Logins dialog that popped up out of the Preferences page had an Export feature. That's why there are programs like https://github.com/kspearrin/ff-password-exporter to extract your saved logins. However, that's a one-way trip, it doesn't import.

more options

The new browser will be what ever is the latest Slackware default. about:login never loaded and eventually I gave up. Are you telling me I can only backup my passwords manually?

more options

Firefox 68 still uses the old pop-up style window for the Password Manager, so you would have to use code in the Browser Console to export the logins to a plain text file.


/* export logins in JSON format */
var lg = prompt("Logins",JSON.stringify(Services.logins.getAllLogins()));
/* import logins in JSON format */
if (lg = prompt("Logins JSON: [{},{}]","?")){
lg = JSON.parse(lg);
try {/*[60+]*/
 for(i=0;LG=lg[i];i++){if(!LG.origin){LG.origin = LG.hostname}}
 ChromeUtils.import("resource://gre/modules/LoginHelper.jsm");
 LoginHelper.maybeImportLogins(lg);
} catch(e){console.log(e);}
}

more options

The Browser Console was Double Dutch to me. Where was I supposed to paste that script?

more options

This article explains where you can find the Browser Console and how to use it. You need to enable the command line in the console as explained in the article to be able to paste the above posted JavaScript code.

Did you find the profile folder as it is normally sufficient to transfer logins.json and key4.db from one profile to another profile with Firefox closed ?

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