YouTube Rainbow Progress Bar [Updated]

YouTube Rainbow Progress Bar [Updated] by Nick2bad4u - 2024

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name         YouTube Rainbow Progress Bar [Updated]
@namespace    https://github.com/Nick2bad4u/UserStyles
@author       nick2bad4u
@description  YouTube Rainbow Progress Bar [Updated] by Nick2bad4u - 2024
@homepageURL  https://github.com/Nick2bad4u/UserStyles
@version      1.1.0
@license      UnLicense
@preprocessor uso
==/UserStyle== */
@-moz-document domain("youtube.com") {
.html5-progress-bar, .ytp-progress-bar {
	background: linear-gradient(90deg, rgba(248,13,27,1) 0%, rgba(255,160,0,1) 20%, rgba(255,227,2,1) 40%, rgba(0,250,34,1) 60%, rgba(0,169,238,1) 80%, rgba(159,0,255,1) 100%) !important;
	height: 12px !important;
	border: none !important;
}

.html5-progress-bar-container, .ytp-progress-bar-container {
	height: 12px !important;
}

.html5-progress-bar, .ytp-progress-bar {
	margin-top: 12px !important;
}

.html5-progress-list, .ytp-progress-list, .video-ads .html5-progress-list.html5-ad-progress-list, .video-ads .ytp-progress-list.ytp-ad-progress-list {
	height: 12px !important;
}

.ytp-scrubber-button {
	background-color: rgba(159,0,255,1) !important;
	border: 1px solid black !important;
	height:32px !important;
	width: 8px !important;
	margin-top: -6px !important;
	margin-left: 0px !important;
}

.ytp-heat-map-svg {
	margin-top: 3px !important;
}

.ytp-heat-map-container {
	height: 50px !important;
}

.ytp-heat-map-graph {
	fill-opacity: 0.5 !important;
	-webkit-animation: mymove 5s linear infinite;
    -moz-animation: mymove 5s linear infinite;
    animation: mymove 5s linear infinite;
}

@keyframes mymove {
	0% { fill: rgba(248,13,27,1) }
	10% { fill: rgba(255,160,0,1) }
	20% { fill: rgba(255,227,2,1) }
	30% { fill: rgba(0,250,34,1) }
	40% { fill: rgba(0,169,238,1) }
	50% { fill: rgba(159,0,255,1) }
	60% { fill: rgba(0,169,238,1) }
	70% { fill: rgba(0,250,34,1) }
	80% { fill: rgba(255,227,2,1) }
	90% { fill: rgba(255,160,0,1) }
	100% { fill: rgba(248,13,27,1) }
}
}