bookmarks bar click event listener chrome extension

i am working on a chrome extension that needs an event listener on the bookmarks bar buttons so that i could do whatever i want with the bookmark that was clicked !

i've looked up the bookmarks api on their site and the context menus documentation trying to reach those bookmarks but i couldn't reach such thing .

Upvotes: 5

Views: 1245

Answers (2)

bowman han
bowman han

Reputation: 1135

Chrome doesn`t have such api to hook the bookmark bar button,maybe you can implement another add bookmark bar button after the original bookmark bar button by page action api,

Upvotes: 0

John Woodruff
John Woodruff

Reputation: 1666

This is not supported in the Chrome Extensions APIs. This page gives all of the options available for working with bookmarks.

Upvotes: 3

Related Questions