YouTube Rainbow Progress Bar [Updated]

YouTube Rainbow Progress Bar [Updated] by Nick2bad4u - 2024

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

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

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

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

你需要先安裝一款使用者腳本管理器擴展,比如 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) }
}
}