您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hide buttons when the video is paused and show them again when hovered
当前为
- /* ==UserStyle==
- @name YouTube - Show Buttons On Hover When Paused
- @namespace https://github.com/pabli24
- @version 1.0.0
- @description Hide buttons when the video is paused and show them again when hovered
- @author Pabli
- @license MIT
- @homepageURL https://github.com/pabli24/YTPlayerHideButtonsWhenPaused
- @supportURL https://github.com/pabli24/YTPlayerHideButtonsWhenPaused/issues
- ==/UserStyle== */
- @-moz-document domain("youtube.com") {
- .paused-mode .ytp-gradient-top,
- .paused-mode .ytp-gradient-bottom,
- .paused-mode .ytp-chrome-top,
- .paused-mode .ytp-chrome-bottom,
- .paused-mode .branding-img-container,
- .paused-mode .ytp-pause-overlay {
- opacity: 0
- }
- .html5-video-player:hover .ytp-gradient-top,
- .html5-video-player:hover .ytp-gradient-bottom,
- .html5-video-player:hover .ytp-chrome-top,
- .html5-video-player:hover .ytp-chrome-bottom,
- .html5-video-player:hover .branding-img-container,
- .html5-video-player:hover .ytp-pause-overlay {
- opacity: 1
- }
- }