extensions: noi ask

This commit is contained in:
lencx 2024-05-04 10:53:22 +08:00
parent e108ae00fa
commit 584b583c56
4 changed files with 7 additions and 7 deletions

View File

@ -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.7 | 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.8 | 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.1 | Reset certain website styles to enhance compatibility with Noi. |

View File

@ -45,7 +45,7 @@ class NoiAsk {
class OpenAIAsk extends NoiAsk {
static name = 'ChatGPT';
static url = 'https://chat.openai.com';
static url = 'https://chatgpt.com';
static submit() {
const btn = document.querySelector('button[data-testid="send-button"]');
@ -322,7 +322,7 @@ class GroqAsk extends NoiAsk {
class SunoAsk extends NoiAsk {
static name = 'Suno AI';
static url = 'https://app.suno.ai';
static url = 'https://suno.com';
static submit() {
const btn = Array.from(document.querySelectorAll('button')).find(i => i.innerText.includes('Create'));

View File

@ -1,13 +1,13 @@
{
"manifest_version": 3,
"name": "@noi/ask",
"version": "0.1.7",
"version": "0.1.8",
"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": [
{
"matches": [
"https://chat.openai.com/*",
"https://chatgpt.com/*",
"https://gemini.google.com/*",
"https://poe.com/*",
"https://claude.ai/*",
@ -22,7 +22,7 @@
"https://chatglm.cn/*",
"https://www.doubao.com/*",
"https://tongyi.aliyun.com/qianwen/*",
"https://app.suno.ai/*"
"https://suno.com/*"
],
"js": ["main.js"],
"run_at": "document_end",

View File

@ -5,7 +5,7 @@
{
"name": "@noi/ask",
"description": "The best assistant for batch asking and quick typing of prompts.",
"version": "0.1.7",
"version": "0.1.8",
"url": "https://github.com/lencx/Noi/tree/main/extensions/noi-ask",
"dirname": "noi-ask",
"disabled": false