Search code examples
google-chromeinternet-explorerfirefoxbrowserbookmarks

Browser bookmarks location variable


I'm wondering if there is a variable in Firefox, Internet Explorer and Google Chrome, etc which contains the location of the bookmarks?


Solution

  • For IE you want to call SHGetKnownFolderPath() with FOLDERID_Favorites.

    For Mozilla you can use the Directory Service and ask for "Favs". This may vary depending on your OS. See the linked header file for details.

    For Chrome, see this.