Can we use IndexedDB between two pages on different domains?

access-control, indexeddb

Solution

According to MDN you can't do cross domain access to an indexedDB (for security reason, you don't want that another website modify your client database):

IndexedDB follows a same-origin policy. So while you can access stored data within a domain, you cannot access data across different domains.

See also:

- cross domain reading data from browser storage

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

Problem

I have created a IndexdDB object store in my one page (Let object store name is "ShopStore"). Now I want to open the same object store from a diffirent page. Is it possible? My two web pages are on different domain.

Original source

Related problems