Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #2671 - Remove the thumbnail icon the front page #2676

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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