Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

iPhone iPad Safari Private Browsing error #4

@alexandriacuellar

Description

@alexandriacuellar

Running storage-lite on iPhone/iPad Safari browser, or desktop Safari browser, when in Private Browsing mode throws a QUOTA_EXCEEDED_ERR.

I check if localStorage works by setting a getting a variable and that error no longer gets thrown but do you have in mind an alternative storage method when localstorage doesn't work?

 if(hasStorage){
      $.getScript("http://yui.yahooapis.com/3.4.1/build/yui/yui-min.js", function(data, textStatus, jqxhr) {
           setSession();
      });
 }else{
      //alternative to localstorage
 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions