dsh-plugin-browserskill
Tencent/BrowserSkillBrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edge Agent Window,支持可访问性与 VOM 页面观察、截图、隔离的多会话控制和 Web UI 实时观察浮层。
HTML 选区模式:点选本机 demo 页面中的任意元素,定位信息(选择器、文本、HTML 片段)自动写入对话输入框,供 AI 精准修改。
English | 中文
Selection mode for HTML preview and browser tabs in DeepSeek Harness (dsh): turn it on, click any element in a locally served demo page, and the element's locator — CSS selector, visible text, and an HTML snippet — is written straight into the chat input, so the agent can edit precisely what you pointed at. Nothing on disk is ever modified.
nth-of-type CSS selector path, up to 1200 chars of visible text, and up to 4000 chars of the element's outer HTML, then writes it into the current conversation's input box. Esc cancels.localhost / 127.0.0.1) into a dsh browser tab and the plugin transparently routes it through an injecting proxy (/inspector/proxy); selections survive navigation./sidebar/html editor iframe) get the same treatment: the preview frame is swapped for a same-content copy with the inspector injected (<base> preserved for relative assets), and selections are tagged with a "file preview" origin marker.dsh-better-sidebar when present (optional; everything else works without it). The choice is remembered per tab session; it defaults to on.dsh plugin --profile web add github:robin421/dsh-html-inspector
Or one click from dsh-market (Settings → Plugin Market) once listed.
Restart the web GUI (or refresh the page), then look for the selection mode button in the browser-tab toolbar, or just type a localhost URL into a browser tab.
index.js) — a cordis plugin that registers one route, GET /inspector/proxy?url=…. It fetches the loopback URL, rewrites same-origin links so navigation stays inside the proxy, and injects a self-contained inspector script. No dependencies beyond the dsh runtime.client.js) — loaded via the dsh client runtime (dsh.client, platform web). It intercepts loopback address-bar input, listens for postMessage selections from proxied pages, writes located info into the chat composer, and manages the toolbar toggle.dsh-better-sidebar is installed; the address-bar interception and file-preview selection mode work regardless.The proxy binds to loopback targets only (exact-match localhost, 127.0.0.0/8, ::1, 0.0.0.0) and rejects everything else. It performs GET fetches of pages you ask it to proxy, injects the inspector script, and returns the result to your own GUI. It stores nothing and sends nothing anywhere.
MIT