Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to edit or remove cookies in Firefox DevTools?

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.

*Network* panel in Firefox DevTools showing request cookies

Where can I do that?

like image 917
Loc Avatar asked Feb 02 '17 20:02

Loc


People also ask

How do I edit cookies in Firefox?

You can edit cookies by double-clicking inside cells in the Table Widget and editing the values they contain, and add new cookies by clicking the “Plus” (+) button and then editing the resulting new row to the value you want.

How do I view cookies in Firefox Developer Tools?

Open the Developer Tools. In Firefox, go to Tools > Web Developer > Storage Inspector or CMD + ALT + I on Mac or F12 on Windows. Now open the Application tab and check the cookies for each domain. Usually the cookies have names that resemble the name of the service they are being used by.

Can you delete cookies for a specific website Firefox?

To delete your cookies and website data for a single domain:Tap the. Lock icon in the search bar. Tap Clear cookies and site data. Tap Delete.

How do I edit session cookies?

Upon clicking on the cookie icon, you will see the cookies (if any) stored by the browser for the current tab. Select the cookie you wish to edit by clicking it's name in the list. Change the values you want and click on the button “Submit cookie changes” . It's that easy!


1 Answers

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

Storage Inspector in settings panel

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

Editing cookie value

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

Deleting cookies

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.

like image 176
Sebastian Zartner Avatar answered Sep 21 '22 16:09

Sebastian Zartner