A Firefox extension that allows you to export cookies for the active domain in either AsciiDoc or CSV formats. This extension is designed for ease of use, providing straightforward data exports for documentation or reporting purposes.
- Export cookies in AsciiDoc or CSV format
- Simple interface with export buttons for cookies
- Copy-paste friendly table formats
- Clone or download this repository.
- Open Firefox and navigate to
about:debugging#/runtime/this-firefox
. - Select Load Temporary Add-on… and choose the
manifest.json
file from the downloaded directory. - The extension icon should now appear in the toolbar (or it may not, who knows at this point? Just watch the video below to see how I accessed it).
- Go to any site where you want to export cookies.
- Click on the extension icon in the toolbar.
- Use one of the following options:
- Export Cookies to AsciiDoc: Creates a table of cookies in AsciiDoc format.
- Export Cookies to CSV: Creates a CSV file of cookies.
- Copy the output from the respective text area as needed.
CookieCollector.mp4
|===
| Name | Value | HttpOnly | Secure | SameSite
| cookieName | cookieValue | true/false | true/false | None/Strict/Lax
|===
Name,Value,HttpOnly,Secure,SameSite
cookieName,cookieValue,true/false,true/false,None/Strict/Lax
- manifest.json: Defines extension permissions and settings.
- popup.html: Popup UI for the extension.
- background.js: Script handling the data collection and formatting.
- Clone the repository.
- Modify
background.js
for data handling orpopup.html
for the UI. - Reload the extension in Firefox after changes by selecting Load Temporary Add-on… and reloading
manifest.json
.
- Ensure permissions for
cookies
andactiveTab
are set inmanifest.json
. - Reload the extension if updates aren’t appearing by reloading
manifest.json
inabout:debugging#/runtime/this-firefox
.
Contributions are welcome! Fork the repository, make updates, and submit a pull request.
This project is open for public use and can be freely used, modified, and distributed without restrictions.