为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Import bookmarks from json - scripts error

  • 11 个回答
  • 12 人有此问题
  • 3 次查看
  • 最后回复者为 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于修改