如何启用 Chrome 浏览器以允许本地 cookie?--启用文件cookies [英] How do I enable the chrome browser to allow local cookies? --enable-file-cookies

查看:25
本文介绍了如何启用 Chrome 浏览器以允许本地 cookie?--启用文件cookies的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在本地机器上使用 cookie,出于某种原因,当我尝试查看 cookie 时,它​​说默认情况下,本地文件的 cookie 被禁用.您可以通过使用 --enable- 启动浏览器来覆盖它file-cookies 命令行标志".我尝试进入我的 chrome 文件位置,我在属性下单击左键并在目标"之后更改了命令行标志,但这不起作用.我现在不确定如何启用本地 cookie.

I am currently working with cookies on my local machine and for some reason when I try to look at the cookies it says "By default cookies are disabled for local files. You could override this by starting the browser with --enable-file-cookies command line flag". I tried going into my chrome file location, I left clicked under properties and changed the command line flag after the "target" but that didn't work. I'm not sure how I can enable local cookies at this point.

推荐答案

对于除 android 之外的所有平台,--enable-file-cookies 标志似乎已被删除.

It would seem that the --enable-file-cookies flag has been removed for all platforms except android.

您可以在此处此处.

这篇关于如何启用 Chrome 浏览器以允许本地 cookie?--启用文件cookies的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆