Always Show Copy and Edit Buttons

Make copy and edit buttons always visible on Lambda Chat

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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.