Autonomous OODA-loop pentesting agent. Hermes brain, Kali + Playwright tools over MCP, ATT&CK as the Orient language.
Python ai-agentsautonomous-agentskali-linuxllm-agentsoffensive-securityooda-looppentestingplaywrightsecurity
fix(web): karaoke opacity via JS for Android Chrome
irraz1085b967f784
diff --git a/docs/page.js b/docs/page.jsindex bca31a7..7998378 100644--- a/docs/page.js+++ b/docs/page.js@@ -343,18 +343,32 @@ function initKaraoke(audioEl) {const entry = lines[idx];clearTimeout(fadeOutTimer);+ // Set section class + text before making visiblelineEl.className = 'kl kl--' + entry.s;lineEl.textContent = entry.text;- lineEl.classList.add('kl--in');- lineEl.classList.remove('kl--out');++ // Force opacity via style (more reliable than CSS animation on Android Chrome)+ lineEl.style.transition = 'none';+ lineEl.style.opacity = '0';+ lineEl.style.transform = 'translateY(4px)';++ // Next frame: animate in+ requestAnimationFrame(() => {+ requestAnimationFrame(() => {+ lineEl.style.transition = 'opacity 0.35s ease, transform 0.35s ease';+ lineEl.style.opacity = '1';+ lineEl.style.transform = 'translateY(0)';+ });+ });// Compute hold time until next line (min 0.8s, max 5s)const nextT = idx + 1 < lines.length ? lines[idx + 1].t : entry.t + 4;const hold = Math.max(800, Math.min(5000, (nextT - entry.t - 0.6) * 1000));fadeOutTimer = setTimeout(() => {- lineEl.classList.add('kl--out');- lineEl.classList.remove('kl--in');+ lineEl.style.transition = 'opacity 0.5s ease, transform 0.5s ease';+ lineEl.style.opacity = '0';+ lineEl.style.transform = 'translateY(-4px)';}, hold);}diff --git a/docs/styles.css b/docs/styles.cssindex 599a669..268affa 100644--- a/docs/styles.css+++ b/docs/styles.css@@ -1274,22 +1274,18 @@ body.has-sysbar .hero::before {opacity: 0;}-/* Fade in */-#karaoke-line.kl--in {- animation: kl-fadein 0.35s ease forwards;-}-/* Fade out */-#karaoke-line.kl--out {- animation: kl-fadeout 0.6s ease forwards;-}--@keyframes kl-fadein {- from { opacity: 0; transform: translateY(4px); }- to { opacity: 1; transform: translateY(0); }-}-@keyframes kl-fadeout {- from { opacity: 1; transform: translateY(0); }- to { opacity: 0; transform: translateY(-4px); }+/* Fade in/out controlled via JS (opacity + transform on style directly)+ for cross-browser reliability including Android Chrome */+#karaoke-line {+ font-family: var(--mono);+ text-align: center;+ letter-spacing: 0.06em;+ max-width: 90%;+ white-space: nowrap;+ overflow: hidden;+ text-overflow: ellipsis;+ opacity: 0;+ will-change: opacity, transform;}/* Section colours */