fgiasson / jquery-enhanced-cookie

Enhanced Version of the jQuery Cookie plugin that uses HTML5's localStorage feature and that support chunking of values in multiple cookies to save big size content.
http://fgiasson.com/blog/index.php/2012/01/05/jquery-cookie-pluging-extended-with-html5-localstorage-and-chunked-cookies
26 stars 12 forks source link

Fix for Private Browsing #2

Closed brianantonelli closed 11 years ago

brianantonelli commented 12 years ago

Using private browsing in Safari or iOS results in an error when testing for local storage support (QUOTA_EXCEEDED_ERRROR DOM Exception 22). This fix will allow proper fallback to cookie storage is the browser is in private browsing mode.