Camoufox Cookie Injection: Browse Reddit as Yourself While Your Agent Does the Work

Regular browser automation hits a wall with Reddit — instant CAPTCHA, fingerprint detection, login blocks. One OpenClaw community member spent 3 hours debugging and finally cracked it.
What Doesn't Work
- Plain Playwright — Instant CAPTCHA wall
- document.cookie injection — httpOnly cookies can't be set from JavaScript
- Login through Camoufox — Reddit flags the login flow itself
The Solution
The trick: log in manually once in a real browser, extract cookies from Firefox's SQLite database, then inject them at the Playwright level (not JS level) using context.addCookies().
Step 1: Log in manually once via VNC into your VPS, Firefox, Reddit
Step 2: Extract cookies from cookies.sqlite in Firefox profile
Step 3: Patch Camoufox server to add a /cookies endpoint that calls session.context.addCookies()
Step 4: Navigate to reddit.com — fully logged in, no CAPTCHA, no bot detection
Why It Matters
- Reddit's API is increasingly locked down
- Regular automation gets blocked instantly
- Works for Reddit, Twitter, LinkedIn — anywhere you need a real session
- Your agent can browse and interact as you while you're AFK
The whole setup runs in Docker on a $10/month VPS.
Source: r/openclaw community
📖 Read the full source: r/openclaw
👀 See Also

Use Task Runners for Common Coding Tasks
Ham Vocke explains how to use simple bash scripts or Makefiles as task runners to standardize common commands like build, test, and format across repositories.

Running Qwen3.6-35B-A3B with ~190k Context on 8GB VRAM + 32GB RAM – Setup & Benchmarks
A Reddit user shares a working llama.cpp configuration for Qwen3.6-35B-A3B GGUF models on an RTX 4060 (8GB VRAM) + 32GB DDR5, achieving 37-51 tok/s at 192k context using TurboQuant and specific flags.

Canary Instance Setup for Safe OpenClaw Upgrades
A Reddit user shares a detailed canary methodology for testing OpenClaw upgrades before production: isolated config root, separate port, smoke test matrix, and a structured upgrade report format.

Building API endpoints with Claude: Practical prompt engineering lessons from a 70+ endpoint project
A developer built 70+ LinkedIn automation API endpoints with Claude writing 80% of the code, discovering that treating prompts like contracts with explicit constraints works better than natural language instructions for action-taking agents.