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

随声附和 提交于 2019-12-23 07:49:17

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/13453418/is-it-possible-for-a-chrome-extension-to-access-an-indexeddb-database-created-by

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!