Page zoom for the DSH Web UI: Ctrl+mouse wheel scales the entire interface in 5% steps (30%-200%), remembers the zoom level locally, and shows a magnifier with the percentage in the bottom-right corner.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Centaurea5547196/dsh-page-zoom
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Page zoom for DeepSeek Harness / DSH Desktop.
Hold Ctrl and scroll the mouse wheel to scale the entire interface — sidebar, menus, settings, overlays and conversation alike. A magnifier glyph with the current percentage sits in the bottom-right corner.
English | 简体中文
Controls
| Gesture | Result |
|---|---|
Ctrl + mouse wheel up |
Zoom in one step |
Ctrl + mouse wheel down |
Zoom out one step |
- Step: 5% per wheel notch
- Range: 30% – 200%
- The level is remembered (
localStorage), so it survives a reload.
There are no buttons, no menus and no keyboard shortcuts — the readout is display-only.
The readout
Bottom-right corner, 12px / 10px from the edges.
A magnifier glyph, then the number. A bare
100%in a corner means nothing on its own; the glyph is the convention browsers and phones already use for this exact reading.Display only:
pointer-events: none, so it never intercepts a click and never gets in the way of the UI underneath.No box, no border, no background — it borrows the app's own font stack (
--dsw-font-family) and its muted tertiary label colour (--dsw-alias-label-tertiary), so it reads as part of the chrome rather than as a floating widget.Scaled with the page, not against it. The readout grows and shrinks with everything else, and so does its gap from the corner, so it stays proportional to the app's own layout: 47×13 at 100%, 93×26 at 200%, 12×4 at 30%. Whatever it does not cover at 100%, it does not cover at 200% either.
This works without any arithmetic because a fixed box's visual offset is the declared value multiplied by its own
zoomand by every ancestorzoom. Keeping the element's zoom at 1 and the declared inset constant is therefore already linear in the page zoom. Multiplying the value by the level as well makes it quadratic — a declared 24px renders as 48px at 200%.role="img"with anaria-label, deliberately notrole="status".statusis a live region, so a screen reader would interrupt with "Page zoom 105%", "Page zoom 110%" on every wheel notch.
Install
dsh plugin --profile desktop add github:Centaurea5547196/dsh-page-zoom
dsh plugin --profile web add github:Centaurea5547196/dsh-page-zoom
If git is not available on the machine, install from the release tarball
instead — dsh accepts a remote archive spec:
dsh plugin --profile desktop add https://github.com/Centaurea5547196/dsh-page-zoom/archive/refs/heads/main.tar.gz
How it works
Zoom is the CSS zoom property set on the document element, not
transform: scale. zoom reflows layout exactly like the browser's own zoom, so
fixed-position chrome keeps working. transform would leave fixed elements
clipped and would additionally turn the root into a containing block for every
position: fixed descendant.
DeepSeek Harness ships no page zoom of its own: the only typography setting is
ui-theme.fontSize, which affects conversation body text only — sidebar labels,
menus and settings chrome are fixed pixel sizes. This plugin adds the missing
gesture.
The listener sits on window in the bubble phase with { passive: false },
and it yields to any surface that already claimed the event
(event.defaultPrevented). That ordering matters: the sidebar's document preview
binds its own cursor-anchored Ctrl+wheel zoom on its scrollport and calls
preventDefault(). A capture-phase listener on document would fire before that
handler ever ran, and stopPropagation() there would kill the preview's zoom
outright. Being last in line keeps the preview working while every other surface
still falls through to page zoom. It also overrides the browser's native zoom
when the Harness is opened in a plain browser tab.
The whole thing is plain DOM — no React surface, no host-side code, no network
access, no storage beyond one localStorage key.
License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10525
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10525
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 7952
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7336
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5234
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1024
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.