搜尋 Mozilla 技術支援網站

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

了解更多

how can i restore bookmark, other then "restore" option in library?

  • 7 回覆
  • 3 有這個問題
  • 8 次檢視
  • 最近回覆由 omi

more options

i know how to restore bookmarks in mozilla firefox, but i want an another option to restore bookmarks in firefox where i can just put the name of bookmark and it restore automatically if file is found. please reply if anyone know any other method to restore the bookmark.

i know how to restore bookmarks in mozilla firefox, but i want an another option to restore bookmarks in firefox where i can just put the name of bookmark and it restore automatically if file is found. please reply if anyone know any other method to restore the bookmark.

被選擇的解決方法

A way to restore bookmarks automatically is to delete the places.sqlite and place the JSON backup as only or most recent bookmarks.json file in the bookmarkbackups folder.

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

所有回覆 (7)

more options

The places.sqlite file in your profile folder stores your bookmarks and history. You can replace this file with a backup copy while Firefox is closed.

You can also import bookmarks from a backup in HTML format. The key difference is that this will add those bookmarks to the existing ones, rather than replacing the whole set with the backup.

more options

Note that replacing places.sqlite restore the bookmarks and the history as stored in the file. Restoring a JSON backup replaces all bookmarks with the bookmarks in the file.

I'm not sure if I understand how or when you want to restore bookmarks.

Are you doing this that often that you want to do this in a different way?

more options

thnx Gingerbread Man and COR-EL for your reply.

cor-el, basically i am working on a small project by which we can restore bookmarks in mozilla. i am able to get backup file(json) but i need an option by which user only select path of that backup json file and it should automatically restore that file in mozilla. i dont want to write sql query for that. if you have any other idea please suggest. thnx :)

由 omi 於 修改

more options

選擇的解決方法

A way to restore bookmarks automatically is to delete the places.sqlite and place the JSON backup as only or most recent bookmarks.json file in the bookmarkbackups folder.

more options

thnx COR-EL, its working. :)

One more thing is there any way to merge two .json files. say i want my old bookmarks to be there if i restore with new backup file.

thnx again for the solution :)

more options

You can only merge bookmarks by importing an HTML backup because restoring a JSON backup will replace all existing bookmarks.

more options

ok. thnx for your help :)