mikefowler / instajam

Instajam is a JavaScript wrapper for the Instagram API. You provide the access token, we provide the jam. Or whatever.
http://mikefowler.github.io/instajam
MIT License
132 stars 33 forks source link

localStorage.setItem cannot be used in Safari private browsing #14

Closed stuartkeith closed 3 years ago

stuartkeith commented 8 years ago

Just thought I'd let you know that instajam will not work in private browsing mode in Safari (and possibly other browsers).

localsStorage.setItem throws an exception, and will not store anything. This means that options.data.access_token = localStorage.getItem('instagram_access_token') will always return null.

rinatkhaziev commented 7 years ago

That's Safari thing, it doesn't allow either localStorage or sessionStorage in private mode.