Always Show Copy and Edit Buttons

Make copy and edit buttons always visible on Lambda Chat

作者
motoe moto
日安装量
0
总安装量
3
评分
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.