问题
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