最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - cross domain reading data from browser storage - Stack Overflow

programmeradmin4浏览0评论

I am trying to store data with a unique ID into the browser's storage, from say a using jStorage and jQuery. I am then trying to read the data using the unique ID from, say b. 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?

I am trying to store data with a unique ID into the browser's storage, from say a. using jStorage and jQuery. I am then trying to read the data using the unique ID from, say b.. 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?

Share Improve this question edited Oct 22, 2012 at 21:46 Whymarrh 13.6k15 gold badges61 silver badges110 bronze badges asked Oct 22, 2012 at 15:49 user1504657user1504657 811 silver badge3 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 4

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."

发布评论

评论列表(0)

  1. 暂无评论