Commit Graph

6 Commits

Author SHA1 Message Date
mmcghen d03f963e7b Allow check intervals as low as 10 seconds
- Switch from Chrome alarms (30s min) to setTimeout loops
- Config now uses checkIntervalSeconds instead of minutes
- Default: 15 seconds, minimum: 10 seconds
- Prevents overlapping checks with isChecking flag
- Updated popup UI to show seconds

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 18:24:38 -04:00
mmcghen 8f526976bc Optimize: reuse tab and smart polling for faster checks
- Keep tab open between checks (no create/close overhead)
- Poll for products every 500ms instead of fixed 10s wait
- Exit early as soon as products are found
- Max wait reduced to 8 seconds
- Should reduce check time from ~15-20s to ~3-8s

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 18:22:00 -04:00
mmcghen 4fa50809dd Add bot protection warning, 30-sec intervals, longer page wait
- Send Discord ping when 0 products found (likely bot protection)
- Allow 0.5 minute (30 second) check intervals
- Increase page wait from 5s to 10s for slow loads

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 18:11:27 -04:00
mmcghen 4864aa3af4 Revert debug logging - extension working after human verification
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 18:07:55 -04:00
mmcghen 2da4e1856f Add debug logging to content script to diagnose 0 products issue
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 18:06:00 -04:00
mmcghen 9d49a99916 Pokemon Stock Monitor - Initial commit
Chrome extension for PokemonCenter monitoring with Discord notifications.
Includes Python scripts for Target monitoring.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 12:39:09 -04:00