YouTube - Hide Controls Until Hover

Automatically hides the top and bottom bar when paused. Makes it easier to read text on the top/bottom that is normally hidden by the controls.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

/* ==UserStyle==
@name          YouTube - Hide Controls Until Hover
@namespace     q1k
@version       1.0.0
@description   Automatically hides the top and bottom bar when paused. Makes it easier to read text on the top/bottom that is normally hidden by the controls.
@type          less
==/UserStyle== */

@-moz-document domain("youtube.com") {
.html5-video-player.paused-mode .ytp-chrome-top, 
.html5-video-player.paused-mode .ytp-gradient-top, 
.html5-video-player.paused-mode .ytp-chrome-bottom, 
.html5-video-player.paused-mode .ytp-gradient-bottom {
  visibility: hidden;
}
.html5-video-player.paused-mode:hover .ytp-chrome-top, 
.html5-video-player.paused-mode:hover .ytp-gradient-top, 
.html5-video-player.paused-mode:hover .ytp-chrome-bottom, 
.html5-video-player.paused-mode:hover .ytp-gradient-bottom {
  visibility: visible;
}

}