Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Export Passwords on Firefox esr channel (Version 78, can NOT update to 79 !!)

  • 1 reply
  • 1 has this problem
  • 5 views
  • Last reply by cor-el

more options

Dear All,

I have a new PC and want to migrate my passwords stored in Firefox Lockwise. It seems the export works only starting Version 79.

I am on the esr update channel. Here I have Version 78. I can not update, it seems this is the newest version.

Please advise how i can export my passwords. Thanks a lot & Kind regards

For the future an encrypted export would be amazing!

Thanks a lot & Kind regards

Tobias

All Replies (1)

more options

You can copy logins.json and key4.db from the profile of the old computer to the profile on the new computer. Make sure Firefox isn't running.

You can copy certain files with Firefox closed to the current profile folder to transfer or recover personal data.


  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (encrypted logins;32+) and key4.db (decryption key;58+) for Passwords saved in the Password Manager
    key3.db support ended in 73+; to use key3.db in 58-72, make sure to remove key4.db
  • cert9.db (58+) for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words added to the spell checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)

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.


The LoginExport.jsm module is present in Firefox 78, but hasn't been enabled and you need code in userContent.css to get the export menu entry in the cogwheel menu in Lockwise.


Add code to the userContent.css file.


@-moz-document url-prefix("about:logins"){
 button.menuitem-import, button.menuitem-export {
  display:block!important;
 }
}

It is not that difficult to create userContent.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a plain text file with the name userContent.css (name is case sensitive). In this userContent.css text file you paste the text posted.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userContent.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userContent.css file.

See also:

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

See:

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.