fix(search): route to native /search instead of 404 /search/videos and cleanup error mascot (v1.4.21)

This commit is contained in:
Enes Yakıştır
2026-09-03 18:19:15 +03:00
parent 330ff2da2e
commit 3cc2711e8c
3 changed files with 39 additions and 4 deletions
+15
View File
@@ -942,3 +942,18 @@ body.yaktube-theater-mode .video-js {
color: #fff !important;
outline: none !important;
}
/* Suppress 404 Mascot and Error Page on Search results */
body:has(#yaktube-ondemand-container) my-error-page,
#yaktube-ondemand-container ~ my-error-page,
my-error-page:has(~ #yaktube-ondemand-container),
my-error-page {
/* Only hide if search param is active */
}
body:has(#yaktube-ondemand-container) my-error-page {
display: none !important;
visibility: hidden !important;
height: 0 !important;
overflow: hidden !important;
}