
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
dsh-plugin-table-zoom
Advanced tools
DSH 聊天表格浮窗插件:markdown 表格太长(行多)或太宽(溢出)看不完时,表格上方自动出现「⛶ 浮窗查看」按钮——弹出可独立滚动的浮窗完整显示,支持拖拽移动/改尺寸、Ctrl+滚轮 60%–250% 缩放、空格拖拽平移、一键复制为 Markdown。纯前端 DOM 增强,不改核心包、不注册工具、无服务端逻辑。
DeepSeek Harness (dsh) Web GUI 聊天表格浮窗插件。
聊天里模型输出的 markdown 表格经常很长(行数多)或很宽(横向溢出), 在对话流里一次看不完:要上下滚动聊天、左右拖动才能看完。本插件在长表上方 自动注入一个小按钮「⛶ 浮窗查看」,点击后弹出独立可滚动的小浮窗完整显示 表格,并支持一键复制为 Markdown。
纯前端 DOM 增强:不改核心包、不注册工具、无服务端逻辑、零运行时依赖。

真实 Web GUI 截图(上方大宽表 → 点「⛶ 浮窗查看」→ 浮窗内完整浏览, 支持拖拽改尺寸 / Ctrl+滚轮缩放 / 空格拖拽平移 / 一键复制 Markdown)。
min(30vw, 320px)),超宽列自动换行收缩,
表格整体不再撑破浮窗。无需任何配置,安装即用:
# npm(推荐)
dsh plugin --profile web add dsh-plugin-table-zoom
# 或 GitHub
dsh plugin --profile web add github:Pasumao/dsh-plugin-table-zoom
装完重启 dsh web(launcher 重新拉起)并刷新浏览器。包自带 cordis.patch.yml
挂载行,dsh plugin add 会自动应用,无需手动改配置。
手动挂载(备选,无法使用 dsh plugin add 时)——本插件是纯客户端插件,
需作为 bundle 挂载进 dsh 的 Web profile(与 dsh-notify / dsh-plugin-image-tools
同款机制):
安装依赖(在 profile 目录,例如 ~/.dsh/profiles/web):
npm install dsh-plugin-table-zoom
# 或从 GitHub 直装
npm install github:Pasumao/dsh-plugin-table-zoom
在 profile 的 package.json 的 dsh.profile.bundles 里加入该插件:
"dsh": {
"profile": {
"bundles": [
/* ...已有的 bundle... */,
"dsh-plugin-table-zoom"
]
}
}
在 profile 目录执行 pnpm install(或 npm install);
重启 dsh web(launcher 重新拉起),新插件才会进入浏览器 bundle。
源码安装(本地开发 / 调试):
git clone https://github.com/Pasumao/dsh-plugin-table-zoom.git
cd dsh-plugin-table-zoom
npm install
# 以 link: 依赖挂载进 profile,见下方说明
若以本地目录开发调试,可用
link:依赖替换第 1 步:"dsh-plugin-table-zoom": "link:D:/path/to/dsh-plugin-table-zoom"。
lib/index.js):空实现。插件以「自带 bundle patch」方式挂载进
profile,客户端半边由 dsh.client 声明经 /plugins/dsh-plugin-table-zoom/client.js
送达浏览器(与 dsh-notify / dsh-plugin-image-tools 同款机制)。lib/client.js):MutationObserver 观察 document.body,
rAF 合帧扫描 markdown 表格(核心渲染器把表格包在类名含 tableScroll 的
容器里),对长表在容器后注入按钮行;按钮点击后命令式创建浮窗(复用
image-tools 的 lightbox 模式:纯 DOM 单节点变更,不插入/移除 React 管理的
结构,重渲染时安全)。npm run selfcheck # 纯函数离线测试(识别/长表判定/Markdown 序列化)
npm run smoke # selfcheck + 假 DOM 端到端冒烟(按钮注入/浮窗开合/复制)
npm run pack # 打包
MutationObserver / requestAnimationFrame,无 DOM 环境自动禁用;tableScroll 容器内的表格,跳过浮窗与 image-tools
lightbox 内的表格;0.1.1-rc.2 起核心渲染器为 4+ 列宽表新增 md-table-wide 分支
(宽度扩展到聊天内容列两侧留白,默认 overflow-x:hidden、仅 hover 才出
滚动条)。插件注入一条覆盖规则把宽表拉回内容列宽度并常驻横向滚动条,
恢复旧版「超宽在会话列内滚动查看」体验;旧版 dsh 无 md-table-wide
类,规则不命中,行为不变。本插件属于 Pasumao 的 dsh 插件生态,同系列已发布插件可搭配使用:
| 插件(npm) | GitHub | 说明 |
|---|---|---|
| dsh-notify | GitHub 仓库 | Windows 原生通知 + 系统托盘 |
| dsh-plugin-choice-refresh | GitHub 仓库 | 选择增强:重新生成选项 / 更多选项 |
| dsh-plugin-dev-kb | GitHub 仓库 | 插件开发知识库(官方文档完整镜像 + 技能) |
| dsh-plugin-image-tools | GitHub 仓库 | 图片选择卡 + 回复内嵌图片 + 盲模型收图 |
| dsh-plugin-workbench | GitHub 仓库 | VS Code 风格文件浏览器 + 可编辑预览 |
| dsh-plugin-windows-guard | GitHub 仓库 | Windows 环境防坑:守则技能 + 乱码检测 / 危险写拦截 / 编码诊断修复 |
| dsh-plugin-context-trim | GitHub 仓库 | 会话注入门控:skill / tool / 提示词段落按会话裁剪 |
本系列其余插件见 Pasumao · dsh 插件;觉得好用欢迎到 GitHub 点 ⭐。
代码与文档由 AI 辅助生成(DeepSeek Harness),均经人工审查与实机验证
(npm run smoke:selfcheck + 假 DOM 端到端冒烟)。
FAQs
DSH 聊天表格浮窗插件:markdown 表格太长(行多)或太宽(溢出)看不完时,表格上方自动出现「⛶ 浮窗查看」按钮——弹出可独立滚动的浮窗完整显示,支持拖拽移动/改尺寸、Ctrl+滚轮 60%–250% 缩放、空格拖拽平移、一键复制为 Markdown。纯前端 DOM 增强,不改核心包、不注册工具、无服务端逻辑。
We found that dsh-plugin-table-zoom demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.