Blur.js icon indicating copy to clipboard operation
Blur.js copied to clipboard

Safari Private Browsing Mode

Open andrewlphilpott opened this issue 10 years ago • 1 comments

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?

andrewlphilpott avatar Aug 12 '15 20:08 andrewlphilpott

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.

CezaryDanielNowak avatar Jun 15 '16 09:06 CezaryDanielNowak