搜尋 Mozilla 技術支援網站

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

了解更多

Recently reformatted PC. Tried to import HTML bookmarks, but nothing happens. Tried other browsers, still does not work. How can I fix this?

  • 4 回覆
  • 1 有這個問題
  • 13 次檢視
  • 最近回覆由 cor-el

more options

Before reformatting my PC, I exported all my bookmarks via HTML file. I reformatted, installed Firefox, then tried to proceed with importing all my bookmarks. I go to the import function and choose the HTML bookmarks file and nothing happens at all. I tried using other browsers to import, but nothing happens. I am not sure how to fix this.

I thought maybe I could transfer the HTML file into a JSON file, but I couldn't find a way to do so, even after renaming the file extensions. Could the HTML file be possibly be corrupted? I'm out of ideas on how to import my bookmarks!

I really need to fix this, please help!

Before reformatting my PC, I exported all my bookmarks via HTML file. I reformatted, installed Firefox, then tried to proceed with importing all my bookmarks. I go to the import function and choose the HTML bookmarks file and nothing happens at all. I tried using other browsers to import, but nothing happens. I am not sure how to fix this. I thought maybe I could transfer the HTML file into a JSON file, but I couldn't find a way to do so, even after renaming the file extensions. Could the HTML file be possibly be corrupted? I'm out of ideas on how to import my bookmarks! I really need to fix this, please help!

被選擇的解決方法

I managed to fix it.

1) I opened the HTML file up with notepad. 2) I then went to File > Save As >

  -Then changed the file type to, "All Types"

3) Then in file name I named it Bookmarks.JSON

  -The HTML file now saved as a JSON backup and I was able to import it.

However,

There is still no fix or reason as to why the HTML backup does not work. I highly suggest Firefox fix this, as it was highly agitating.

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

所有回覆 (4)

more options

Make sure that the backup file with the bookmarks has the correct file extension:

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

You can check the 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 "File > Open File"
A JSON backup will show as one long text line without line breaks and a HTML backup 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>

Add quotes ("") around the name to rename the file to the correct file extension if the current file extension is hidden or if it is otherwise not working.
Verify the file type in the Properties via the right-click context menu to make sure that the change has been successful.

more options

I'm 100% positive that the file is an HTML extension.

I've tried the, "Import Bookmarks from HTML..." function several times on several browsers. I don't know what's wrong.

more options

選擇的解決方法

I managed to fix it.

1) I opened the HTML file up with notepad. 2) I then went to File > Save As >

  -Then changed the file type to, "All Types"

3) Then in file name I named it Bookmarks.JSON

  -The HTML file now saved as a JSON backup and I was able to import it.

However,

There is still no fix or reason as to why the HTML backup does not work. I highly suggest Firefox fix this, as it was highly agitating.

more options

You can open the HTML file in Firefox via "Firefox > New Tab > Open File" to see if there is a problem with the file and if all bookmarks are displayed.

You can also check the source code for errors that show as red text.

  • Firefox > Web Developer > Page Source
  • Tools > Web Developer > Page Source (Ctrl+U)

You can hover such a red marked error with the mouse to see a tooltip with an explanation of what is wrong.