Commit Graph

6 Commits

Author SHA1 Message Date
mmcghen ef2ff0c58c Increase minimum check interval to 60 seconds
PokemonCenter's Imperva bot protection bans IPs that hit
too frequently. 10 seconds was too aggressive.

- New minimum: 60 seconds
- New default: 90 seconds
- Updated popup UI to reflect safer limits

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 18:39:08 -04:00
mmcghen 072bc246fa Add Discord rate limiting to prevent 429 errors
- Limit new product notifications to 5 per check
- Add 1 second delay between Discord notifications
- Restocks still get full priority (always notified)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-24 18:36:59 -04:00
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 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