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