lisniuse/dsh-modal-enhancer
lisniuse★ 0JavaScriptLast synced: 2026-08-15
Enhance every DeepSeek Harness web modal: draggable title bar, resizable edges, maximize, and removable backdrop blur, with a General-settings toggle.
README excerpt
dsh-modal-enhancer 简体中文 · English A client-side Cordis plugin that gives every DeepSeek Harness Web GUI modal window-like controls without changing the Harness source code. Features - Drag — move a dialog by its dedicated top strip. - Eight-way resize — resize from all four edges and four corners. - Pin / unpin — a pinned dialog ignores clicks outside the window; its close button and Escape continue to work. - Maximize / restore — fill the viewport with a small outer margin, then return to the previous rectangle. - Remove backdrop — remove both the dim mask and backdrop blur. The dialog receives a light shadow so it remains visually separated from the page. - Per-dialog persistence — position, width, height, maximized state, pinned state, and backdrop state survive modal remounts and browser restarts. - Master switch — enable or disable the enhancer from Settings → General → 弹窗增强 . The plugin discovers dialogs through the stable accessibility contract [role="dialog"][aria-modal="true"] ; it does not depend on CSS-module hashes. This covers Settings, workspace creation, model and agent-preset editors, risk confirmations, and other Harness dialogs that use the same contract. Controls…
View full README on GitHub →