Always Show Copy and Edit Buttons

Make copy and edit buttons always visible on Lambda Chat

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

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

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

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

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

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

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
motoe moto
今日安裝
0
安裝總數
5
評價
0 0 0
版本
0.3
建立日期
2025-02-18
更新日期
2025-02-18
尺寸
1.6 KB
授權條款
MIT
腳本執行於

Always Show Copy and Edit Buttons - Lambda Chat Userscript

A Tampermonkey userscript that makes copy and edit/branch buttons always visible on Lambda Chat instead of only showing on hover.

Features

  • Makes copy buttons always visible
  • Makes edit/branch buttons always visible
  • Works with dynamically loaded content
  • Automatically applies to new messages/buttons as they appear

How It Works

  1. The script targets buttons that are normally hidden until hover using CSS class selectors
  2. It removes the classes that hide the buttons and adds classes to make them visible
  3. Uses a MutationObserver to watch for new content and apply the changes to new buttons

Requirements

  • Tampermonkey browser extension
  • Access to lambda.chat

Version History

  • 0.3: Updated selectors to properly target branch buttons
  • 0.2: Added edit button visibility
  • 0.1: Initial release with copy button visibility

License

This script is provided as-is under the MIT License.

Contributing

Feel free to submit issues or pull requests to improve the script.

Support

If you encounter any issues or have suggestions for improvements, please open an issue on the project repository.

Acknowledgments

Thanks to the Lambda Chat community for inspiration and feedback.