Live data from Hacker News

Store.js - cross browser local storage without using cookies or flash

github.com

11–20 of 63 posts

Re: Store.js - cross browser local storage without using cookies or flash

#13
post #2

From the readme: "So far tested in Tested in Firefox 2.0 Tested in Firefox 3.0 Tested in Firefox 3.6 Tested in Chrome 5 Tested in Safari 4 Tested in Safari 5 Tested in IE6 Tested in IE7 Tested in IE8 Tested in Opera 10" Does it mean it works on IE6+? Does IE6 have local storage?

IE6 has userData behavior, which can be used to store data on the client just like with local storage

Re: Store.js - cross browser local storage without using cookies or flash

#15

I just tested. Like cookies, it also obeys domain-only visibility. So, all hopes for cross-domain user tracking are still doomed. sigh

So, all hopes for cross-domain user tracking are still doomed. sigh

I would certainly hope so...

Re: Store.js - cross browser local storage without using cookies or flash

#16
post #5
post #2

From the readme: "So far tested in Tested in Firefox 2.0 Tested in Firefox 3.0 Tested in Firefox 3.6 Tested in Chrome 5 Tested in Safari 4 Tested in Safari 5 Tested in IE6 Tested in IE7 Tested in IE8 Tested in Opera 10" Does it mean it works on IE6+? Does IE6 have local storage?

Looks like it. If you look a the store.js source code, it links to http://msdn.microsoft.com/en-us/library/ms531424(v=VS.85).as... which appears to be another one of those hidden gems in IE, like the original AJAX implementation, or XDomainRequest.

"Hidden?" Give IE some respect...its rendering may have been crap, but it had plenty of features like this for building robust web applications years before the cool kids realized that might be a good idea.

Re: Store.js - cross browser local storage without using cookies or flash

#17

I just tested. Like cookies, it also obeys domain-only visibility. So, all hopes for cross-domain user tracking are still doomed. sigh

I'm completely unconvinced that cross-domain local storage is even remotely a good idea. I can't think of any data I'd want to store in a clientside database that I would want other sites to be able to see/modify.

  So, all hopes for cross-domain user tracking are still doomed. sigh
Um, this is a good thing. I don't want the sites I visit to be communicating my use patterns to each other.

Re: Store.js - cross browser local storage without using cookies or flash

#19
post #14

Tested it on IE 6 and got: "Tests passed" So I guess it works . . . :-)

Yup, it works in IE6. I don't have access to IE5.5, would love to have someone test it.

Give IETester a whirl. IE 5.5, 6, 7, 8, and 9 preview render engines in a single executable.

http://www.my-debugbar.com/wiki/IETester/HomePage

Re: Store.js - cross browser local storage without using cookies or flash

#20
post #19
post #14

Earlier quoted context omitted.

Yup, it works in IE6. I don't have access to IE5.5, would love to have someone test it.

Give IETester a whirl. IE 5.5, 6, 7, 8, and 9 preview render engines in a single executable. http://www.my-debugbar.com/wiki/IETester/HomePage

I'm not convinced that IETester changes the underlying APIs correctly. Because of bad experience with "Multiple IE" simulators in the past I don't test on anything but the real install.
Post reply on HN