mirror of
https://github.com/lencx/Noi.git
synced 2025-12-16 10:00:36 +01:00
extensions: noi ask
This commit is contained in:
@@ -9,7 +9,7 @@ Learn more: [electronjs/doc](https://www.electronjs.org/docs/latest/api/extensio
|
||||
<!-- EXTENSIONS_START -->
|
||||
| Name | Version | Description |
|
||||
| --- | --- | --- |
|
||||
| [@noi/ask](https://github.com/lencx/Noi/tree/main/extensions/noi-ask) | 0.1.5 | The best assistant for batch asking and quick typing of prompts. |
|
||||
| [@noi/ask](https://github.com/lencx/Noi/tree/main/extensions/noi-ask) | 0.1.7 | The best assistant for batch asking and quick typing of prompts. |
|
||||
| [@noi/ask-custom](https://github.com/lencx/Noi/tree/main/extensions/noi-ask-custom) | 0.1.0 | The best assistant for batch asking and quick typing of prompts. |
|
||||
| [@noi/export-chatgpt](https://github.com/lencx/Noi/tree/main/extensions/noi-export-chatgpt) | 0.1.0 | ChatGPT chat history export, supports PDF, Image, and Markdown formats. |
|
||||
| [@noi/reset](https://github.com/lencx/Noi/tree/main/extensions/noi-reset) | 0.1.0 | Reset certain website styles to enhance compatibility with Noi. |
|
||||
|
||||
@@ -310,6 +310,26 @@ class TongyiAsk extends NoiAsk {
|
||||
}
|
||||
}
|
||||
|
||||
class GroqAsk extends NoiAsk {
|
||||
static name = 'Groq';
|
||||
static url = 'https://groq.com';
|
||||
|
||||
static submit() {
|
||||
const btn = document.querySelector('form button[type="submit"]');
|
||||
if (btn) btn.click();
|
||||
}
|
||||
}
|
||||
|
||||
class SunoAsk extends NoiAsk {
|
||||
static name = 'Suno AI';
|
||||
static url = 'https://app.suno.ai';
|
||||
|
||||
static submit() {
|
||||
const btn = Array.from(document.querySelectorAll('button')).find(i => i.innerText.includes('Create'));
|
||||
if (btn) btn.click();
|
||||
}
|
||||
}
|
||||
|
||||
window.NoiAsk = {
|
||||
OpenAIAsk,
|
||||
PoeAsk,
|
||||
@@ -325,4 +345,6 @@ window.NoiAsk = {
|
||||
DoubaoAsk,
|
||||
ChatGMLAsk,
|
||||
TongyiAsk,
|
||||
GroqAsk,
|
||||
SunoAsk,
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "@noi/ask",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.7",
|
||||
"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": [
|
||||
@@ -14,13 +14,15 @@
|
||||
"https://huggingface.co/chat/*",
|
||||
"https://www.perplexity.ai/*",
|
||||
"https://copilot.microsoft.com/*",
|
||||
"https://groq.com/*",
|
||||
"https://pi.ai/talk/*",
|
||||
"https://www.coze.com/home/*",
|
||||
"https://you.com/*",
|
||||
"https://www.coze.cn/home/*",
|
||||
"https://chatglm.cn/*",
|
||||
"https://www.doubao.com/*",
|
||||
"https://tongyi.aliyun.com/qianwen/*"
|
||||
"https://tongyi.aliyun.com/qianwen/*",
|
||||
"https://app.suno.ai/*"
|
||||
],
|
||||
"js": ["main.js"],
|
||||
"run_at": "document_end",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
{
|
||||
"name": "@noi/ask",
|
||||
"description": "The best assistant for batch asking and quick typing of prompts.",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.7",
|
||||
"url": "https://github.com/lencx/Noi/tree/main/extensions/noi-ask",
|
||||
"dirname": "noi-ask",
|
||||
"disabled": false
|
||||
|
||||
Reference in New Issue
Block a user