YouTube Music volume slider by pabli

YouTube Music volume slider screenshot
Install Get Stylus Write a review

Details

Authorpabli

LicenseMIT

Created

Updated

Categoryyoutube

Statistics

Learn how we calculate statistics in the FAQ.

Total views

Total installs

Weekly installs

Weekly updates

Description

Bigger and always visible volume slider with percentage view on music.youtube.com

☕ Support me on ko-fi

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           YouTube Music volume slider
@namespace      https://github.com/pabli24
@version        1.1.0
@description    Bigger and always visible volume slider on music.youtube.com
@author         Pabli
@homepageURL    https://userstyles.world/style/4891/youtube-music-volume-slider
@supportURL     https://userstyles.world/style/4891/youtube-music-volume-slider
@license        MIT
@preprocessor   stylus
@var            checkbox opac "Always visible" 1
@var            checkbox perc "Show %"         1
@var            number   wdth "Width (px)"     ['px', 200, 1, null, 1]
==/UserStyle== */

@-moz-document domain("music.youtube.com") {

if opac {
	.volume-slider.ytmusic-player-bar {
		opacity: 1;
	}
}
.volume-slider.ytmusic-player-bar, .expand-volume-slider.ytmusic-player-bar {
	width: wdth;
	if opac {pointer-events: auto;}
}
#right-controls {
	width: auto !important;
}
if perc {
	.volume-slider.ytmusic-player-bar::before {
		content: attr(aria-valuenow) "%";
		font-size: 12px;
		position: absolute;
		left: -18px;
		color: #aaa;
	}
}

}

Reviews

No reviews yet.