Watch cookies, auto-decode their values, and track changes between requests to make debugging easier.
- Lists cookies for the active tab
- Automatically tracks cookies (no selection)
- Automatically decodes URL-encoded and Base64 values
- Detects JSON payloads and formats them
- Tracks changes via
cookies.onChanged - Shows current value and a change history
- JSON/CSV export for cookie history
shared/is the single source of truth for the extension logic and UI (background, devtools, panel).chrome/,firefox/, andsafari/contain manifest overrides only.dist/is generated output for each browser build (do not edit manually).
- Edit shared files in
shared/:background.jsdevtools.html,devtools.jspanel.html,panel.css,panel.js
- Build browser outputs:
npm run build(ornode scripts/build.mjs)
- Load the extension from
dist/chrome,dist/firefox, ordist/safari.
Notes:
- Do not edit files in
dist/directly. chrome/manifest.jsonandfirefox/manifest.jsonare overrides only; base fields live inshared/manifest.base.json.
The build script merges shared assets and manifests into dist/:
shared/manifest.base.json+ browser override manifest- Shared UI and background files
- Shared icons (with optional browser overrides)
Command:
npm run build
- Open Chrome and go to
chrome://extensions. - Enable Developer mode.
- Click Load unpacked and select
dist/chrome. - Open a site with cookies, then open DevTools and select the LookieCookie panel.
- Open Firefox and go to
about:debugging#/runtime/this-firefox. - Click Load Temporary Add-on….
- Select
dist/firefox/manifest.json. - Open a site with cookies, then open DevTools and select the LookieCookie panel.
Safari requires an Xcode wrapper project to run web extensions.
- macOS 10.14.6 or later
- Xcode (free from Mac App Store)
- Safari 15.4 or later
-
Build the extension:
npm run build
-
Convert to Safari extension using Xcode's converter:
xcrun safari-web-extension-converter dist/safari \ --project-location safari-xcode \ --app-name "LookieCookie" \ --bundle-identifier com.example.lookiecookie \ --no-open -
Open the generated Xcode project:
open safari-xcode/LookieCookie/LookieCookie.xcodeproj
-
In Xcode:
- Select a development team (or personal team for testing)
- Build and run the project (⌘R)
-
Enable the extension in Safari:
- Open Safari → Settings → Extensions
- Enable LookieCookie
- Grant necessary permissions when prompted
-
Open a site with cookies, then open DevTools (⌥⌘I) and select the LookieCookie panel.
- The
safari-xcode/folder contains the native macOS app wrapper (add to.gitignoreif desired) - For App Store distribution, you'll need an Apple Developer Program membership ($99/year)
- Safari requires explicit user permission for cookie access per-site