0

Developing a chrome extension,I need to store the data in extension,It may include text and

Image please provide the best ways to do this.

1.Is there any way to connect chrome extension with local database?.

Have researched on net only very few details are available,could someone help.

user1365732
  • 1,071
  • 2
  • 9
  • 12

1 Answers1

0

As suggested by udidu, use chrome.storage. You can store images as base64 or blobs.

Community
  • 1
  • 1
Eric Zhang
  • 672
  • 1
  • 4
  • 13
  • sorry to respond to a really old thread but do you have a good example of storing a blob in chrome.storage? I attempted it and the value that got stored was "{"type":"image/jpeg","size":42123}". I'd rather use a blob instead of a base64 url if I can, because it is more compact. – infomofo Feb 23 '14 at 21:14