為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

backed up bookmarks to a JSON file trying to import and opens as HTML....? help!

  • 2 回覆
  • 5 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

i backed up my bookmarks by using the backup option in the bookmarks library, id backed up to my desktop fine. I uninstalled mozilla firefox and reinstalled it because i was having a problem. now when i go to import the file it appears as an html document and i saved it as a JSON file. when i try to import using both the JSON import and HTML it does not allow me to see this file

i backed up my bookmarks by using the backup option in the bookmarks library, id backed up to my desktop fine. I uninstalled mozilla firefox and reinstalled it because i was having a problem. now when i go to import the file it appears as an html document and i saved it as a JSON file. when i try to import using both the JSON import and HTML it does not allow me to see this file

所有回覆 (2)

more options

Are your sure You did backup not export? Cause when you do export, Firefox saves file in HTML format, but when you do backup Firefox saves file in JSON format. There is no way to switch to other format in save dialog.

If your file doesn't contain any private data (witch you want to keep personal), you might pase content of that file in this topic for further investigation.

more options

Make sure that the bookmarks backup file has the correct (lowercase) file extension:

  • .html for a HTML backup
  • .json for a JSON backup

You can check the file type via the right-click context menu of that file and open the Properties.

If you are not sure about the file type then you can open the file in Firefox via "Firefox > New Tab > Open File" or "File > Open File".

A JSON backup will show as one long text line without line breaks and a HTML backup shows as a web page with clickable links.

A  JSON backup starts with: {"title":"","id":1,"dateAdded":
An HTML backup starts with: <!DOCTYPE NETSCAPE-Bookmark-file-1>