开发者

Chrome Extensions & Javasctipy Database

开发者 https://www.devze.com 2023-01-23 03:09 出处:网络
I\'m trying to build a Chrome extension that will have a heavy use of data and images. What are my options when it comes to storing the data?

I'm trying to build a Chrome extension that will have a heavy use of data and images.

What are my options when it comes to storing the data?

I'm hoping that I have some kind of SQL开发者_Go百科 option (SQLite).


You could go for base64 encoded images stored in a web SQL database. With the help of a canvas in javascript you can easily retrieve and manipulate the image data.

edit

It seems like Web SQL is becoming obsolete. Use IndexedDB instead!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号