Blog Posts



Posted:12/5/2012
Detect the presence of local storage:
function supportsLocalStorage() {
    try {
        return 'localStorage' in window && window['localStorage'] != null;
    } catch(e) {
        return
More...