IndexedDB access in Content Scripts

544 views
Skip to first unread message

Petr Bespechnyi

unread,
May 23, 2017, 5:07:58 PM5/23/17
to Chromium-Extensions-Announce
Hi all,

Is there any chance to get data from IndexedDB in content script, if it was saved in background page or popup?

I'm trying to effectively send images to content script from popup with the ability to show recent ones. User can upload 10 images per request (max. size 5MB) from local filesystem using popup.

Thanks and best regards,
Peter

PhistucK

unread,
May 25, 2017, 6:17:27 PM5/25/17
to Petr Bespechnyi, Chromium-Extensions-Announce
What about using the chrome.storage API (I think it is accessible from content scripts as well as other extension tabs, background pages and popups)?


PhistucK

--
You received this message because you are subscribed to the Google Groups "Chromium-Extensions-Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-extensions@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/23d54be6-6bda-4403-a1ac-2aea59b7e0c8%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Reply all
Reply to author
Forward
0 new messages