diff options
| author | astarring <zouzhigang85@gmail.com> | 2026-09-09 02:35:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-09 00:05:42 +0530 |
| commit | 8d7a067c8d82a592bfb3dcacf05305c39550cbc6 (patch) | |
| tree | cf6641e0d8ab749542adc4e605787e4e525b24b6 /README.md | |
| parent | 6f455ed015b1b39324c45813a42b33ddb63e4bc9 (diff) | |
feat: add per-tab request headers (#30)
Expose explicit set and clear tools so environment-routed pages can be opened without leaking header values or carrying headers across unrelated browsing.
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Co-authored-by: zouzhigang <zouzhigang@bytedance.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -161,6 +161,12 @@ Both run in isolated tabs and never disturb your current page. |---|---| | `browser_network_requests` | Requests captured on the current tab since attach. Filter by URL, method, status, resource type, or recency; optional response bodies. | | `browser_http_get` | Plain GET outside the browser. Much faster than navigate-then-read for JSON APIs — but no JS rendering. | +| `browser_set_headers` | Set extra HTTP request headers on the current owned tab. Values are not echoed in output. | +| `browser_clear_headers` | Clear extra HTTP request headers from the current owned tab. | + +Extra headers persist for subsequent document, subresource, fetch, and XHR requests until cleared or +the tab closes. Create or select an owned tab before setting them, and clear them before switching +tabs or navigating the tab to another origin. ### Files and viewport |
