cross domain reading data from browser storage

2019-06-21 11:27发布

I am trying to store data with a unique ID into the browser's storage, from say a.com using jStorage and jQuery. I am then trying to read the data using the unique ID from, say b.com. But jStorage.get('UniqueID') is not working, and it's not showing the desired output.

Can anyone help me with reading browser storage cross-domain?

1条回答
时光不老,我们不散
2楼-- · 2019-06-21 12:20

This article has some information related to cross-domain storage. It offers "the basic technique of using an iframe to access another domain's localStorage object."

查看更多
登录 后发表回答