Claude Project Files Extractor - Changelog
Version 3.0 - Major Overhaul (2025-01-08)
🔧 Critical Fixes
- Fixed filename extraction - No more "Unknown File.txt" or mangled filenames
- Improved content detection - Now properly extracts actual file content instead of UI text
- Enhanced modal handling - More reliable opening/closing of file preview modals
- Better file type detection - Automatically detects and preserves proper file extensions
✨ New Features
- Smart filename parsing - Uses regex patterns to extract clean filenames from various UI formats
- Automatic file type detection - Detects .json, .xml, .md, .csv, .pdf.txt, .eml.txt, etc.
- Enhanced content extraction - Multiple fallback strategies for finding file content in modals
- Detailed logging - Comprehensive console output for debugging and progress tracking
- Improved metadata - Export includes detailed file information and original names
🛠 Technical Improvements
- Better element detection - More sophisticated selectors for finding file elements
- Robust modal interaction - Multiple strategies for opening and closing modals
- Enhanced error handling - Graceful handling of failed extractions
- Improved file filtering - Better logic to identify actual files vs UI elements
- Optimized timing - Better wait periods for modal loading and content extraction
🎯 What's Fixed
- Filenames like "CompanyFile.xml1_.txt" → Now extracts proper names like "CompanyFile.xml"
- Content extraction from various modal layouts and content containers
- File type detection from both filename patterns and content analysis
- Modal closing issues that could interrupt the extraction process
- Memory leaks and performance issues during bulk extraction
🔍 Debugging Improvements
- Added step-by-step console logging for each extraction phase
- File-by-file progress tracking with detailed status updates
- Error reporting with specific failure reasons
- Content length validation and quality checks
Version 2.0 - Initial Release
- Basic file extraction functionality
- ZIP creation and download
- Simple modal interaction
- Basic filename detection
Installation & Usage
- Install the userscript in Tampermonkey/Greasemonkey
- Navigate to any Claude project with uploaded files
- Click the "📁 Export Project Files" button (bottom-right corner)
- Wait for extraction to complete
- Download will start automatically as a ZIP file
Troubleshooting
If files aren't extracting properly:
- Check browser console for detailed logs
- Ensure project has uploaded files in the knowledge panel
- Try refreshing the page and running again
- Disable other extensions that might interfere with modals
Support
For issues or feature requests, please check the console logs first and include them in your report.