搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

I exported my bookmarks to do a clean install, but now my exported file is nothing but pages of text. How can i retrieve my bookmarks?

  • 6 回覆
  • 1 有這個問題
  • 112 次檢視
  • 最近回覆由 Rohit_NL

more options

I backed up my firefox bookmars, and the file that came out of it is no specific file type. Even in the properties, it just says "File type: File".

So now i'm trying to restore my bookmarks, but I can't open that file. If i try opening the file itself with firefox or any other browser for that matter, I get long pages of text. It does contain my bookmarks, but it's really hard to read. What can i do to fix this?

被選擇的解決方法

That is a JSON backup.
You need to rename the file and add a .json (lowercase) file extension to make Firefox recognize the file as a JSON backup.

Note that restoring a JSON backup will replace all existing bookmarks.

從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

What's the content of the first line of that file?

由 the-edmeister 於 修改

more options

Hello edmeister,

Thanks for the quick response. The first line is as follows:

{"title":"","id":1,"dateAdded":1380808141763000,"lastModified":1380820509035000,"type":"text/x-moz-place-container","root":"placesRoot","children":

more options

選擇的解決方法

That is a JSON backup.
You need to rename the file and add a .json (lowercase) file extension to make Firefox recognize the file as a JSON backup.

Note that restoring a JSON backup will replace all existing bookmarks.

more options

If Windows is hiding common file extensions from you, you can turn that off to work with file names more accurately. This article refers to Windows Explorer, so you'll need to use the desktop for these steps: http://support.microsoft.com/kb/865219.

more options

If there is no file extension and you get "File type: File" then it is likely that you 'forgot' the check if the file got saved with the .json file extension as Firefox may not add the correct file extension automatically.

more options

Thank you all very much! Just renaming the file was sufficient though!

Thanks again! :)