perf(js): use fast polling for fill detection

Replace MutationObserver with 50ms polling strategy.
AdSense sets data-ad-status very quickly after iframe,
but MutationObserver sometimes has delays.

Max polling: 3s (60 attempts * 50ms)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
FrankZamora
2025-12-10 16:52:06 -06:00
parent ffc22a21ea
commit 88103a774b
2 changed files with 40 additions and 28 deletions

View File

@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
}
// Definir constante de versión del tema
define('ROI_VERSION', '1.0.23');
define('ROI_VERSION', '1.0.24');
// =============================================================================
// 1. CARGAR AUTOLOADER MANUAL