From 83d7f6e7f00e0537affcbcd95387a9b99ecc0c6f Mon Sep 17 00:00:00 2001 From: lencx Date: Mon, 15 Sep 2025 11:45:34 +0800 Subject: [PATCH] fix: deepseek send --- README.md | 2 +- extensions/README.md | 2 +- extensions/noi-ask/main.js | 3 ++- extensions/noi-ask/manifest.json | 2 +- extensions/noi.extensions.json | 2 +- website/src/pages/index.tsx | 4 ++-- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d75c20b..433e85d 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,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.2.1 | The best assistant for batch asking and quick typing of prompts. | +| [@noi/ask](https://github.com/lencx/Noi/tree/main/extensions/noi-ask) | 0.2.2 | 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/reset](https://github.com/lencx/Noi/tree/main/extensions/noi-reset) | 0.1.3 | Reset certain website styles to enhance compatibility with Noi. | diff --git a/extensions/README.md b/extensions/README.md index 77a530a..1efb90e 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.2.1 | The best assistant for batch asking and quick typing of prompts. | +| [@noi/ask](https://github.com/lencx/Noi/tree/main/extensions/noi-ask) | 0.2.2 | 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/reset](https://github.com/lencx/Noi/tree/main/extensions/noi-reset) | 0.1.3 | Reset certain website styles to enhance compatibility with Noi. | \ No newline at end of file diff --git a/extensions/noi-ask/main.js b/extensions/noi-ask/main.js index 5668513..354a7d8 100644 --- a/extensions/noi-ask/main.js +++ b/extensions/noi-ask/main.js @@ -373,7 +373,8 @@ class DeepSeekAsk extends NoiAsk { static url = 'https://chat.deepseek.com'; static submit() { - const btn = document.querySelector('div[role="button"][aria-disabled]'); + const btns = document.querySelectorAll('div[role="button"]'); + const btn = btns[btns.length - 1]; if (btn) btn.click(); } } diff --git a/extensions/noi-ask/manifest.json b/extensions/noi-ask/manifest.json index 4f174a9..e455c71 100644 --- a/extensions/noi-ask/manifest.json +++ b/extensions/noi-ask/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "@noi/ask", - "version": "0.2.1", + "version": "0.2.2", "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": [ diff --git a/extensions/noi.extensions.json b/extensions/noi.extensions.json index cce9051..c771bd1 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.2.1", + "version": "0.2.2", "url": "https://github.com/lencx/Noi/tree/main/extensions/noi-ask", "dirname": "noi-ask", "disabled": false diff --git a/website/src/pages/index.tsx b/website/src/pages/index.tsx index b773cef..dced564 100644 --- a/website/src/pages/index.tsx +++ b/website/src/pages/index.tsx @@ -35,8 +35,8 @@ export default function Home(): JSX.Element {
Linux
- AppImage - amd64.deb + AppImage + amd64.deb