3 ms·
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
by barredo 16y ago
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?
- kingsley_20 16y agoProbably uses Adobe Flash storage in browsers that don't support a db.
- pmjordan 16y agoThe source code is very short, readable and only one JavaScript file (plus an HTML page with embedded JS for the tests). There's no Flash, although that was admittedly my first thought as well.
- cheald 16y agoTake a look at the source. It uses an IE-proprietary something or other to mock the behavior. http://msdn.microsoft.com/en-us/library/ms531424%28v=VS.85%29.aspx http://msdn.microsoft.com/en-us/library/ms531424%28v=VS.85%2... Been available since IE 5.5, apparently. Who knew?
- barredo 16y agoReally awesome. I did check the source, but did not quite understand that. Thanks!
- pmjordan 16y agoLooks 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).aspx 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.
- wrs 16y ago"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.
- pmjordan 16y agoYes, that's exactly what I was trying to get at, evidently unsuccessfully. For all of IE's failings, it does seem to have been first to support an awful lot of scripting features. They've always been documented, but hardly anyone seems to know about them until the other browsers popularise them, and even then IE's implementation seems to be forgotten, presumably because APIs are nonstandard and the docs use different terminology. I was doing web dev for an agency back when IE6 was the coolest browser around, and all around me JavaScript was still very much being used only for menus and rollovers. I guess all these features were basically ahead of their time. I'd love to know what Microsoft used them for, or intended them for. I mean, they've been exercising their vested interest in not pushing rich browser-based apps for years. I know their MSDN site has been very AJAX-y since before it was cool.
- technoweenie 16y agoXmlHTTPRequest was created by Microsoft for OWA around 2000. I remember using JSRS (http://www.ashleyit.com/rs/ http://www.ashleyit.com/rs/) at the time until Mozilla started supporting XHR. Fine times :)
- pmjordan 16y agoVery cool. From a quick test it looks like JSRS uses a hidden IFrame; in the case of POST it's the target for a scripted hidden form submission. The response is embedded in HTML though (as a textarea no less!), which doesn't make much sense to me.
- est 16y agoMicrosoft failed the dHTML buzzword campaign or didn't even care. Apple and Google did a much better job with HTML5. dHTML+TIME could even use dynamic generated music http://en.wikipedia.org/wiki/DirectX_Media http://en.wikipedia.org/wiki/DirectX_Media But I guess Microsoft is too obsessed with .Net and Silverlight now.
- alc277 16y agoI've seen some frameworks that use flash storage as a last resort for IE6. I've found success just building in a ajax fail-over and then let IE6 or any other browser make use of the fail-over.
- narcvs 16y agoIE6 has userData behavior, which can be used to store data on the client just like with local storage