Commit Graph

4 Commits

Author SHA1 Message Date
renato97
121210ca84 Fix page detection and add floating progress popup
 Improvements:
- Enhanced page detection to support 'X pages' pattern
- Added comprehensive logging for debugging
- Implemented floating progress popup on page
- Added show/hide progress message handlers
- Better error handling and logging for image extraction
- Fixed popup to display real-time progress

🐛 Fixed:
- Page detection now works for both 'Showing X of Y images' and 'X pages' patterns
- Downloads should now work correctly with proper page iteration
- Added visible feedback via floating popup

🔍 Debugging:
- Added console logs for page detection
- Logs show total pages found and images extracted
- Each page is logged during processing
2025-11-04 05:05:10 +00:00
renato97
8e1631b340 Add Chrome extension icons
- Created icon files in 4 sizes: 16x16, 32x32, 48x48, 128x128
- Added icons directory with gradient purple design
- Updated manifest.json to include default_icon configuration
- Icons will now display properly in Chrome toolbar

Required for Chrome Web Store compliance
2025-11-04 04:35:50 +00:00
renato97
aa45241525 Fix metadata storage for selected manga
- Added mangaMetadata Map to store full manga objects with title, token, url, baseUrl
- Modified getSelectedMangas to return full manga objects instead of just IDs
- Fixed substring error when downloading selected manga
- Enhanced checkbox creation to save metadata during initialization
- Improved logging for selection/deselection events

Resolves: Error: Cannot read properties of undefined (reading 'substring')
2025-11-04 04:32:16 +00:00
renato97
829996b41e Initial commit: Manga Mass Downloader Chrome Extension
 Features:
- Multi-selection checkboxes on manga listings
- Batch download selected manga or all manga from page
- Optimized parallel downloading (20ms delays, 5 concurrent)
- Visual progress tracking
- Popup UI for easy control
- Fixed duplicate checkbox issue with deduplication logic

📁 Files:
- manifest.json: Extension configuration
- content.js: Checkbox injection & manga detection
- background.js: Optimized download engine
- popup.html/js: User interface
- README.md: Complete documentation
2025-11-04 04:25:25 +00:00