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

iPhone iPad Safari Private Browsing error #4

Open
alexandriacuellar opened this issue Nov 29, 2012 · 0 comments
Open

iPhone iPad Safari Private Browsing error #4

alexandriacuellar opened this issue Nov 29, 2012 · 0 comments

Comments

@alexandriacuellar
Copy link

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
 }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant