Last active
September 18, 2023 12:36
-
-
Save sinsinpub/f0c7045a1c24ca11404a63c9c15a3718 to your computer and use it in GitHub Desktop.
Better youtube.co.jp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix("https://www.youtube.com") { | |
/* Hide annoying elements */ | |
/* Share buttons? */ | |
#top-level-buttons-computed > ytd-button-renderer, | |
/* Clip buttons? */ | |
#flexible-item-buttons > ytd-button-renderer, | |
/* For $ buttons? */ | |
#sponsor-button.ytd-video-owner-renderer:not(:empty), | |
#purchase-button.ytd-video-owner-renderer:not(:empty), | |
#analytics-button.ytd-video-owner-renderer:not(:empty), | |
/* Super Thanks button */ | |
button[aria-label="Thanks"], | |
/* Shorts in recommended contents */ | |
#contents > ytd-reel-shelf-renderer, | |
/* Shorts tab in guide items */ | |
ytd-mini-guide-renderer > #items > ytd-mini-guide-entry-renderer[aria-label="ショート"], | |
.ytp-ce-element { | |
display: none; | |
} | |
/* Shorts in subscriptions */ | |
ytd-two-column-browse-results-renderer[page-subtype="subscriptions"] #contents > ytd-rich-section-renderer:nth-child(4) { | |
display: none; | |
max-height: 200px; | |
margin-bottom: 50px; | |
overflow: hidden; | |
} | |
/* Smaller subscriptions header line */ | |
ytd-two-column-browse-results-renderer[page-subtype="subscriptions"] #contents > ytd-rich-section-renderer:first-child #dismissible > div.grid-subheader { | |
margin-top: 5px; | |
} | |
ytd-two-column-browse-results-renderer[page-subtype="subscriptions"] #contents > ytd-rich-section-renderer:first-child #dismissible > #contents { | |
margin-top: 10px; | |
} | |
/* Why player has to be rounded border style? */ | |
ytd-watch-flexy[rounded-player-large][default-layout] #ytd-player.ytd-watch-flexy { | |
border-radius: unset; | |
} | |
/* Hide player controls */ | |
/* | |
.ytp-gradient-bottom, | |
.ytp-chrome-bottom, | |
.ytp-gradient-top, | |
.ytp-chrome-top { | |
display: none; | |
} | |
*/ | |
} | |
@-moz-document url-prefix("https://www.youtube.com/live_chat") { | |
/* Japanese font for live chat */ | |
html { | |
font-family: Roboto, "Meiryo UI", Arial, sans-serif !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment