jakiestfu / Blur.js

blur.js is a jQuery plugin that produces psuedo-transparent blurred elements over other elements.
924 stars 212 forks source link

Safari Private Browsing Mode #47

Open andrewlphilpott opened 9 years ago

andrewlphilpott commented 9 years ago

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 commented 8 years ago

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.