4

In the same vein as this question, is there a .NET-accessible library that'll let me add bookmarks for Chrome?

Community
  • 1
  • 1
PhilPursglove
  • 12,511
  • 5
  • 46
  • 68

2 Answers2

2

The format of the Bookmarks file is a json text file, which you can manipulate as needed. In OS X you find this file at

~/Library/Application\ Support/Google/Chrome/Default/Bookmarks
Juan A. Navarro
  • 10,595
  • 6
  • 48
  • 52
  • I'm not entirely sure, but perhaps due to the fact that there's no info on the structure of that JSON file (how does one modify it to add a bookmark?) – Adam Parkin Sep 26 '12 at 15:35
  • This still works well, but an important note is that you cannot have Chrome running while updating the bookmarks file; it will revert. And at least in my Gnome, I had to go to some lengths to make sure Chrome was truly, completely closed. – Jon Vance Jul 01 '22 at 19:19
0

The Bookmarks are stored in a SQLite database that you can access. I found this page which has some more information.

Kinlan
  • 16,315
  • 5
  • 56
  • 88
  • I don't think this is correct - about halfway down http://www.google.com/support/forum/p/Chrome/thread?tid=501d9a38a1976525&hl=en is a line that reads: 'For any programmers who are interested, the format of the Bookmarks file is json' – PhilPursglove May 11 '10 at 11:35
  • you are correct. The format is /now/ in Json, which means that once you have the file it is really easy to edit. – Kinlan May 16 '10 at 17:39