Reputation: 6739
I'm importing bookmarks through my chrome extension and I want to set the favicon of each bookmark.
I can't find any way of doing this in the docs. The BookmarkTreeNode
type doesn't seem to have an icon property
Upvotes: 1
Views: 682
Reputation: 18899
I guess we can forget about this feature ever being there.
I don't like this, since the bookmark manager actually shows favIcons, but I guess we cannot.
There's something else you can do, which is to store the favIcon url as a bookmark itself. Then you can retrieve the bookmark favIcon based on the domain.
Very tiring process though.
Upvotes: 0
Reputation: 349252
No, you cannot change a favicon through the chrome.bookmarks
API.
There is a feature request at crbug.com/59519 though.
Upvotes: 2