為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Import bookmarks from json - scripts error

  • 11 回覆
  • 12 有這個問題
  • 1 次檢視
  • 最近回覆由 12sunflowers

more options

New profile. Import bookmarks from json - scripts error. Why? From HTML - icons YES, import NO errors, tags NO( From JSON - icons NO(, import with errors, tags YES May be fix\repair\check places.sqlite, how? [img]http://i.imgur.com/jCrGYKp.jpg/img [img]http://i.imgur.com/5f8opcf.jpg/img [img]http://i.imgur.com/vnIpPZw.jpg/img

New profile. Import bookmarks from json - scripts error. Why? From HTML - icons YES, import NO errors, tags NO( From JSON - icons NO(, import with errors, tags YES May be fix\repair\check places.sqlite, how? [img]http://i.imgur.com/jCrGYKp.jpg[/img] [img]http://i.imgur.com/5f8opcf.jpg[/img] [img]http://i.imgur.com/vnIpPZw.jpg[/img]

被選擇的解決方法

Thank You cor-el ! In about:config, dom.max_chrome_script_run_time i set 1000 and now no scripts warnings then i restore bookmarks from JSON file

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

所有回覆 (11)

more options

Restore the JSON backup files. Import is for HTML files.

more options

HTML bookmarks have no tags. Or what you mean?

more options

If you want Tags - JSON backup file, use Restore - not Import.

more options

Yes. If I am restore bookmarks from JSON i have scripts error messages. I need icons, tags and no errors:) Can i test, check, fix JSON file?

more options

Strangely?! Look at screen. http://imgur.com/t6Y8SHD

more options

What is the file size of the JSON file that you try to restore and how many bookmarks are in the file (xxxx in bookmarks-####-##-##_xxxx.json)?

more options

Json file 5 Mb, 12000 bookmarks

more options

Restoring a JSON backup with 12000 bookmarks can be quite a challenge.

Maybe try this is a second profile and disable the timeout to see if it finishes.

If it works then you can copy the places.sqlite file to the current profile folder.

more options

選擇的解決方法

Thank You cor-el ! In about:config, dom.max_chrome_script_run_time i set 1000 and now no scripts warnings then i restore bookmarks from JSON file

由 12sunflowers 於 修改

more options

You're welcome.

Be cautious with leaving that setting at that high value as it can block Firefox 1000 seconds (i.e. over 15 minutes), so only change it when you really need it.

more options

Thank You for help man! I understand, value in options in seconds.

由 12sunflowers 於 修改