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

Cookie fallback for Safari private browsing #156

Closed
CezaryDanielNowak opened this issue May 5, 2016 · 7 comments
Closed

Cookie fallback for Safari private browsing #156

CezaryDanielNowak opened this issue May 5, 2016 · 7 comments

Comments

@CezaryDanielNowak
Copy link

CezaryDanielNowak commented May 5, 2016

localStorage is not supported by Safari in private mode but cookies are supported. Cookies persists on page refresh etc, so fallback could be implemented.

@kevbook
Copy link

kevbook commented Aug 24, 2016

Can we build this as a plugin maybe, so it doesn't pollute the codebase - I'll work on it, if you folks want.

@PaRoxUs
Copy link

PaRoxUs commented Dec 20, 2016

Any progress on this issue?

@marcuswestin
Copy link
Owner

marcuswestin commented Dec 20, 2016 via email

@marcuswestin
Copy link
Owner

store.js v2 is almost complete, and has a cookie storage option (among a bunch of additional addon features - see https://github.com/marcuswestin/store.js/tree/v2-dev/storage & https://github.com/marcuswestin/store.js/tree/v2-dev/addon). Stay tuned for an official release.

@marcuswestin
Copy link
Owner

This will be part of version 2 when released in the new year.

@marcuswestin
Copy link
Owner

Store.js v2.0 has been released with a cookie fallback for safari private browsing.

If you update to the latest version using the v1 backcompatible build you will automatically get this functionality plus a bunch more :)

@CezaryDanielNowak
Copy link
Author

Thank you for your work!

One more thing:
There is a limit of data size stored in cookie. Is store.js preventing from writing too much/too big data to the cookie store?

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

4 participants