Claude Up Arrow Edit

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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!