How can you get a list or traversable tree of bookmarks from within a Firefox Extension?
Posted
by Nathan
on Stack Overflow
See other posts from Stack Overflow
or by Nathan
Published on 2010-05-20T20:58:02Z
Indexed on
2010/05/20
21:00 UTC
Read the original article
Hit count: 318
I am working on a simple Firefox Extension, and I need a list of the user's bookmarks. I have found the nsINavBookmarksService class which appears to be the recommended way of manipulating bookmarks since Firefox 3.0. Strangely I don't see a method that I could use to get a list of all the bookmarks in a folder. I need some way of creating a flat list of all the Bookmark URIs, but without any methods that return information about more than one bookmark I don't see a way to do it.
© Stack Overflow or respective owner