DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-refresh

d

dsh-refresh

Manifest valid

Make F5, Ctrl+F5, and Ctrl+Shift+R reload the DeepSeek Harness page.

UI (client)hasBundlePatch

dsh-refresh

简体中文 | English

Make F5, Ctrl+F5, and Ctrl+Shift+R / Cmd+Shift+R reliably reload the DeepSeek Harness page.

DeepSeek Harness has no refresh button, and the browser's built-in reload shortcuts are suppressed in some contexts. This plugin installs a keydown listener that captures F5 and Ctrl+Shift+R (Cmd+Shift+R on macOS) and calls location.reload() — Ctrl+F5 and Ctrl+Shift+R additionally bypass the cache (location.reload(true)).

Why not Ctrl+R?

Ctrl+R / Cmd+R is not supported, and it cannot be fixed from a page-level plugin. DeepSeek Harness registers Ctrl+R as its built-in page.refresh shortcut, and it consumes the key at the Electron before-input-event layer — calling preventDefault() before the keydown event ever reaches the page. A window.addEventListener("keydown", …) listener simply never sees it.

Use F5 (reload), Ctrl+F5 (hard reload), or Ctrl+Shift+R (hard reload) instead. If you want Ctrl+R back, rebind the page.refresh shortcut in DeepSeek Harness's keyboard-shortcut settings to a different key; then Ctrl+R will flow through to the page again.

How it works

A minimal client-only plugin. It exports name, inject, and apply(ctx), and uses ctx.effect to register a capturing keydown listener that is automatically removed when the plugin run is disposed.

window.addEventListener("keydown", (ev) => {
  const isF5 = ev.key === "F5";
  const isHardReload = (ev.ctrlKey || ev.metaKey) && ev.shiftKey && (ev.key === "r" || ev.key === "R");
  if (!isF5 && !isHardReload) return;
  ev.preventDefault();
  ev.stopPropagation();
  (isF5 && (ev.ctrlKey || ev.metaKey)) || isHardReload ? location.reload(true) : location.reload();
}, { capture: true });

Install

From npm (recommended):

dsh plugin add dsh-refresh

Or from GitHub:

dsh plugin add spidu-lee/dsh-refresh

License

MIT

Comments

Loading…

Similar plugins

dsh-restart-button

by PPsz-qqq

DeepSeek Harness plugin: one-click restart button in the top-right of the session header (Windows desktop + dsh web). 一键重启 DeepSeek Harness 客户端。

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 5

MIT

JavaScript

Oct 3, 2026

dsh plugin --profile web add dsh-restart-button

by csuwzw

一键重启 DeepSeek Harness 的插件:标题栏按钮,两次点击完成重启,让新装的插件立即生效。One-click restart for DeepSeek Harness.

Manifest valid

★ 0

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add dsh-restart

by zhouchengke2046

Independent one-click restart for DeepSeek Harness web (Settings page). · 独立的 DSH Web 一键重启插件。

Manifest valid

★ 0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-restart

by FuriousKinght

A button at the foot of the sidebar that restarts the DSH desktop app and reloads the page when it comes back.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 15, 2026

dsh plugin --profile web add dsh-restart-button

by lux09947-cmyk

Adds a refresh button to the DeepSeek Harness desktop title bar next to the Edit menu, reloading the interface without restarting the app.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 1, 2026

dsh plugin --profile web add dsh-re

by archyciao

DeepSeek Harness (dsh) 插件:设置页「关于」- 版本显示/检查更新/一键重启

Manifest valid

★ 0

JavaScript

Sep 9, 2026

dsh plugin --profile web add dsh-about-updater