fix: deepseek send

This commit is contained in:
lencx
2025-09-15 11:45:34 +08:00
parent f51c2aa60b
commit 83d7f6e7f0
6 changed files with 8 additions and 7 deletions

View File

@@ -110,7 +110,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.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. |
<!-- EXTENSIONS_END -->

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.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. |
<!-- EXTENSIONS_END -->

View File

@@ -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();
}
}

View File

@@ -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": [

View File

@@ -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

View File

@@ -35,8 +35,8 @@ export default function Home(): JSX.Element {
<img src="/os/linux-logo.png" className="w-[40px] sm:w-[60px]" />
<div className="font-bold">Linux</div>
<div className="flex gap-2 justify-center">
<a href={`https://github.com/lencx/Noi/releases/download/v0.2.1/Noi_linux_0.2.1.AppImage`}>AppImage</a>
<a href={`https://github.com/lencx/Noi/releases/download/v0.2.1/noi_linux_amd64_0.2.1.deb`}>amd64.deb</a>
<a href={`https://github.com/lencx/Noi/releases/download/v${noiVersion}/Noi_linux_${noiVersion}.AppImage`}>AppImage</a>
<a href={`https://github.com/lencx/Noi/releases/download/v${noiVersion}/noi_linux_amd64_${noiVersion}.deb`}>amd64.deb</a>
</div>
</div>
</div>