How to capture event of clicking on a bookmark

56 Views Asked by At

I am writing an add-on that stores some information using storage.local when a bookmark is created.

I would like to use that stored info when users click on the bookmark to decide how to open the url of the bookmark. However, after searching bookmarks API, I didn't find any event to capture clicking on a bookmark, because I would like to get bookmarks.BookmarkTreeNode object of that bookmark.

Is there anyway I can capture the event of clicking on a bookmark?

0

There are 0 best solutions below