dsh-no-preview-badge
IdentifiedRemoves the Preview badge on DSH.
去除预览版标签

去除在 DSH(DeepSeek Harness)上的预览版标签 —— 隐藏主页 Logo 旁的“预览版”小标。
一个极简的 DSH 客户端插件:零依赖,核心只有一条 CSS 规则,卸载即恢复原样。
原理
插件加载时向页面注入一条样式,卸载时自动移除:
[class*="previewBadge"] {
display: none !important;
}
按“类名包含 previewBadge”匹配,不绑定样式哈希前缀(如 WOwLGG_),因此 DSH 升级后大概率仍然有效。
安装(个人使用)
npm install dsh-no-preview-badge
也可以从源码安装:
- 克隆本仓库;
- 按你平时安装本地 DSH 插件的方式装入本目录(DSH 会读取
package.json的dsh字段,并合并cordis.patch.yml); - 刷新页面,小标消失。卸载插件即可恢复原样。
文件结构
| 文件 | 作用 |
|---|---|
client.js | 客户端脚本:注入 CSS |
index.js | 宿主侧入口(空实现) |
cordis.patch.yml | DSH 配置补丁:注册插件 |
locale/ | 插件名称与描述(en / zh) |
icon.svg | 插件图标 |
README.md、LICENSE、banner.png、icon.png、screenshot-1.png、screenshots.json 为仓库文件,不随插件打包。
说明
- 本项目仅供个人使用,欢迎按需修改。
- 功能与其他项目有所重合;如有更合适的同类项目,欢迎使用其他项目。
许可
MIT © 2026 apanzinc
Comments
Loading…
Similar plugins
by marshfolx
add a badge to show your seleted model provider
★ 0
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-provider-badgeby Lukeknow0
Preview DSH Markdown output links inside Better Sidebar instead of an external app.
★ 0
MIT
JavaScript
Sep 20, 2026
dsh plugin --profile web add dsh-markdown-link-previewMarkdown preview and rendered side-by-side compare for the changes-review tab.
★ 0
dsh plugin --profile web add dsh-review-md-previewby anitman
DSH Markdown 预览器 / DSH Markdown Previewer — web GUI 侧栏 Markdown 浏览、渲染与编辑保存(原子写入 + mtime 冲突检测)
★ 0
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-plugin-md-previewby runfali
dsh 登录门卫插件:让只监听本机的 dsh Web UI 安全地对外开放——登录墙 + 全量反代,零依赖、零侵入。
★ 4
MIT
JavaScript
Sep 24, 2026
dsh plugin --profile web add dsh-login-gatewayby wooxi
Permanently delete DSH sessions from the sidebar with a themed confirmation dialog and no page reload.
★ 0
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add dsh-plugin-session-delete