Skip to content

Instantly share code, notes, and snippets.

@phvietan
Created January 20, 2026 03:14
Show Gist options
  • Select an option

  • Save phvietan/50075311069e168436d3f3ceab078204 to your computer and use it in GitHub Desktop.

Select an option

Save phvietan/50075311069e168436d3f3ceab078204 to your computer and use it in GitHub Desktop.
This script find cookie by name in Chrome cookies database. It will try to find all cookie files in any Chrome profile directory and return the first one found. Should build it and compile to use for performance: bun build get-cookie.ts --compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment