Profile
Achievement
scarfboy's Recent JavaScript Snippets
- All /
« Prev 1 Next »
There is no standard for this at all - this just looks for the hooks that exist in IE and gecko-type browsers.
See also http://msdn.microsoft.com/en-us/library/ms535926(VS.85).aspx and http://developer.mozilla.org/en/docs/DOM:window.sidebar
3
653
posted 15 years ago by scarfboy
Exploits hash keys uniqueness, but in doing so effectively toString()s everything, meaning this should not be used for much beyond strings and perhaps integers.
I used this when I wanted to do some client-side filtering of (integer) identifiers.
1
543
posted 15 years ago by scarfboy