简体   繁体   中英

Can I retrieve a favicon from places.sqlite?

I'm making a webextension to manage bookmarks. The bookmarks API works fine. Now, I'd like to get a handle of the favicons that are stored in the moz_favicon table of the places.sqlite database.

So far, no luck, hence questions :

  • is it possible at all to access places.sqlite from inside a webextension ?
  • if yes, how ?

A while back, I made the same thing on Google Chrome. There, accessing the favicons was rather easy thanks to the special url chrome://favicon/... Is there something similar here ?

is it possible at all to access places.sqlite from inside a webextension?

not with firefox atm, you'd have to propose a new api, implement it, test it, get it reviewed by a bunch of people, and maybe after all of that the functionality will be available in firefox.....

good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM