xoxco/awarejs — pull request #1 by pzl (2012-12-01 15:36:53+00:00)
Title: Added cookieless fallbacks for IE6+, FF2+ 

Added a fallback chain from: localStorage to globalStorage (early versions of FF before localS) and #userData for IE6 and 7

covers most browsers without the overhead from cookies

## Remaining issues from this
* Browsers not supporting one of these methods (not many, very old, usually not supported?)
* FF when about:config has local storage turned off
* Breaks demo page when manually setting visit date

As for the last point, it could be solved by either:
1. rewriting the onclick/eventhandlers to check the support, then use whichever method on each link
2. exposing the checks in the aware plugin to be more generic storage getters and setters

The latter seemed to be rewriting https://github.com/marcuswestin/store.js so I didn't assume to do it right away. The first I'd rather run by you before cutting up your demo page entirely

N.B. On the demo page, the JS was moved to the opening `body` tag. This was so that the IE7- support could use `window.document.body` as part of its storage device.