diff --git a/_locales/en/messages.json b/_locales/en/messages.json index a76a0b440..095a87606 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -689,6 +689,9 @@ "hideVideoTitleFullScreen": { "message": "Hide video title in fullscreen" }, + "hideThumbnailIcon": { + "message": "Hide thumbnail icon" + }, "hideViewsCount": { "message": "Hide views count" }, diff --git a/js&css/extension/www.youtube.com/general/general.css b/js&css/extension/www.youtube.com/general/general.css index 9399f4ac3..05be4bf74 100644 --- a/js&css/extension/www.youtube.com/general/general.css +++ b/js&css/extension/www.youtube.com/general/general.css @@ -12,6 +12,7 @@ # Mark watched videos # Hide aniamted thubmnails # Hide buttons on thumbnails +# Hide thumbnail icon # Hide dots on thumbnails --------------------------------------------------------------*/ html[it-cursorLighting=true] #below {opacity:.4; transition:3s;} @@ -71,6 +72,10 @@ html[it-hide-animated-thumbnails='true'] #preview>ytd-video-preview, html[it-hide-thumbnail-overlay='true'] #hover-overlays, html[it-hide-thumbnail-overlay='true'] #player-controls.ytd-video-preview, /*-------------------------------------------------------------- +# HIDE THUMBNAIL ICON +--------------------------------------------------------------*/ +html[it-hide-thumbnail-icon='true'] .yt-spec-avatar-shape.yt-spec-avatar-shape__button.yt-spec-avatar-shape__button--button-medium.yt-spec-avatar-shape__button--tappable, +/*-------------------------------------------------------------- # HIDE DOTS ON THUMBNAILS --------------------------------------------------------------*/ html[it-hide-thumbnail-dots='true'] button#button[aria-label="Action menu"], diff --git a/menu/skeleton-parts/general.js b/menu/skeleton-parts/general.js index fedec19bb..0622f9e65 100644 --- a/menu/skeleton-parts/general.js +++ b/menu/skeleton-parts/general.js @@ -196,6 +196,11 @@ extension.skeleton.main.layers.section.general = { text: 'hideThumbnailOverlay', tags: 'preview' }, + hide_thumbnail_icon: { + component: "switch", + text: "hideThumbnailIcon", + tags: "preview", + }, hide_thumbnail_dots: { component: 'switch', text: 'hideThumbnailDots',