Warm tip: This article is reproduced from stackoverflow.com, please click
google-chrome-extension indexeddb

Is it possible for a Chrome extension to access an IndexedDB database created by a specific domain?

发布于 2020-03-31 22:59:05

If http://example.com/ creates an IndexedDB database, is it possible for a Chrome extension (used on domains other than example.com) to open and query this database?

Questioner
Alf Eaton
Viewed
85
Sudarshan 2012-11-19 22:14

No, you can not do it. The data storage is sandboxed http://www.html5rocks.com/en/tutorials/offline/storage/