Skip to content

Commit

Permalink
Merge pull request #2676 from otutukingsley/remove-thumbnail-icon-the…
Browse files Browse the repository at this point in the history
…-front-page

Issue #2671 - Remove the thumbnail icon the front page
  • Loading branch information
ImprovedTube authored Nov 23, 2024
2 parents bdd5525 + b6e76dd commit 643d833
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,9 @@
"hideVideoTitleFullScreen": {
"message": "Hide video title in fullscreen"
},
"hideThumbnailIcon": {
"message": "Hide thumbnail icon"
},
"hideViewsCount": {
"message": "Hide views count"
},
Expand Down
5 changes: 5 additions & 0 deletions js&css/extension/www.youtube.com/general/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;}
Expand Down Expand Up @@ -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"],
Expand Down
5 changes: 5 additions & 0 deletions menu/skeleton-parts/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 643d833

Please sign in to comment.