Pablo Jomer
Pablo Jomer

Reputation: 10378

Adding a data field/property to a bookmark in a chrome extension

Im starting a new project to morrow where im going to create a new chrome extension. In my extension I will need to set labels on my bookmarks to do this I would like to set the labels on the bookmark object reyrived from the Api is there a way to do this?

Upvotes: 2

Views: 735

Answers (1)

Rob W
Rob W

Reputation: 348962

The chrome.bookmarks API (and the bookmark feature in Chrome, in general) only offers the option to set a title and URL (and a folder, if desired).

There's no supported way of adding other fields.
If you still want to add some kind of tag (without bookmark folders), just insert them in the title field.

Upvotes: 2

Related Questions