dsh-ui-zoom
Manifest valid为 DeepSeek Harness Web 界面提供整页缩放(50%–200%):侧边栏、按钮、图标、间距与文字一起缩放,带设置项、快捷键与偏好记忆。零依赖。
dsh-ui-zoom
Whole-interface zoom for the DeepSeek Harness Web GUI.
The built-in font-size setting only scales content text. This plugin scales the entire interface — sidebar, buttons, icons, spacing and text — from 50% to 200%.
Install
dsh plugin --profile web add @syske.range/dsh-ui-zoom
Install from source instead (no npm release, or to pin a commit):
dsh plugin --profile web add github:Syske/dsh-ui-zoom
Or, inside a session, use plugin_manager with install_bundle and this repository directory as the target.
Reload the Web page once after installing so the new Client module is picked up.
Not to be confused with the unrelated npm package
dsh-ui-zoom(maintained by another author,sjrslh/dsh-ui-zoom). This plugin is published as@syske/dsh-ui-zoom.
Features
- Settings → General → Interface zoom: a slider with −/+ steps, a live percentage and a reset control.
- Keyboard shortcuts:
Ctrl/Cmd + Alt + =zooms in,Ctrl/Cmd + Alt + -zooms out,Ctrl/Cmd + Alt + 0resets to 100%. - Remembered preference: stored in the browser and restored on load.
- Cross-tab sync: changing the zoom in one tab updates the others.
Compatibility
- DSH: tested against
0.2.1-rc.5(Web profile). Theapply(ctx)contract is stable, but registeredctxcapabilities can change between preview releases. - Platform: Web only (
dsh.client.platform = "web"). The Desktop shell is not targeted. - Browser: any browser that supports the CSS
zoomproperty (Chromium, Safari, and Firefox 126+).Ctrl/Cmd + Altis used instead of the browser's own zoom keys. - Node:
>= 22(for the Host half of the bundle). - Dependencies: none. No network access, no external service, no credentials.
Permissions and scope
- The plugin only manipulates the CSS
zoomproperty on the app shell element (#root). - It reads and writes one
localStoragekey (dsh-ui-zoom.factor) in the Harness origin. - It adds one keydown listener for the shortcuts above and removes it when unloaded.
- It registers one preference row in Settings → General.
- No files, no processes, no network calls, no telemetry.
Why the Alt modifier
Ctrl/Cmd + / - / 0 are the browser's own zoom shortcuts and cannot be intercepted by a page — binding them would scale twice. The plugin therefore uses the Alt variant, which does reach the page. The Shortcut service is not used because Web restricts plugin-declared combinations to a small whitelist (Mod+Slash, Mod+Shift+Comma, Mod+Shift+Period on Linux Web).
How it works
The plugin sets the CSS zoom property on the app shell element (#root). zoom re-lays-out that subtree at the scaled size, so percentage- and viewport-sized children keep filling the window instead of overflowing; no viewport compensation is needed. Verified from 0.8× to 2.0× at two viewport sizes with no scrollbar growth.
Zooming #root rather than the document root is deliberate: dialogs, menus and toasts are portalled to body as position: fixed siblings of the shell. Zooming the document root scaled those portals too, while their positioning library still measured the unscaled viewport — which pushed them off-screen (the sidebar "More" menu then showed a single clipped row). With #root as the target the portals stay correctly anchored and fully usable.
Known limitations
- Overlay surfaces (menus, dialogs, toasts) are portalled outside the zoomed subtree, so they keep their 100% size while the rest of the interface scales. They stay correctly anchored and usable.
- The preference is per browser origin (
localStorage), not per Harness profile. - Scope is the Harness Web UI; it does not affect other sites.
- Disabling or removing the plugin restores the page to 100%.
License
Apache-2.0 — see LICENSE.
Comments
Loading…
Similar plugins
by Centaurea5547196
DeepSeek Harness Web UI 页面缩放插件:Ctrl+滚轮与 Ctrl+=/-/0 快捷键,25%-300%,本地持久化;悬浮栏默认隐藏。
★ 1
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-page-zoomby sjrslh
Ctrl+wheel page zoom (60–180%, remembered) for the whole DSH UI, plus a bottom-right Settings entry that opens the host settings panel, with Ctrl+0 to reset.
★ 0
MIT
JavaScript
Oct 29, 2026
dsh plugin --profile web add dsh-ui-zoomby Inoue-Cyrene
Hold Ctrl and roll the mouse wheel to zoom the whole Harness Web UI around the pointer, 50-200% in 10% steps; Ctrl +/- and Ctrl 0 from the keyboard; a bottom-right chip and a Page zoom row in Settings
★ 0
MIT
JavaScript
Oct 16, 2026
dsh plugin --profile web add dsh-ctrl-wheel-zoomby jinmuxi1
Ctrl + wheel page zoom for the DeepSeek Harness Web UI.
★ 0
MIT
JavaScript
Nov 3, 2026
dsh plugin --profile web add dsh-ctrl-zoomby ingleav626-art
以"零额外安装"为设计原则:仅凭一个官方插件与 Windows 原生机制,让 DeepSeek Harness Web UI 获得桌面 App 式的一键启动体验。
★ 6
↓ 37/wk
MIT
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-native-launcherby 1700563146
Whole-interface zoom for the DSH Web UI from 70% to 160%, driven by Ctrl+wheel, DSH's shortcut center or an inline pill, with content-width compensation so zooming out fits more text instead of narrow
★ 0
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-plugin-ui-zoom