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

javascript - How can I use something like HTML5 localStorage, but shared between browsers? - Stack Overflow

programmeradmin3浏览0评论

I tried localStorage in HTML for my project. When I save some data using localStorage in one browser and try to read it in another browser, it fails.

  1. How can I save data that is mon across all browsers, like Flex is doing?

  2. And where these data are stored in Windows 7?

I tried localStorage in HTML for my project. When I save some data using localStorage in one browser and try to read it in another browser, it fails.

  1. How can I save data that is mon across all browsers, like Flex is doing?

  2. And where these data are stored in Windows 7?

Share Improve this question edited Nov 5, 2014 at 0:14 Paul D. Waite 98.8k57 gold badges202 silver badges271 bronze badges asked Jul 11, 2012 at 9:14 SathyaSathya 5,3088 gold badges44 silver badges66 bronze badges 2
  • See AmplifyJS (see also: browser patibility of localStorage). – Rob W Commented Jul 11, 2012 at 9:19
  • 2 You can save data across multiple browsers by storing it server side - in a database for example – Manse Commented Jul 12, 2012 at 8:06
Add a ment  | 

1 Answer 1

Reset to default 16
  1. This is not possible.

  2. Every browser stores it in its own location (this is the reason it is not possible). The localStorage is not an OS service, it is part of HTML5 specification, which is implemented by each browser separately.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论