Give extensions access to cached favicon URLs
Categories
(WebExtensions :: Compatibility, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: from_bugzilla3, Unassigned)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [design-decision-approved][tabs][triaged])
Updated•8 years ago
|
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Reporter | ||
Comment 3•8 years ago
|
||
Comment 5•8 years ago
|
||
Reporter | ||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
Updated•8 years ago
|
Comment 9•8 years ago
|
||
Comment 10•8 years ago
|
||
Comment 11•7 years ago
|
||
Updated•7 years ago
|
Comment 12•7 years ago
|
||
Reporter | ||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 21•7 years ago
|
||
Updated•6 years ago
|
Comment 25•6 years ago
|
||
Comment 26•6 years ago
|
||
Comment 27•6 years ago
|
||
Comment 28•6 years ago
|
||
Any news on this? I still have to use a workaround to load the extension page favicon (chrome://mozapps/skin/extensions/extensionGeneric-16.svg).
https://github.com/eoger/tabcenter-redux/blob/699694ff0ebdc0cc06a5c3a1318c6e4519df663e/src/sidebar/tab.js#L175
Comment 30•5 years ago
|
||
It would be nice to have this to avoid ugly hacks in WebExtensions.
Comment 32•5 years ago
|
||
Only 3 years later and still no progress? Can you guys please fix this API as @aafn mentions
"The browser.bookmarks API should make the favicon available as part of the BookmarkTreeNode object, and displayable as an image."
Comment 33•5 years ago
|
||
Does this bug cover both read access and write access?
Comment 34•5 years ago
|
||
Hello @Sean Feng, only read access is demanded here.
Updated•4 years ago
|
Comment 35•4 years ago
|
||
Was it resolved? I need to access favicons for my extension.
Comment 36•3 years ago
|
||
It would be nice if this could be resolved to allow extension authors use the ressources available.
I have two extensions installed that need to do their own thing to retrieve page icons.
Sync doesn't cover this type of data so on every machine and every FF instance installed these addons have to retrieve favicons allover again and again and again ... that's painful to watch.
Please! Get this sorted.
Updated•2 years ago
|
Comment 39•1 year ago
|
||
Are there any plans to allow the page-icon protocol (bug 1354248) on webExtension pages? I wrote an extension to display my bookmarks on new tabs, using the bookmarks API, but currently to show the favicons I request them from a Google server, by doing: <img src="https://s2.googleusercontent.com/s2/favicons?domain_url='+[the bookmark ur]+'"/>...
It's fairly horrible in terms of performance and privacy, because the favicons are right there in storage, but each bookmark being displayed results in a network request and the url gets sent to Google.
About 40 people use my extension, so I warn them of that in the description because it's not even something that can be added to the permissions section. It looks like this bug is taking a while because of privacy/security concerns, but without an official way to fetch favicons, devs will resort to terrible hacks that leak bookmarks data to sketchy services, or custom fetching code for a job that should be handled by the browser.
Comment 40•1 year ago
|
||
What are the technical obstacles that prevent implementing this?
Comment 41•5 months ago
|
||
I need the implemented "chrome://favicon/"
permission to get site's icon for a bookmark manager extension.
The favicons are already in favicons.sqlite
SQLite DB in browser's profile folder.
Just publish the API to access them.
Comment 43•5 months ago
|
||
"chrome://favicon/"
permission was implemented in Chromuim a long time ago.
There are "chrome://favicon/"
for MV2 and "favicon"
for MV3 permissions.
It would useful for extensions that work with bookmarks, history, downloads and for extensions that just list of urls.
For example, a HTML code that uses this feature:
<img id="favicon" src="chrome://favicon/size/16@2x/https://twitter.com/">
(MV2 version)
Description
•