搜尋 Mozilla 技術支援網站

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

Learn More

Firefox 14.01 not importing html bookmarks

  • 27 回覆
  • 62 有這個問題
  • 3075 次檢視
  • 最近回覆由 jscher2000

more options

Before upgrade to 14.01 happened, I could have any html file containing links and it would happily get imported into Firefox bookmarks.

Now Firefox is only importing html files generated through export from Firefox itself.

所有回覆 (7)

more options

If cor-el's post was addressed to me, then I can report that it had no effect. I ran all the tasks in the Places Maintenance add-on and they all came back clean. Importing bookmarks from Safari still doesn't work and doesn't report any error message.

more options

Hi GeezJan, do you want to compare an export from Firefox 14/Windows with the file you are trying to import from Safari and see whether there are any obvious differences in the headers and/or document structure? I usually use WinMerge for text file comparison: http://winmerge.org/.

more options

Hi jscher2000. I see obvious differences. I am attaching them as PNG files, because entering HTML into this post causes it to be processed as HTML. The first image is the Safari bookmarks exported on my Mac. The second image is the Firefox bookmarks exported on my Windows PC. (I have scrubbed the bookmarks for privacy.)

more options

Try deleting the four lines starting with:


<DT><H3 FOLDED>Bookmarks Bar</H3>

I did a comparison export from IE8 and it does not have those four lines.

more options

Did you try to remove the opening and closing HTML tags and maybe the FOLDED attributes in the H3 tags in the Safari export?

more options

Well, that worked, jscher2000. Thanks!

I didn't used to have to do that, so I think something changed in Firefox, but at least I can import bookmarks again.

more options

Hi GeezJan, yes, Firefox 14 switched from the ancient import code that apparently was very tolerant of various formats to a new HTML5-based importer with stricter requirements. I can't think of a shortcut for that cleanup, but at least it's right at the beginning of the file.

  1. 1
  2. 2