From da47eb3d8183b7c8d9a437b9a7899418071b47fa Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 4 Sep 2025 11:24:30 +1000 Subject: [PATCH] Autoplay button fullscreen --- goodtube.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/goodtube.js b/goodtube.js index 4575424..7d25039 100644 --- a/goodtube.js +++ b/goodtube.js @@ -2114,7 +2114,7 @@ pointer-events: none; opacity: 0; position: absolute; - top: -49px; + top: -49.2px; left: 50%; transform: translateX(-50%); background: rgba(28, 28, 28, 0.9); @@ -2124,11 +2124,11 @@ font-size: 12.98px; padding-left: 9px; padding-right: 9px; - padding-top: 0; + padding-top: 0.2px; padding-bottom: 0; height: 25px; box-sizing: border-box; - line-height: 24px; + line-height: 25px; font-family: "YouTube Noto", Roboto, Arial, Helvetica, sans-serif; white-space: nowrap; } @@ -2144,6 +2144,16 @@ #goodTube_autoplayButton:hover .ytp-autonav-toggle-button::before { opacity: 1; } + + :fullscreen #goodTube_autoplayButton .ytp-autonav-toggle-button { + transform: scale(1.4); + top: 22px; + } + + :fullscreen #goodTube_autoplayButton .ytp-autonav-toggle-button::before { + font-size: 14px; + top: -50px; + } `; // Enable the picture in picture button (unless you're on firefox)