xiaoheizi1212/dsh-cookie-bridge
xiaoheizi1212★ 1JavaScript最后同步: 2026-08-14
Chrome extension that exports plaintext cookies to dsh-computer-use over localhost (no App-Bound decryption needed).
README 摘要
dsh-cookie-bridge A small Chrome (Manifest V3) extension that exports plaintext cookies from your Chrome profile to dsh-computer-use , so the computer-use browser can start already logged in — without touching Chrome's App-Bound Encryption. Chrome 127+ encrypts cookies with App-Bound Encryption, so a separate process can't read your profile's cookies directly. This extension sidesteps that by running inside Chrome : chrome.cookies returns the plaintext values, and the extension sends them to a local receiver on 127.0.0.1 — cookie values never leave your machine . Install 1. Open chrome://extensions . 2. Enable Developer mode (top-right). 3. Click Load unpacked and select this folder. How it works Piece Role This extension ( background.js ) Polls a local queue, reads cookies via chrome.cookies , filters by allowlist, POSTs them back dsh-computer-use ( scripts/import-cookies-server.ts ) Local HTTP receiver + agent-driven request queue dsh-computer-use ( scripts/request-cookies.ts ) Agent-side helper: request-cookies.ts all x.com,xiaohongshu.com Flow: agent requests domains → receiver queues → extension extracts (filtered) → receiver saves cookies.json → the plugin imports it. Privacy…
在 GitHub 查看完整 README →