From c204715d85546f3011710f7ede989477a74fa145 Mon Sep 17 00:00:00 2001 From: jack Date: Mon, 17 Nov 2025 08:54:51 +0800 Subject: [PATCH] update --- scripts/DeepSeekPageOptimization.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/DeepSeekPageOptimization.js diff --git a/scripts/DeepSeekPageOptimization.js b/scripts/DeepSeekPageOptimization.js new file mode 100755 index 0000000..be05d01 --- /dev/null +++ b/scripts/DeepSeekPageOptimization.js @@ -0,0 +1,14 @@ +// ==UserScript== +// @name DeepSeek 页面优化 +// @match https://chat.deepseek.com/* +// ==/UserScript== +const style = ` + :root { + --message-list-max-width: 2600px !important; /* 调整消息区域宽度 */ + --message-list-padding-horizontal: 48px !important; /* 调整左右边距 */ + } + #root > div > div:nth-child(2) > div:nth-child(2) { + padding: 16px 0px 0px; /* 紧凑布局 */ + } +`; +document.head.appendChild(Object.assign(document.createElement('style'), { innerHTML: style })); \ No newline at end of file