Merge pull request #322 from gh0stkey/main

feat: noi ask (deepseek)
This commit is contained in:
lencx
2025-01-16 09:09:18 +08:00
committed by GitHub
2 changed files with 17 additions and 5 deletions

View File

@@ -302,7 +302,7 @@ class CozeCNAsk extends NoiAsk {
}
}
class ChatGMLAsk extends NoiAsk {
class ChatGLMAsk extends NoiAsk {
static name = 'ChatGLM'; // 智谱清言
static url = 'https://chatglm.cn';
@@ -322,6 +322,16 @@ class DoubaoAsk extends NoiAsk {
}
}
class DeepSeekAsk extends NoiAsk {
static name = 'DeepSeek'; // DeepSeek
static url = 'https://chat.deepseek.com';
static submit() {
const btn = document.querySelector('div[role="button"][aria-disabled]');
if (btn) btn.click();
}
}
class TongyiAsk extends NoiAsk {
static name = 'TongYi'; // 通义千问
static url = 'https://tongyi.aliyun.com/qianwen';
@@ -405,10 +415,11 @@ window.NoiAsk = {
YouAsk,
CozeCNAsk,
DoubaoAsk,
ChatGMLAsk,
ChatGLMAsk,
TongyiAsk,
GroqAsk,
SunoAsk,
NotebooklmAsk,
JimengAsk,
DeepSeekAsk,
};

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "@noi/ask",
"version": "0.1.14",
"version": "0.1.15",
"homepage": "https://github.com/lencx/Noi/tree/main/extensions/noi-ask",
"description": "The best assistant for batch asking and quick typing of prompts.",
"content_scripts": [
@@ -25,11 +25,12 @@
"https://tongyi.aliyun.com/qianwen/*",
"https://suno.com/*",
"https://notebooklm.google.com/*",
"https://jimeng.jianying.com/*"
"https://jimeng.jianying.com/*",
"https://chat.deepseek.com/*"
],
"js": ["main.js"],
"run_at": "document_end",
"world": "MAIN"
}
]
}
}