您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
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.
- /* ==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;
- }
- }