Greasy Fork is available in English.
Automatically select the "expert" model on DeepSeek website.
// ==UserScript==
// @name DeepSeek Auto Expert
// @namespace npm/vite-plugin-monkey
// @version 0.1.0
// @author Farhan Digital
// @description Automatically select the "expert" model on DeepSeek website.
// @license GPL-3.0
// @icon https://cdn.jsdelivr.net/gh/farhandigital/deepseek-auto-expert@master/public/deepseek-logo.png
// @match https://chat.deepseek.com/
// ==/UserScript==
(function() {
var PREFIX = "[deepseek-auto-expert]";
var TARGET_URL = "https://chat.deepseek.com/";
function main() {
if (window.location.href !== TARGET_URL) {
console.log(`${PREFIX} Not on new chat page`);
return;
}
const targetElement = document.querySelector("[data-model-type=\"expert\"]");
if (!targetElement) {
console.log(`${PREFIX} Element not found`);
return;
}
if (targetElement.getAttribute("aria-checked") === "true") {
console.log(`${PREFIX} Element is already checked`);
return;
}
targetElement.click();
}
setInterval(main, 500);
})();