diff --git a/content.js b/content.js index 170ea3a..4269cc0 100644 --- a/content.js +++ b/content.js @@ -11,46 +11,54 @@ // Crear popup flotante de progreso function createFloatingProgressPopup() { + console.log('🎨 Creando popup de progreso...'); + // Remover popup anterior si existe const existingPopup = document.getElementById('mass-downloader-progress-popup'); if (existingPopup) { + console.log('🗑️ Removiendo popup anterior'); existingPopup.remove(); } const popup = document.createElement('div'); popup.id = 'mass-downloader-progress-popup'; - popup.style.cssText = ` - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - width: 400px; - background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); - color: white; - padding: 25px; - border-radius: 12px; - box-shadow: 0 10px 40px rgba(0,0,0,0.5); - z-index: 10001; - font-family: Arial, sans-serif; - display: none; - `; + + // Estilos inline para máxima compatibilidad + popup.style.position = 'fixed'; + popup.style.top = '50%'; + popup.style.left = '50%'; + popup.style.transform = 'translate(-50%, -50%)'; + popup.style.width = '450px'; + popup.style.background = '#667eea'; + popup.style.backgroundImage = 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)'; + popup.style.color = 'white'; + popup.style.padding = '30px'; + popup.style.borderRadius = '15px'; + popup.style.boxShadow = '0 10px 50px rgba(0,0,0,0.6)'; + popup.style.zIndex = '999999'; // ¡Muy alto! + popup.style.fontFamily = 'Arial, sans-serif'; + popup.style.display = 'block'; // Visible por defecto + popup.style.backdropFilter = 'blur(10px)'; popup.innerHTML = ` -