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
Detect cookie support? #191
Comments
done in 33f00fb thx |
Anyone running into issues with this related to |
Any thoughts on this @paulirish or @tauren ? |
I had the same problem with SameSite warnings. The following change, eliminates that warning, by adding SameSite=none and Secure options to the cookie.
|
Perhaps I missed it, but wouldn't it make sense for Modernizr to detect if cookies are supported? I haven't tested this, but something like this might work:
I'm not sure if adding the test for
navigator.cookieEnabled
will speed things up on browsers that have that host property or not. But its in there just in case.Perhaps this could be taken further to detect session cookie support vs. persistent cookie support.
The text was updated successfully, but these errors were encountered: