是否有可能来检查cookie与Modernizr的启用? [英] Is it possible to check if cookies are enabled with modernizr?
问题描述
我是研究如何检查的饼干的在浏览器中启用,我发现了很多的答案,我甚至测试了几个的人,但在那之后我的一个朋友建议我使用 Modernizr的了点。结果
我开始寻找有关,我发现了很多与相关的东西的 CSS3 和 HTML5 ,但我不希望出现这种情况,我只是想知道,如果是有可能检查的饼干的启用或不 Modernizr的?
I was researching about how to check if the cookies are enabled in a browser and i found a lot of answer, i even tested a few ones, but after that a friend of mine suggest me to use Modernizr for that.
I started to search about that and i found a lot of stuff related with CSS3 and HTML5, but i don't want that, i just wanna know if is it possible to check that cookies are enabled or not with Modernizr?
推荐答案
检查该网址,希望这是有帮助的:
check this url, hope it's helpful :
的https://github.com/Modernizr/Modernizr/commit/33f00fbbeb12e92bf24711ea386e722cce6f60cc
这篇关于是否有可能来检查cookie与Modernizr的启用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!