DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-404-panic-lock

c

dsh-404-panic-lock

Manifest valid★ 3

A lightweight plugin developed with DSH: Press Ctrl+Shift+L to instantly disguise the page as a static 404 screenshot, temporarily locking the mouse and keyboard to prevent others from messing with the computer.

UI (client)hasBundlePatch

404 Panic Lock(DSH 404 防打扰锁)

按一个快捷键(Ctrl+Shift+L),整个页面瞬间变成一张静态的 404 错误页截图——鼠标、键盘、右键全部失效,看起来就像网站挂了;再按一次快捷键恢复。

防止别人趁你离开时乱动你的电脑。大概只有这样了(确信)

效果预览(草稿演示)

在线预览:https://chuxumilk.github.io/dsh-404-panic-lock/ —— 打开后按 Ctrl+Shift+L 锁定,再按一次恢复。

也可以直接打开 demo/index.html(本地文件)体验:页面会变成一个假的聊天界面,按 Ctrl+Shift+L 锁定,再按一次恢复。

功能

  • 一键把 DSH Web 界面伪装成「404 Not Found」错误页(Canvas 现画的静态图片,像素级不可交互)
  • 锁定自动进入浏览器全屏,404 遮罩盖满整个屏幕(连地址栏/标签栏一起盖住),解锁自动退出
  • 锁定时:点击、滚动、右键、键盘输入全部被吞掉;标签页标题同步变成 404 Not Found
  • 再按一次快捷键恢复,标题还原
  • 插件停止/卸载时自动解锁清理,不残留
  • 轻量:客户端纯 DOM、无框架依赖

在 DSH 中运行

这是一个标准 DSH 插件包(bundle),命令行安装:

dsh plugin --profile web add github:chuxumilk/dsh-404-panic-lock

或者也可以通过DSH自己运行。

  发送命令:安装 https://github.com/chuxumilk/dsh-404-panic-lock

同时,也支持在DSH插件市场搜索。 安装后重启 DSH,按 Ctrl+Shift+L 即可锁定/恢复。

快捷键自定义

默认 Ctrl+Shift+L(L = Lock)。改 client.js 顶部的 HOTKEY_CODE 即可,例如:

const HOTKEY_CODE = 'KeyD' // Ctrl+Shift+D

工作原理

  1. 浏览器半部(client.js)在 document 捕获阶段监听 keydown,命中快捷键时切换锁定状态
  2. 锁定时用 Canvas 按当前窗口尺寸画一张逼真的 404 页面(伪浏览器地址条 + 大号 404 + 说明文字),导出为 PNG 图片
  3. 图片放进 position: fixed + 最大 z-index 的全屏遮罩,盖住整个页面
  4. 锁定期间拦截所有键盘事件和右键菜单;失焦输入框,防止焦点留在背后

目录结构

├── package.json        # 包清单:dsh.bundle.patch + dsh.client(web) 声明
├── cordis.patch.yml    # bundle 补丁:把插件行插入 profile 插件名单
├── index.js            # 宿主半部(空实现,仅占位)
├── client.js           # 浏览器半部:bundle 格式(__ModuleLoader__.load)
└── demo/
    └── index.html      # 独立演示页:打开后按 Ctrl+Shift+L 体验

免责声明

本插件是防打扰工具,它只是盖住页面、吞掉输入,不能阻止任何真正的系统级操作。

Comments

Loading…

Similar plugins

dsh-shortcuts

by Ricketts-Guo

DeepSeek Harness WebUI 键盘快捷键插件(34 个预置功能、一键录制自定义、静默权限切换)— Fully customizable keyboard shortcuts for the DSH WebUI.

UI & ExperienceManifest valid

★ 5

↓ 23/wk

MIT

JavaScript

Sep 20, 2026

dsh plugin --profile web add dsh-shortcuts

by Centaurea5547196

DeepSeek Harness Web UI 页面缩放插件:Ctrl+滚轮与 Ctrl+=/-/0 快捷键,25%-300%,本地持久化;悬浮栏默认隐藏。

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

MIT

JavaScript

Oct 1, 2026

dsh plugin --profile web add dsh-page-zoom

by lanbaolu

⛔ 已停止更新(2026-09-12):坏插件隔离等保底能力已内置于 DSH Desktop → 请直接使用 https://github.com/dataelement/dsh-desktop

Workflow & AutomationManifest valid

★ 7

↓ 217/wk

JavaScript

Sep 12, 2026

dsh plugin --profile web add @lanbaolu/dsh-fail-soft

by Depar7ure

DSH Desktop 插件:标题栏「编辑」右侧新增蓝底白字伪 3D「刷新」按钮;有对话运行时禁用并弹警告,全静默才允许刷新。

Tools & CapabilitiesManifest valid

★ 0

JavaScript

Oct 4, 2026

dsh plugin --profile web add dsh-desktop-web-refresh

by acebang0303

One-click create, update or remove the DeepSeek Harness desktop shortcut with switchable custom icons and a draggable whale button.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 2

NOASSERTION

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-quick-launch

by 13520rygvv

DSH desktop plugin: a one-click restart button in Settings, plus a customizable shortcut.

Tools & CapabilitiesUI & ExperienceManifest valid

★ 1

JavaScript

Oct 27, 2026

dsh plugin --profile web add @local/dsh-restart-button