Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜尋 Mozilla 技術支援網站

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

了解更多

How do I import a bookmarks.html file? Bookmarks > Organize bookmarks > Import and backups does not work.

  • 10 回覆
  • 28 有這個問題
  • 1 次檢視
  • 最近回覆由 silkphoenix

more options

After trying to import my saved bookmarks from an html file, using Bookmarks > Organize bookmarks > Import and Backup > Import html, nothing is updated from the saved files

After trying to import my saved bookmarks from an html file, using Bookmarks > Organize bookmarks > Import and Backup > Import html, nothing is updated from the saved files

被選擇的解決方法

That's not "machine code", that is how a JSON backup file is formatted (except it normally shows no line breaks, it's one long line when viewed in most text programs or in Firefox). Renaming a JSON file to HTML doesn't work, the formats are totally different.

If you change the file extension of that file to json, you should be able to restore that data into Firefox. Bookmarks > Organize Bookmarks -> Import & Backup - Restore - Choose file...

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

所有回覆 (10)

more options

Could you be more specific? Was there an error message? Were you able to open the html file in Firefox?

more options

I did not get any error message. After I selected the html file using the Browse feature in Library, and clicked on Open, nothing happened.

I have been able to open the file by using File > Open, and by clicking on the icon. There are rows upon rows of machine language, intertwined with reference to some of the bookmarks I had saved (I didn't view the whole file).

Thanks for any assistance

more options

So you didn't save your bookmark in your hard drive? If you did, you should be able to just double click on the file and open in Firefox.

Please read this article to see if it helps:

http://kb.mozillazine.org/Lost_bookmarks#Step-by-step_bookmark_recovery

more options

"There are rows upon rows of machine language, intertwined with reference to some of the bookmarks I had saved"

Using File > Open file... in Firefox should have displayed that like a simple webpage; white background with Bookmarks Menu at the top of the "page", Folder names, separators (if you use them) and hyperlinks for your bookmarks.

That doesn't sound like an HTML file, which is a text file - no "machine language". Where did you get that file from?

more options

See http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox

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

A JSON backup needs to have the .json file extension and an HTML backup a .html file extension, so check in the Properties to make sure that there is no other hidden file extension appended.

more options

I created the file using the backup feature through Firefox, on my old laptop. The filename is: bookmarks-2010-01-31.html. I can read it using Firefox, Notepad and can actually see some of the bookmarks I created over the years of using them.

more options

選擇的解決方法

That's not "machine code", that is how a JSON backup file is formatted (except it normally shows no line breaks, it's one long line when viewed in most text programs or in Firefox). Renaming a JSON file to HTML doesn't work, the formats are totally different.

If you change the file extension of that file to json, you should be able to restore that data into Firefox. Bookmarks > Organize Bookmarks -> Import & Backup - Restore - Choose file...

more options

Dear Ed-Meister:

Thanks a million. That did the trick.

George

more options

Dear Ed-Meister;

Thanks a million - that did the trick.

George

more options

You're welcome, I'll mark this thread as solved.