如果http://example.com/创建了IndexedDB数据库,Chrome扩展程序(用于example.com以外的域)是否可以打开并查询该数据库?
example.com
不,您不能这样做。数据存储已沙盒http://www.html5rocks.com/en/tutorials/offline/storage/
是的,可以通过chrome扩展名访问IndexedDB。在这里查看:https://stackoverflow.com/a/60002682/9131807