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!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

imported bookmarks.html always loads under Bookmarks Menu

  • 3 trả lời
  • 0 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi salome.harrison

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
Đính kèm ảnh chụp màn hình

Tất cả các câu trả lời (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.

Được chỉnh sửa bởi cor-el vào