Claude Up Arrow Edit

Make Up Arrow press the edit button in Claude, similar to Discord

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
im tired of this
日安装量
0
总安装量
1
评分
0 0 0
版本
1.0
创建于
2025-03-30
更新于
2025-03-30
大小
3.9 KB
许可证
Skibidi
适用于

Claude Up Arrow Edit - Discord-Style Message Editing

This userscript adds Discord-style message editing functionality to Claude.ai by making the up arrow key edit your last message, just like on Discord.

Features

  • Up Arrow Editing: Press the up arrow key to quickly edit your most recent message
  • Smart Focus Handling: Only activates when you're not already typing something
  • Cursor Positioning: Automatically positions the cursor at the end of your message
  • Low Overhead: Lightweight implementation with minimal impact on performance

Why You'll Love This

If you're used to Discord's interface, this script brings that familiar workflow to Claude. No more having to find and click the tiny edit button—just press up arrow and start editing!

How It Works

The script detects when you press the up arrow key and checks if you're currently typing. If you're not typing (or if you're focused on the input but haven't typed anything yet), it automatically:

  1. Clicks the edit button on your last message
  2. Places your cursor at the end of the text
  3. Gets you ready to edit instantly

Installation

  1. Install Violentmonkey or another userscript manager
  2. Create a new script
  3. Copy and paste the code
  4. Save the script
  5. Visit Claude.ai and enjoy your new editing powers!

Compatibility

Works with the current Claude.ai interface as of March 2025. If Claude updates their UI, the script may need adjustments.

License

Feel free to modify and share as needed!