Claude.ai Enter Swap

Swaps Enter behavior on Claude.ai: Enter inserts a new line, Shift+Enter or Cmd+Enter sends the message. Works by accessing the ProseMirror/Tiptap editor commands directly.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Аўтар
fragrusti
Усталяванняў за дзень
0
Усяго ўсталяванняў
2
Рэйтынг
1 0 0
Версія
1.0
Створаны
31.03.2026
Абноўлены
31.03.2026
Памер
1.6 КБ
Ліцэнзія
MIT
Ужываецца на

Claude.ai Enter Swap Swaps the default Enter key behavior on Claude.ai. By default, Claude.ai sends the message when you press Enter. This script reverses that: Enter inserts a new line, Shift+Enter or Cmd+Enter sends the message. The script works by accessing the ProseMirror/Tiptap editor instance directly (pm.editor.commands.enter()), which is the only reliable method — standard approaches like execCommand or synthetic keyboard events are silently ignored by the editor. Works on any browser and in any language. Tested on macOS with Zen Browser (Firefox-based) and Tampermonkey.