DeepSeek Auto-Focus

Automatically focuses the chat input on chat.deepseek.com when you type

作者
Cochinver
日安装量
0
总安装量
2
评分
0 0 0
版本
1.3
创建于
2025-02-18
更新于
2025-02-18
大小
1.1 KB
许可证
暂无
适用于

deepseek auto focus when you type

ai:

DeepSeek Auto-Focus

This user script automatically focuses the chat input on DeepSeek's chat platform and inserts the typed character at the current cursor position when you type a letter.

Features:

  • Auto-focus: When typing a letter (while not focused on a textarea or input), the chat input (#chat-input) is automatically focused.
  • Insert at cursor: The script inserts the pressed character at the current cursor position in the chat input field.
  • Event triggering: It dispatches the necessary input and change events to ensure the chat input is updated, even if the page uses modern frameworks like React.

Installation:

  1. Install this script in your favorite user script manager (e.g., Violentmonkey, Tampermonkey).
  2. Make sure you're on DeepSeek Chat.

Notes:

  • This script works only on the chat input field (#chat-input) of the DeepSeek platform.
  • The script listens for keydown events to detect when you type and automatically focuses and inserts the typed key.