Bookmarks API BookmarkTreeNode doesn't include favicons
Categories
(WebExtensions :: Untriaged, enhancement)
Tracking
(Not tracked)
People
(Reporter: juhyt80, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Steps to reproduce:
I am trying to use bookmark api and make good bookmark manager using Jailese extension framework (under dev by me)
Actual results:
Standard bookmark's pop-up include favicons, but bookmarks.BookmarkTreeNode object doesn't include path for cached favicons. So I can't show icon to the user.
Expected results:
bookmarks.BookmarkTreeNode object need to include cached favicon's url
Comment 1•6 years ago
|
||
Hi juhyt80, thanks for reporting! You might be able to use a page-icon:
URL, with the origin of the bookmark URL (e.g., for http://example.com/path/to/something
, use page-icon:http://example.com
), but I'm not sure if that's exposed to WebExtensions. Either way, it'd be handy if you could get the favicon URL for a BookmarkTreeNode
.
Ok, but page-icon:http://example.com or something else doesn't work. page-icon: returns the sample icon, but it can't get any type of URL. Is there any documentation? Thank you
Comment 3•6 years ago
|
||
There isn't. 🙁 It was added in bug 1283825, but, reading through bug 1354248 (and bug 1315616, and bug 1411120), it sounds like it's not possible to use from an extension yet, sorry.
Looks like bug 1315616 is the tracking bug, so I'll dupe this bug to that. Unfortunately, I don't know the timeline for adding it.
Description
•