← Browse
chrome-focus-guard
lucas-saldanha-werneck ★ 0
chrome-focus-guard is a Claude Code hook that intercepts and blocks scripts attempting to steal focus from an automation Chrome instance via CDP, unless explicitly approved by the user. It prevents focus-stealing commands like newPage, bringToFront, keyboard input, and activateTarget while allowing whitelisted scripts and providing user-approval workflows.
Install
> /plugin marketplace add lucas-saldanha-werneck/chrome-focus-guard
> /plugin install chrome-focus-guard
Source: https://github.com/lucas-saldanha-werneck/chrome-focus-guard
What it's made of
1 hook
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 1 · PreToolUse
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
node- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (lucas-saldanha-werneck).