繁体   English   中英

以下哪项决定了浏览器是否启用了 cookie?

[英]Which of the following determines whether cookies are enabled in a browser or not?

以下哪项决定了浏览器是否启用了 cookie?

选项1

(navigator.Cookie)? true: false 

选项 2

(application.cookieEnabled)? true: false, 

选项 3

(navigator.CookieEnabled)? true: false,    

选项 4

(application.cookie)? true: false

使用navigator.cookieEnabled

 console.log(navigator.cookieEnabled);

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM