YouTube Always Show Progress Bar - CSS Method

Shows YouTube progress bar at all times, formatted for theater mode via CSS.

Verze ze dne 24. 01. 2024. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

/* ==UserStyle==
@name           YouTube Always Show Progress Bar - CSS Method
@namespace      greasyfork.org/en/users/1252550-kiokito
@domain         youtube.com
@version        1.0.0
@description    Shows YouTube progress bar at all times, formatted for theater mode via CSS.
@author         Kiokito
@match          http*://*youtube.com/*
@run-at         document-start
@locale         en "English"
==/UserStyle== */
    
@-moz-document domain("youtube.com") {
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) {
        overflow: visible !important;
    }
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-chrome-bottom {
        display: block !important;
        opacity: 1 !important;
        position: absolute !important;
        bottom: -4.4vh !important;
        width: 100% !important;
        z-index: 100 !important;
    }
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-gradient-bottom {
        display: none !important;
    }
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-caption-window-bottom {
        bottom: 5vh !important;
    }
    
    html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) #player-container {
        padding-bottom: 3.5vh !important;
    }
    
    @media (max-width: 600px) {
        html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-chrome-bottom {
            bottom: 0vh !important;
        }
        html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) .ytp-caption-window-bottom {
            bottom: 4vh !important;
        }
        html:not(.ftw-fullsize.on) .html5-video-player:not(.ytp-fullscreen) #player-container {
            padding-bottom: 4vh !important;
        }
    }
}