DeepSeek Auto Expert

Automatically select the "expert" model on DeepSeek website.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==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);
})();