From 584b583c56ef1404fc671baffeb76284da52fca3 Mon Sep 17 00:00:00 2001 From: lencx Date: Sat, 4 May 2024 10:53:22 +0800 Subject: [PATCH] extensions: noi ask --- extensions/README.md | 2 +- extensions/noi-ask/main.js | 4 ++-- extensions/noi-ask/manifest.json | 6 +++--- extensions/noi.extensions.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/extensions/README.md b/extensions/README.md index 816bdab..424af91 100644 --- a/extensions/README.md +++ b/extensions/README.md @@ -9,7 +9,7 @@ Learn more: [electronjs/doc](https://www.electronjs.org/docs/latest/api/extensio | 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. | diff --git a/extensions/noi-ask/main.js b/extensions/noi-ask/main.js index 6149624..396d5c3 100644 --- a/extensions/noi-ask/main.js +++ b/extensions/noi-ask/main.js @@ -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')); diff --git a/extensions/noi-ask/manifest.json b/extensions/noi-ask/manifest.json index f727563..46a3eff 100644 --- a/extensions/noi-ask/manifest.json +++ b/extensions/noi-ask/manifest.json @@ -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", diff --git a/extensions/noi.extensions.json b/extensions/noi.extensions.json index c86e115..449de76 100644 --- a/extensions/noi.extensions.json +++ b/extensions/noi.extensions.json @@ -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