How to edit or remove cookies in Firefox DevTools?

丶灬走出姿态 提交于 2020-12-01 08:32:50

问题


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

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

Where can I do that?


回答1:


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

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

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

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.




回答2:


I was having problems adding cookies in Firefox 65 and came here from Google.

My problem was that I could not add new cookies. I was using a Private Window. Using a normal (non-private) window however, I was able to add new cookies.



来源:https://stackoverflow.com/questions/42011964/how-to-edit-or-remove-cookies-in-firefox-devtools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!