Skip to content

Transparent Endcards for Youtube by mehehehehe82

Screenshot of Transparent Endcards for Youtube

Details

Authormehehehehe82

LicenseMIT

Categoryyoutube

Created

Updated

Code size440 B

Code checksumc2e96b6b

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

When you aren't hovering over youtube endcards, they will be semitransparent.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Transparent Endcards for Youtube
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    A new userstyle
@author         Me
@preprocessor less
@var range opacity "Opacity" 40
==/UserStyle== */

@-moz-document regexp("(https:\\/\\/)?(www\\.)?youtube\\.com\\/watch\\?v=[\\w-]+(\\&[(\\w\\d\\-)]+=[(\\w\\d)+]+)*") {
	.ytp-ce-element:not(:hover) {
		opacity: calc(@opacity / 100);
	}
}

Reviews

No reviews yet.