#4404: chrome-extension: enable On all sites (host_permissions <all_urls>)
app: macos
docker
Cluster:
Chrome Extension Enhancements
- What:
- Request <all_urls> host permission for the Moltbot Browser Relay extension so Chrome exposes the “On all sites” Site access option.
- Why:
- Without “On all sites”, the relay extension could not reliably attach to regular https tabs in our setup; enabling “On all sites” resolved the issue.
- Testing:
- Manually tested on Ubuntu + Chrome:
- Opened https://example.com and https://myaccount.google.com
- Set extension Site access to “On all sites”
- Verified attach works (badge ON) and CDP relay works.
- AI-assisted:
- Yes (assisted by an AI agent). Changes reviewed and tested manually.
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR updates the Chrome extension manifest to request broad host permissions (`<all_urls>`) so Chrome exposes the “On all sites” site access option, enabling the extension to attach to arbitrary tabs in the reported setup. The change is isolated to `assets/chrome-extension/manifest.json` and expands the extension’s host access beyond localhost.
<h3>Confidence Score: 4/5</h3>
- This PR is low risk functionally but increases permission scope significantly.
- The change is a single manifest edit and should not break runtime behavior, but requesting `<all_urls>` meaningfully broadens host access and can affect user trust and store review requirements.
- assets/chrome-extension/manifest.json
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#5278: fix(browser): prevent DNS rebinding in extension relay HTTP endpoints
by webvijayi · 2026-01-31
73.6%
#10390: fix(chrome-relay): sticky attach + auto-restore after disconnects
by Mokoby · 2026-02-06
70.7%
#21314: feat: enhance browser relay with custom naming and diagnostic tools
by kelvinCB · 2026-02-19
70.3%
#6000: fix(browser): add CORS headers for chrome-extension:// origins
by lailoo · 2026-02-01
69.8%
#9796: fix(cli): correct fallback path for bundled Chrome extension (#9772)
by lailoo · 2026-02-05
69.8%
#22252: fix(chrome-extension): connection validation and clarify relay port...
by krizpoon · 2026-02-20
69.8%
#14944: fix(browser): prefer openclaw profile in headless/noSandbox environ...
by BenediktSchackenberg · 2026-02-12
69.5%
#13568: Fix browser (OpenClaw-managed) launch fail by binding remote debugg...
by singlag · 2026-02-10
69.4%
#6193: fix(browser): default to openclaw profile instead of chrome extensi...
by mikezaoldyeck · 2026-02-01
68.9%
#15817: fix(chrome-relay): auto-reconnect, MV3 persistence, and keepalive
by derrickburns · 2026-02-13
68.9%