A JavaScript bookmarklet that extracts and organizes Discord forum messages into downloadable threaded conversations.
- Captures the latest 50 messages on initial load
- Automatically captures new messages while scrolling
- Groups messages into conversation threads
- Preserves message timestamps and author information
- Provides real-time message counter
- Supports both downloading and copying to clipboard
Two options:
- Direct install: Visit Bookmarklet Installer
- Manual install:
- View the source code
- Visit Bookmarklet Installer
- Paste the code and follow the instructions
- Navigate to any Discord forum thread
- Click the bookmarklet in your bookmarks bar
- Scroll up to capture more messages
- Use the floating control panel to:
- View message count
- Download JSON file
- Copy data to clipboard
- Close the scraper
The downloaded/copied data is a JSON array of threaded conversations:
[
{
"root": {
"author": "username",
"content": "message text",
"timestamp": "ISO-8601 timestamp"
},
"replies": [
{
"author": "username",
"content": "reply text",
"timestamp": "ISO-8601 timestamp"
}
]
}
]
- Uses mutation observers and XHR/fetch interceptors to capture messages
- Maintains chronological order of messages
- Reconstructs conversation threads based on reply relationships
- Handles both API responses and DOM-extracted messages
Licensed under the MIT License. See the LICENSE file for details.