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

搜尋 Mozilla 技術支援網站

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

了解更多

Bookmark Restore ignoring order and location in folders

more options

Following an incident with Firefox Sync, I needed to restore my bookmarks. I have a little over 700 bookmarks across 15-25+ folders at mostly 2-3 levels deep but up to 5 levels. All but a handfull of these are all in the bookmarks toolbar.

I have a backup json of everything for restoration. However, when I do restore, everything is messed up: all the bookmarks are there, and all the folders are there with their structure preserved (subfolders in the right folders), but every bookmark has been pulled out of the folder structure and into the toolbar, so all folders are empty of actual bookmarks. This includes taking bookmarks from folders in the bookmark menu. Folders seem to be in the right order, and some bookmarks are, but most bookmarks are in the wrong place and order. Since most of my bookmarks were in folders, I really do not have it in me to put them all back unless I absolutely have to (assuming I can even remember what goes where).

Opening the json in Firefox, selecting "Raw Data" and "Pretty Print", it is clear the json file correctly preserved folder structure and bookmark placement exactly as it was before. Thus, something must be going wrong in how it is being read.

I have tried different restore points with the same outcome. I have sync disabled and have tried removing existing bookmarks first, clearing data, and deleting places.sqlite (as per related help threads) to no avail. Integrity check runs without error. I have also tried on a different OS (Windows 10 and Manjaro KDE) with the same results. I have not seen any other posts with this specific issue.

Would it only work correctly if the export was an html file? Is there anything I can do, like trying to modify the json? Is this expected behavior or a bug to fix? Please advise.

Following an incident with Firefox Sync, I needed to restore my bookmarks. I have a little over 700 bookmarks across 15-25+ folders at mostly 2-3 levels deep but up to 5 levels. All but a handfull of these are all in the bookmarks toolbar. I have a backup json of everything for restoration. However, when I do restore, everything is messed up: all the bookmarks are there, and all the folders are there with their structure preserved (subfolders in the right folders), but every bookmark has been pulled out of the folder structure and into the toolbar, so all folders are empty of actual bookmarks. This includes taking bookmarks from folders in the bookmark menu. Folders seem to be in the right order, and some bookmarks are, but most bookmarks are in the wrong place and order. Since most of my bookmarks were in folders, I really do not have it in me to put them all back unless I absolutely have to (assuming I can even remember what goes where). Opening the json in Firefox, selecting "Raw Data" and "Pretty Print", it is clear the json file correctly preserved folder structure and bookmark placement exactly as it was before. Thus, something must be going wrong in how it is being read. I have tried different restore points with the same outcome. I have sync disabled and have tried removing existing bookmarks first, clearing data, and deleting places.sqlite (as per related help threads) to no avail. Integrity check runs without error. I have also tried on a different OS (Windows 10 and Manjaro KDE) with the same results. I have not seen any other posts with this specific issue. Would it only work correctly if the export was an html file? Is there anything I can do, like trying to modify the json? Is this expected behavior or a bug to fix? Please advise.

被選擇的解決方法

This is a direct interaction with the "Default Bookmark Folder" extension, which makes sense now that I think about it. Firefox bookmark restore is creating new bookmarks, so the extension is forcing them all into the "default" folder (which I set to the toolbar). Restore works as expected when temporarily disabling the extension.

This also explains a behavior I noticed but neglected to mention, which is that it appears to be imported correctly for about 1 second before getting messed up (I assumed this behavior was expected with so many bookmarks).

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

所有回覆 (2)

more options

Should have done this sooner but I really wasn't expecting an interaction... restoring the bookmarks in troubleshooting mode was successful. Will update when I identify the cause in case anyone else has this issue.

more options

選擇的解決方法

This is a direct interaction with the "Default Bookmark Folder" extension, which makes sense now that I think about it. Firefox bookmark restore is creating new bookmarks, so the extension is forcing them all into the "default" folder (which I set to the toolbar). Restore works as expected when temporarily disabling the extension.

This also explains a behavior I noticed but neglected to mention, which is that it appears to be imported correctly for about 1 second before getting messed up (I assumed this behavior was expected with so many bookmarks).

由 thefallinglink 於 修改