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.