以下哪项决定了是否在浏览器中启用了 Cookie



以下哪项决定是否在浏览器中启用 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);

最新更新