Cookies Panel
From FirebugWiki
The Cookies panel allows to display and manipulate cookies set by the current page.
This panel is available since Firebug 1.10 and was formerly a separate extension called Firecookie.
Contents |
Options Menu
This menu is reachable via the little arrow in the panel tab ( File:OptionsMenuArrow.png ) or by right-clicking on on the panel tab (since Firebug 1.9).
| Option | Preference | Description |
|---|---|---|
| Enabled | extensions.firebug.cookies.enableSites | Enables the Cookies Panel |
| Accept cookies from sites | network.cookie.cookieBehavior | Specifies whether websites are generally allowed to set cookies |
| Confirm cookie removal | extensions.firebug.cookies.removeConfirmation | Specifies whether a confirmation dialog should be shown when deleting all cookies |
For more info about tweaks available in Firebug please see the full list of preferences.
Panel Toolbar
Break On Cookie Change
As some of the other panels the Cookie panel offers a "Break On..." feature. In this case it's Break On Cookie Change, which means that as soon as a cookie is added, changed or removed the script execution is stopped.
Cookies
Offers general cookie related options.
Create Cookie
Opens a dialog, which allows adding a new cookie.
Remove Cookies
Removes all cookies at once. If Confirm cookie removal is checked, a confirmation dialog will be shown before deleting the cookies.
Remove Session Cookies
Removes all session cookies at once. If Confirm cookie removal is checked, a confirmation dialog will be shown before deleting the cookies.
Export All Cookies
Exports all cookies (of all websites) as text file. Therefore the Save as dialog is opened allowing you to select the path and choose a name for the exported file.
Export Cookies For This Site
Exports all cookies of the current website as text file. Therefore the Save as dialog is opened allowing you to select the path and choose a name for the exported file.
Filter
Filters the displayed cookies.
Filter Cookies By Current Path
Filters the cookies by the current URL path.
Cookies Acceptance Menu
Specifies which cookies should be accepted.
| Type | Description |
|---|---|
| Default (Accept cookies) | All cookies will be accepted |
| Deny cookies from <website> | Deny all cookies coming from that specific website |
| Allow cookies from <website> | Accept all cookies coming from that specific website |
| Allow session cookies from <website> | Accept only session cookies coming from that specific website |
Tools
Browser internal tools for cookie management.
Show All Cookies
Opens the Cookies dialog listing all cookies of all websites.
Web Sites Permissions
Opens the Exceptions - Cookies dialog allowing granular control over which websites are allowed to set cookies and which not.
Context Menu
| Option | Context | Shortcut | Description |
|---|---|---|---|
| Cut | Cookie | - | Copies the cookie to the clipboard and removes it from the list |
| Copy | Cookie | - | Copies the cookie to the clipboard |
| Paste | Cookie | - | Pastes a cookie from the clipboard |
| Copy All | Cookie List | - | Copies all cookies to the clipboard |
| Delete | Cookie | - | Deletes the cookie |
| Edit | Cookie | - | Opens the Cookie Editor to edit the cookie information |
| Clear Value | Cookie | - | Removes the cookie value |
| Break On '<cookie name>' cookie | Cookie | - | Script execution will be stopped if the cookie with the name <cookie name> is added, changed or removed |
Cookies List
The main part of the Cookies panel is the Cookies List. When the Cookies panel is activated and a page is loaded it starts filling with all cookies set by a page. Each entry displays all the info available for a cookie. The following is a list of information, that is displayed for each cookie:
- Name of the cookie
- Value of the cookie
- Domain the cookie is set for
- Size of the cookie value in bytes
- Path the cookie is set for
- Expiration date or "Session" for session cookies
- Flag specifying whether "HttpOnly" is set for a cookie
- Flag specifying whether it's a secure cookie
Breakpoints Column
You can add a breakpoint for each cookie by clicking the Breakpoint Column at the left side of a cookie. By doing this the script execution will be halted as soon as that cookie is set, changed or removed.
