This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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.

Learn More

imported bookmarks.html always loads under Bookmarks Menu

more options

I added bookmarks in my Firefox browser under Bookmarks Toolbar. I exported the bookmarks to bookmarks.html. If I import that file into another Firefox browser, it loads the bookmarks under Bookmarks Menu in a subfolder labeled Bookmarks Toolbar instead of under the top-level Bookmarks Toolbar. Is there a way to change this? I'm using Firefox Browser Extended Support Release 102.9.0esr on RHEL 8.8

I added bookmarks in my Firefox browser under Bookmarks Toolbar. I exported the bookmarks to bookmarks.html. If I import that file into another Firefox browser, it loads the bookmarks under Bookmarks Menu in a subfolder labeled Bookmarks Toolbar instead of under the top-level Bookmarks Toolbar. Is there a way to change this? I'm using Firefox Browser Extended Support Release 102.9.0esr on RHEL 8.8
Attached screenshots

All Replies (3)

more options

Sounds that something is wrong with the structure.

Does the Bookmarks Toolbar H3 tag in the HTML back have the PERSONAL_TOOLBAR_FOLDER="true" attribute similar to the UNFILED_BOOKMARKS_FOLDER="true" attribute for the Other Bookmarks H3 tag ?

<H1>Bookmarks Menu</H1>
<DL><p>
 <DT><A HREF="url" >BOOKMARK</A></dt>
 <DT><H3>FOLDER</H3>
  <DL><p>
   <DT><A HREF="url" >BOOKMARK</A></dt>
  </DL><p>
 <DT><H3 PERSONAL_TOOLBAR_FOLDER="true" >Bookmarks Toolbar</H3></dt>
  <DL><p>...</DL><p>
 <DT><H3 UNFILED_BOOKMARKS_FOLDER="true" >Other Bookmarks</H3></dt>
  <DL><p>...</DL><p>
</DL><p>

more options

Does this still happen if you delete that fake Bookmarks Toolbar folder and import this HTML backup again ?

As you can see in my above reply, in the HTML backup both Bookmarks Toolbar and Other Bookmarks folders are sub folders under the Bookmarks Menu folder, but they have a special designation that should make them act as system folders.

more options

Thank you for the replies. The bookmarks.html file save from Firefox looks like this:

<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
     It will be read and overwritten.
     DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<meta http-equiv="Content-Security-Policy"
      content="default-src 'self'; script-src 'none'; img-src data: *; object-src 'none'"></meta>
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks Menu</H1>

<DL><p>
    <DT><H3 ADD_DATE="1628237522" LAST_MODIFIED="1702599857" PERSONAL_TOOLBAR_FOLDER="true">Bookmarks Toolbar</H3>
    <DL><p>
        <DT><A HREF="http://google.com" ADD_DATE="1702599857" LAST_MODIFIED="1702599857">Test bookmark 1</A>
        <DT><A HREF="http://google.com" ADD_DATE="1702599828" LAST_MODIFIED="1702599863">Test bookmark 2</A>
    </DL><p>
</DL>

Yes, if I delete the fake Bookmarks Toolbar folder under Bookmarks Menu and import the file again, it puts it right back under Bookmarks Menu in Bookmarks Toolbar.

Modified by cor-el