搜尋 Mozilla 技術支援網站

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

Learn More

Use multiple bookmark files

  • 4 回覆
  • 2 有這個問題
  • 2 次檢視
  • 最近回覆由 Texan100

more options

I have a lot of bookmarks and I would like to divide them into some smaller files and be able to use them in separate sessions. For example, I am interested in several broad subjects and at different times I might want to see the bookmarks on one or another. I already have folders. Is there a way that I can 1) separate this large set of bookmarks into one or more "sets," and 2) have access one or another "set?"

Thank you!

I have a lot of bookmarks and I would like to divide them into some smaller files and be able to use them in separate sessions. For example, I am interested in several broad subjects and at different times I might want to see the bookmarks on one or another. I already have folders. Is there a way that I can 1) separate this large set of bookmarks into one or more "sets," and 2) have access one or another "set?" Thank you!

被選擇的解決方法

Thank you so much for your idea to use the bookmarks as an HTML file.

What you said also suggested another possibility to me. I can try using the HTML file to import the bookmarks into another browser, and export them from it to get them back for Firefox.

I never knew that the HTML file was not to be used for backing up bookmarks for Firefox. I came from Chrome to Firefox when Windows Vista (or maybe Windows ME) stopped supporting Chrome. I never had a problem with the bookmarks, thus never needed to use the HTML backups I made, and I never had a reason to see if I should change that decision, so I didn't know they were no longer supported. I just made the initial decision to select HTML among the two backup options because it was a human-readable format which I thought would be the safest if Firefox was discontinued (which seemed possible over its years).

So thank you again so much.

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

所有回覆 (4)

more options

1) no & 2) no. One bookmarks collection per Firefox Profile; but you can have multiple Profiles.

https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data

more options

Thank you for your reply. I will investigate profiles.

Since the bookmarks are exported as HTML, I don't understand why I can't divide the file. Do you know of a source of more information?

more options

bookmarks.html is a legacy file in Firefox for quite awhile now, and not used for anything beyond being an interchange format for Import & Export of bookmarks among the various other web browsers out there. There is no way to have a bookmarks.html file become displayed in the user interface. Firefox hasn't used the HTML format for the user interface or for accessing bookmarks since Firefox 3.0 was released in June 2008.

But something that escaped my mind an hour ago is that by using File > Open File the bookmarks.html file can be displayed in the content area, like a "local" webpage. And the bookmarks.html file can be edited (but it uses a unique type of HTML code in places), along with being able to be "split" into different sections as long as this header is at the top of each section, iirc.

Example: file:///D:/bookmarks.html in a local file bookmark worked for me to "bookmark" a bookmarks.html file I have saved so I can access that file from other Firefox installations and Profiles that I have on my hard drive.

 <!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">
<TITLE>Bookmarks</TITLE>

It has been like 10 years since I 'messed with' the !DOCTYPE NETSCAPE-Bookmark-file-1 file type so I am a little rusty.

IMO, just append the bookmarks.html file name to make each section have a unique name, so you can tell them apart and maybe store those sections / individual files in the same folder.

more options

選擇的解決方法

Thank you so much for your idea to use the bookmarks as an HTML file.

What you said also suggested another possibility to me. I can try using the HTML file to import the bookmarks into another browser, and export them from it to get them back for Firefox.

I never knew that the HTML file was not to be used for backing up bookmarks for Firefox. I came from Chrome to Firefox when Windows Vista (or maybe Windows ME) stopped supporting Chrome. I never had a problem with the bookmarks, thus never needed to use the HTML backups I made, and I never had a reason to see if I should change that decision, so I didn't know they were no longer supported. I just made the initial decision to select HTML among the two backup options because it was a human-readable format which I thought would be the safest if Firefox was discontinued (which seemed possible over its years).

So thank you again so much.