Export Claude.Ai

Download the conversation with Claude

Skaber
sharmanhall
Daglige installationer
0
Installationer i alt
24
Bedømmelser
1 0 0
Version
1.2
Oprettet
03.09.2024
Opdateret
03.09.2024
Licens
MIT
Gælder for

Export Claude.Ai Conversations

Export Claude.Ai

Description

This userscript allows you to easily export your conversations from Claude.Ai with a single click. A draggable "Export" button is added to the interface, enabling you to save your chats as plain text files. The script ensures a smooth user experience by distinguishing between dragging and clicking, so the download is only triggered when the button is clicked, not when it's being moved around.

Features

  • Export Conversations: Quickly download your Claude.Ai conversations in a clean, readable text format.
  • Draggable Button: The export button can be moved to any position on the screen, allowing for a customizable and non-intrusive interface.
  • Smart Click Handling: Prevents accidental downloads by distinguishing between dragging the button and clicking it.
  • Clean Text Output: Automatically removes unwanted SVGs and button elements from the exported text, ensuring only the conversation content is included.

Installation

  1. Install a userscript manager such as Tampermonkey or Greasemonkey.
  2. Click on the 'Install this script' button above.
  3. Visit any Claude.Ai page, and the "Export" button will appear on the bottom right corner.

How to Use

  1. Navigate to a conversation on Claude.Ai.
  2. Use the "Export" button that appears on the bottom right to download the conversation as a .txt file.
  3. You can drag the button to reposition it anywhere on the screen for convenience.

Changelog

Version 1.2 (Current)

  • Added a check to prevent downloading empty files. If no conversation text is found, the user is alerted with a message, and no file is downloaded.
  • Improved error handling to enhance user experience and prevent unintended behavior.

Version 1.1

  • Fixed an issue where dragging the button would incorrectly resize it.
  • Implemented a logic to differentiate between dragging and clicking, ensuring the export is only triggered on a genuine click.
  • Cleaned up text extraction to remove unnecessary elements like SVGs and other buttons.
  • Added memory cleanup after file download with URL.revokeObjectURL.

Version 1.0

  • Initial release of the script with basic conversation export functionality.
  • Added draggable export button feature.
  • Integrated text extraction from Claude.Ai conversation interface.

License

This script is licensed under the MIT License.


Support

For issues, suggestions, or contributionns, use the feedback section on this GreasyFork page.