From 7572ddb56542ba2c2b991144df0ec57753dbbed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Yak=C4=B1=C5=9Ft=C4=B1r?= Date: Sat, 29 Aug 2026 23:02:50 +0300 Subject: [PATCH] feat(modal): implement interactive full YouTube search & voice modal with trends v1.3.0 --- client.js | 438 ++++++++++++++++++++++++--------------------------- package.json | 2 +- style.css | 366 +++++++++++++++++++++++------------------- 3 files changed, 416 insertions(+), 390 deletions(-) diff --git a/client.js b/client.js index a62e2ea..e100b89 100644 --- a/client.js +++ b/client.js @@ -1403,232 +1403,260 @@ // -------------------------------------------------------------------------- // -------------------------------------------------------------------------- // -------------------------------------------------------------------------- - // 8. YOUTUBE-IDENTICAL SEARCH BAR & BULLETPROOF VOICE MODAL (v1.2.4) // -------------------------------------------------------------------------- - var activeVoiceRecognition = null; - var isVoiceListeningActive = false; - var modalTargetInput = null; + // 8. FULL YOUTUBE SEARCH & VOICE MODAL ENGINE (v1.3.0) + // -------------------------------------------------------------------------- + var activeVoiceRec = null; + var isVoiceListening = false; - function createYouTubeVoiceModal() { - var existingModal = document.getElementById('yaktube-voice-modal'); + function createFullSearchModal() { + var existingModal = document.getElementById('yaktube-full-search-modal'); if (existingModal) return existingModal; var modal = document.createElement('div'); - modal.id = 'yaktube-voice-modal'; - modal.className = 'yaktube-voice-modal-overlay'; + modal.id = 'yaktube-full-search-modal'; + modal.className = 'yaktube-full-search-modal'; modal.setAttribute('role', 'dialog'); modal.setAttribute('aria-modal', 'true'); - modal.setAttribute('aria-labelledby', 'yaktube-voice-modal-title'); + modal.setAttribute('aria-labelledby', 'yaktube-modal-search-title'); modal.style.display = 'none'; modal.innerHTML = - '
' + - '
' + - '

Sesle arama yapın

' + - '' + + '
' + + '