Files
jackwener 3984e0ae5d feat(extension): smart dual-track JS executor — chrome.scripting with CDP fallback
Replace chrome.debugger (CDP) with chrome.scripting.executeScript for
JS evaluation. Zero CDP fingerprint on sites without strict CSP.

- Add extension/src/scripting.ts: tries chrome.scripting first, auto
  falls back to CDP on CSP errors (e.g. Twitter/X, Google)
- Add 'scripting' permission + host_permissions to manifest.json
- Route exec through scripting executor, keep CDP only for screenshot
- Remember CSP-blocked tabs to skip straight to CDP on subsequent calls
2026-03-21 10:53:13 +08:00
..