From ef2ff0c58c9c43155d55d92d5192078a95beab25 Mon Sep 17 00:00:00 2001 From: Mike McGhen Date: Tue, 24 Mar 2026 18:39:08 -0400 Subject: [PATCH] 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 --- chrome-extension/background.js | 4 ++-- chrome-extension/popup.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chrome-extension/background.js b/chrome-extension/background.js index 67618d2..e44e0a5 100644 --- a/chrome-extension/background.js +++ b/chrome-extension/background.js @@ -2,7 +2,7 @@ const DEFAULT_CONFIG = { discordWebhook: "", - checkIntervalSeconds: 15, // Now in SECONDS, not minutes! + checkIntervalSeconds: 90, // Minimum 60 to avoid PokemonCenter bot detection enabled: true, urls: [ "https://www.pokemoncenter.com/category/tcg-cards?sort=relevance" @@ -55,7 +55,7 @@ function scheduleNextCheck() { return; } - const intervalMs = Math.max(10, config.checkIntervalSeconds) * 1000; // Min 10 seconds + const intervalMs = Math.max(60, config.checkIntervalSeconds) * 1000; // Min 60 seconds to avoid bot detection setTimeout(async () => { if (!isChecking && config.enabled) { diff --git a/chrome-extension/popup.html b/chrome-extension/popup.html index c896c78..34127dd 100644 --- a/chrome-extension/popup.html +++ b/chrome-extension/popup.html @@ -215,8 +215,8 @@
- - Min 10 sec. Recommended: 15-30 sec + + Min 60 sec to avoid bans. Recommended: 90 sec