X
點擊此處開啟此網站的行動版。

技術支援討論區

how to import bookmarks from a JSON file?

已張貼

I don't know much about computers. I recently updated to windows 7. The person who helped me with it somehow saved my bookmarks. I have them saved as a JSON file. i have tried to import them on to firefox but i am unable to import them. Can you please tell me step by step how to get my bookmarks back on to firefox? Thanks heaps.

I don't know much about computers. I recently updated to windows 7. The person who helped me with it somehow saved my bookmarks. I have them saved as a JSON file. i have tried to import them on to firefox but i am unable to import them. Can you please tell me step by step how to get my bookmarks back on to firefox? Thanks heaps.

額外的系統細節

已安裝的外掛程式

  • -Shockwave Flash 10.1 r53
  • Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
  • Office Plugin for Netscape Navigator
  • Default Plug-in
  • Yahoo Application State Plugin version 1.0.0.7
  • NPWLPG
  • Google Update

應用程式

  • User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pa-IN; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4

更多資訊

zzxc 22 個解決方法 242 個答案

有幫助的回覆

  1. Open the Library window (Bookmarks->Organize Bookmarks)
  2. Press Import and backup
  3. Choose Restore
  4. Click Choose file...
  5. In the dialog box that pops up, select the JSON file on your system and open it.
  6. A dialog box will ask if you want to replace your current bookmarks. Choose Yes.

If it doesn't work after following these steps, try the solutions at Can't add, change or save bookmarks - How to fix.

# Open the Library window (Bookmarks->Organize Bookmarks) # Press '''Import and backup''' # Choose '''Restore''' # Click '''Choose file...''' # In the dialog box that pops up, select the JSON file on your system and open it. # A dialog box will ask if you want to replace your current bookmarks. Choose '''Yes'''. If it doesn't work after following these steps, try the solutions at [[Bookmarks not saved]].

提出問題者

I got my bookmarks back. Thanks heaps zzxc!

I got my bookmarks back. Thanks heaps zzxc!
skierpage 0 個解決方法 7 個答案

zzxc's technique works. A few notes:

  • Firefox regularly creates a .json backup of your bookmarks in the "bookmarkbackups" folder in your profile.
  • In Firefox 5 (at least on Linux), the menu item that opens the Library window is Bookmarks > Show All Bookmarks.
  • This 'technique replaces all your bookmarks.

If you want to add bookmarks to your existing bookmarks (for example, you were using a different copy of Firefox and want to add the bookmarks you made in it), you need to import an HTML file of bookmarks, not restore this JSON file. Here's one way to do it:

  1. Create a new Firefox profile (see steps elsewhere) and use it. (It should have no bookmarks except for the default Firefox set.)
  2. In that new profile, import the JSON file as zzxc explained. (It should now have the bookmarks.)
  3. Then in Library, choose Import and Backup > Export HTML... and save to a file. Give it a descriptive name like 'temp_setof_bookmarks_to_import.html so you don't get confused
  4. Exit that Firefox profile, and restart Firefox using your normal profile.
  5. In Library, choose Import and Backup > Import HTML... and import the HTML file you created.
  6. You'll now have both sets of bookmarks. You'll probably have duplicates of the default Firefox set.
zzxc's technique works. A few notes: * Firefox regularly creates a .json backup of your bookmarks in the "bookmarkbackups" folder in your profile. * In Firefox 5 (at least on Linux), the menu item that opens the Library window is Bookmarks > Show All Bookmarks. * This 'technique ''replaces'' all your bookmarks. If you want to ''add'' bookmarks to your existing bookmarks (for example, you were using a different copy of Firefox and want to add the bookmarks you made in it), you need to import an HTML file of bookmarks, not restore this JSON file. Here's one way to do it: # Create a new Firefox profile (see steps elsewhere) and use it. (It should have no bookmarks except for the default Firefox set.) # In that new profile, import the JSON file as zzxc explained. (It should now have the bookmarks.) # Then in Library, choose Import and Backup > Export HTML... and save to a file. Give it a descriptive name like '''temp_setof_bookmarks_to_import''.html so you don't get confused # Exit that Firefox profile, and restart Firefox using your normal profile. # In Library, choose Import and Backup > Import HTML... and import the HTML file you created. # You'll now have both sets of bookmarks. You'll probably have duplicates of the default Firefox set.