您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
为DeepSeek AI设置自定义系统提示词(增强版)
Robust system prompt injection for every DeepSeek chat when using the browser app at "chat.deepseek.com".
GM_getValue / GM_setValue
window.fetch
and XMLHttpRequest.send
.
If the URL matches any API_PATTERNS
entry → the script rewrites body.prompt
or unshifts a system
message into body.messages[]
.send
call, JSON-parses strings, rewrites .prompt
if present.No network requests are made by the script itself, and nothing is sent outside your browser.
Enjoy a more deterministic control over model responses in the DeepSeek chat client by using this userscript!
Fundamentally, DeepSeek isn't a model built to robustly reject these types of injections. After all, it's an open-source model built for the community, and this level of granular control is easily accessible to any developer directly from the official DeepSeek API. In fact, eliciting precise model behavioral outcomes within the DeepSeek chat client is already quite feasible with only user-level prompts at your control. The benefit of this userscript, more than anything, is the ability to programmatically and automatically elicit that level of control. It all happens in the background, and with some nice QoL features to make everything a smooth process.
This project was inspired by DeepSeek Traits by @xskutsu.
While the internal logic here is substantially different, their traits injector sparked the idea. 💚
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址