Hides youtube's video suggestions at the end of the video, and on the right of the screen in cinema mode. Check the style's options for more tweaking.
Hiding youtube's video suggestions by CorbeauBlanc
Details
AuthorCorbeauBlanc
LicenseGNU GPLv3
Categoryyoutube
Created
Updated
Size834 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
[UPDTAE 10/04/2024]: Now works with the shitty new interface.
[UPDATE 01/08/2024]: Now in the style's options you can choose if you want to simply move the right side suggestions out of sight (the default value) or entierly remove them.
Source code
/* ==UserStyle==
@name Hiding video suggestions
@version 1.2.0
@namespace CorbeauBlanc
@var select us-right-side-display "Hide suggestions on the right" {
"by moving them out of sight*": "initial",
"by completely removing them": "none"
}
==/UserStyle== */
@-moz-document url-prefix("https://www.youtube.com/") {
ytd-watch-flexy[theater] #primary.ytd-watch-flexy {
max-width: unset !important;
}
ytd-watch-flexy[theater] #secondary.ytd-watch-flexy {
display: var(--us-right-side-display);
margin-top: var(--ytd-margin-35x);
}
ytd-watch-grid[cinematics-enabled] #below.ytd-watch-grid {
display: var(--us-right-side-display);
margin-top: calc(var(--ytd-margin-35x) * 2.2);
}
.html5-endscreen {
display: none;
}
}