Skip to content
This repository has been archived by the owner on Aug 15, 2019. It is now read-only.

localstorage and PrivateBrowsing #5

Open
PatchworkBoy opened this issue Apr 5, 2013 · 0 comments
Open

localstorage and PrivateBrowsing #5

PatchworkBoy opened this issue Apr 5, 2013 · 0 comments

Comments

@PatchworkBoy
Copy link

If Private Browsing is enabled (eg: in Safari on OSX or iOS) an error is thrown when aware.js attempts to set anything via window.localstorage.setItem...

QUOTA_EXCEEDED_ERR:DOM Exception 22:"An attempt was made to add something to storage that exceeded the quota"

Needs some try & catch action... ala http://jsfiddle.net/hxNc5/2/

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