Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari Private Browsing Mode #47

Open
andrewlphilpott opened this issue Aug 12, 2015 · 1 comment
Open

Safari Private Browsing Mode #47

andrewlphilpott opened this issue Aug 12, 2015 · 1 comment

Comments

@andrewlphilpott
Copy link

I just noticed that blur.js doesn't work on a site that I built if you're viewing it in iOS's Private Browsing Mode. What's worse is that it actually breaks all following JS, but doesn't throw any errors. Any idea if there's something I can do to work around this?

@CezaryDanielNowak
Copy link

CezaryDanielNowak commented Jun 15, 2016

It is caused by Safari's localStorage limitations. Nothing can be written in localStorage in private mode (iOS and OS X). Personally I use cookie fallback but it can handle up to 4KB of data, so it's not enough for photos.

Setting cache:false option for Safari should temporary fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants