我在使用Firefox中的标准导出功能将我的成千上万个Firefox书签导出为HTML文件时出现问题。我得到这个错误:从places.sqlite文件中恢复书签
*************************
A coding exception was thrown and uncaught in a Task.
Full message: TypeError: root is undefined
Full stack: [email protected]://gre/modules/BookmarkHTMLUtils.jsm:980:1
BHU_exportToFile/<@resource://gre/modules/BookmarkHTMLUtils.jsm:228:22
[email protected]://gre/modules/Task.jsm:314:40
[email protected]://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:865:23
[email protected]://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js:744:7
*************************
看到https://gist.github.com/rubo77/12ef9be4060c7935c74c
有出口在控制台上我的书签的方式,所以我可以将它们导入新新的Firefox配置文件?
更新:我设法将firefox实例的“manage bookmarks”菜单中的所有书签与旧配置文件复制并粘贴到另一个实例中,同时打开新配置文件(使用命令行选项-no-remote
)。但不幸的是,这仍然不会复制用于我的书签的标签,这也是一个很大的损失。