DeepSeek Auto Expert

Automatically select the "expert" model on DeepSeek website.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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);
})();