mirror of
https://github.com/lawrencehook/remove-youtube-suggestions.git
synced 2026-07-25 06:54:31 +00:00
Add an option to shrink thumbnails
This commit is contained in:
@@ -166,6 +166,15 @@ html[global_enable="true"][blur_video_thumbnails="true"] .video-thumbnail-img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Shrink thumbnails */
|
||||||
|
html[global_enable="true"][shrink_video_thumbnails="true"] ytd-thumbnail,
|
||||||
|
html[global_enable="true"][shrink_video_thumbnails="true"] ytd-playlist-thumbnail,
|
||||||
|
html[global_enable="true"][shrink_video_thumbnails="true"] ytd-channel-renderer #avatar-section,
|
||||||
|
html[global_enable="true"][shrink_video_thumbnails="true"] ytd-movie-renderer .thumbnail-container {
|
||||||
|
max-width: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Subs page */
|
/* Subs page */
|
||||||
html[global_enable="true"] ytd-rich-grid-row[empty="false"],
|
html[global_enable="true"] ytd-rich-grid-row[empty="false"],
|
||||||
html[global_enable="true"] ytd-rich-grid-row[empty="false"] #contents {
|
html[global_enable="true"] ytd-rich-grid-row[empty="false"] #contents {
|
||||||
|
|||||||
@@ -27,6 +27,12 @@ const SECTIONS = [
|
|||||||
id: "blur_video_thumbnails",
|
id: "blur_video_thumbnails",
|
||||||
defaultValue: false,
|
defaultValue: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Shrink video thumbnails",
|
||||||
|
tags: "Homepage, Subscriptions, Video Player, Search",
|
||||||
|
id: "shrink_video_thumbnails",
|
||||||
|
defaultValue: false,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Disable play on hover",
|
name: "Disable play on hover",
|
||||||
id: "disable_play_on_hover",
|
id: "disable_play_on_hover",
|
||||||
@@ -688,6 +694,7 @@ const idToShortId = {
|
|||||||
"grayscale_mode": '81',
|
"grayscale_mode": '81',
|
||||||
"lock_code": '82',
|
"lock_code": '82',
|
||||||
"remove_clip_button": '83',
|
"remove_clip_button": '83',
|
||||||
|
"shrink_video_thumbnails": '84',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user