202
edits
BrettWilson (talk | contribs) |
BrettWilson (talk | contribs) |
||
| Line 1: | Line 1: | ||
== How to use the "Places" History API (nsNavHistory/nsNavBookmarks) == | == How to use the "Places" History API (nsNavHistory/nsNavBookmarks) == | ||
Most information from the [[Browser_History]] and bookmarks system comes from executing queries on the history system (nsINavHistory.executeQuery/executeQueries). This will give you a nsINavHistoryResult object which will contain a tree structure of the results. The definitions of these structures is in [http://lxr.mozilla.org/seamonkey/source/browser/components/places/public/nsINavHistoryService.idl browser/components/places/public/nsINavHistoryService.idl | Most information from the [[Browser_History]] and bookmarks system comes from executing queries on the history system (nsINavHistory.executeQuery/executeQueries). This will give you a nsINavHistoryResult object which will contain a tree structure of the results. The definitions of these structures is in [http://lxr.mozilla.org/seamonkey/source/browser/components/places/public/nsINavHistoryService.idl browser/components/places/public/nsINavHistoryService.idl] | ||
== Executing a query == | == Executing a query == | ||
edits