如何在Firefox DevTools中编辑或删除cookie? [英] How to edit or remove cookies in Firefox DevTools?

查看:366
本文介绍了如何在Firefox DevTools中编辑或删除cookie?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Firebug中,我可以使用 Cookies 面板删除和编辑所有cookie.

In Firebug I am able to remove and edit any cookies using the Cookies panel.

但是在Firefox DevTools中,我找不到删除或编辑Cookie的任何方法.

But in the Firefox DevTools I can't find any way to remove or edit cookies.

我在哪里可以做?

推荐答案

要在Firefox DevTools中编辑cookie,必须确保存储检查器 >设置.

To edit cookies in the Firefox DevTools you have to ensure the Storage Inspector is enabled via the settings.

然后在Storage Inspector中,您可以通过双击列表中的值来编辑现有的cookie:

Within the Storage Inspector you'll then be able to edit existing cookies by double-clicking the values within the list:

您还可以通过右键单击cookie并从上下文菜单中选择选项之一来删除cookie.

You can also remove cookies by right-clicking them and choosing one of the options from the context menu.

此外,Firefox 55中还添加了添加cookie的选项.添加一个,右键单击Cookie列表,然后选择添加项目或单击面板工具栏中的+按钮.

Also, an option to add cookies was added in Firefox 55. To add one, either right-click the list of cookies and choose Add Item or click the + button in the panel toolbar.

这篇关于如何在Firefox DevTools中编辑或删除cookie?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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