Skip to main content

Module cookies

Module cookies 

Source
Expand description

browser-control cookies — export cookies from the active browser.

Output formats:

  • json: pretty JSON array of normalised cookies. Always contains full values (machine-readable; user explicitly opted in).
  • netscape: Netscape HTTP Cookie File (tab-separated). Always full values (the format is intended for tools like curl --cookie).
  • header: a single Cookie: k=v; ... line. Values are replaced with <redacted> when writing to stdout unless --reveal is given. Writing to a file via -o always emits full values; the file is 0600 on Unix.

Domain/name filters are unanchored regexes — use ^…$ for strict matching.

Functions§

run