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!

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Not importing bookmarks from HTML

  • 5 件の返信
  • 2 人がこの問題に困っています
  • 3 回表示
  • 最後の返信者: axelrock

more options

I reinstalled Win 7 on my laptop. Before this, i saved my bookmarks using Export bookmarks to HTML, created the bookmark.html file, checked it with Edit and it was all there. So now after installing the fresh Win7, installed Firefox 9, updated it, and i'm trying to import the bookmarks. It opens the window, i click on the bookmark.html file, click Open and nothing happens. Nothing. I restarted the win, same thing. (the Win is up to date)

I reinstalled Win 7 on my laptop. Before this, i saved my bookmarks using Export bookmarks to HTML, created the bookmark.html file, checked it with Edit and it was all there. So now after installing the fresh Win7, installed Firefox 9, updated it, and i'm trying to import the bookmarks. It opens the window, i click on the bookmark.html file, click Open and nothing happens. Nothing. I restarted the win, same thing. (the Win is up to date)

選ばれた解決策

Hi, that's not HTML, that's JSON. Did you save as a backup instead of exporting to HTML? You can restore that using the same dialog, but you will need to change the file extension to .json (lower case).

この回答をすべて読む 👍 1

すべての返信 (5)

more options

I assume that you use this menu item:

  • Bookmarks > Show All Bookmarks > Import & Backup > Import Data from Another Browser

Do you see the bookmarks if you open the HTML file in Firefox via "Firefox > New Tab > Open File" ?

more options

I am using the item: Bookmarks > Show All > Import & Backup > Import from HTML. And after pressing Open, and exiting the bookmark library (like i'm supposes to) the bmarks still don't appear.

If i open the file via New Tab > Open file, i get only text, like this:

{"title":"","id":1,"dateAdded":1326123155006000,"lastModified":1328216394707000,"type":"text/x-moz-place-container","root":"placesRoot","children":[{"title":"Bookmarks Menu","id":2,"parent":1,"dateAdded":1326123155006000,"lastModified":1339049877623000,"type":"text/x-moz-place-container","root":"bookmarksMenuFolder","children":[{"title":"Recently Bookmarked","id":4406,"parent":2,"annos":

And it goes on. This i believe means that it is not an error in my bookmarks.html file.

more options

選ばれた解決策

Hi, that's not HTML, that's JSON. Did you save as a backup instead of exporting to HTML? You can restore that using the same dialog, but you will need to change the file extension to .json (lower case).

more options

That is not an HTML backup, but a JSON backup (last modified: Thu 2 Feb 2012 20:59:54:707 GMT).

You can only use such a backup to replace all current bookmarks and can't merge them with the existing bookmarks like happens with an HTML backup.

To achieve that you will first have to export your current bookmarks to an HTML file and then reimport that HTML file after you've restored the JSON backup.

  • Bookmarks > Show All Bookmarks > Import & Backup > Restore > Choose File
more options

Whoa... thank you. I'm so relieved. It worked. I renamed it to .json , exported my current bmarks to hmtl, restored from file the .json, then imported from html, and all my bmarks are now like before.

So it was my mistake after all, although i cant see why. Before reinstalling, i saved backups in .json and .html format, but only saved the .html one (dunno why i forgot about the other one) and i didn't modify anything in it.

Anyways this means i gotta be more careful next time, and thanks for your time.