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