A outstanding issue with Firefox Bookmarks is that a search will show the bookmarks, but will not give any clue of where they are located in the tree. The use case is: For a new page I want to bookmark, I first search for a similar item, and desire to store the new bookmark in the same folder. Unfortunately, from the search list, there is no way to know the location of the found bookmark to open that folder and add another.
The Add-ons “Show Parent Folder” and “Go Parent Folder” formerly solved this issue. They are now legacy and not updated.
I find this to be an important function, along with many other people, so I will try to develop a replacement.
The required functionality is: from the Bookmark Search Results list, provide a way to view the path to the bookmark’s folder. There are several options how this could be done:
- Extend the listing to include a new column that contains the folder path to the bookmark
- Add a function to the right-click menu that will display the path in an edit box
- Add the path to the edit boxes at the bottom (Name, Location, Tags, Path)
- Add a button that will expand the treeview on the left, to open and highlight the folder of the selected bookmark in the search results.
As I study the Web Extensions Bookmark API I cannot determine how I would accomplish any of these approaches. How is it possible to interact with the search results? How can the extension interact with the selected bookmark?