Skip to content

Instantly share code, notes, and snippets.

@sahilrajput03
Last active October 7, 2020 10:03
Show Gist options
  • Save sahilrajput03/34ac5b8e8054dba97b7cfdf3bb5020db to your computer and use it in GitHub Desktop.
Save sahilrajput03/34ac5b8e8054dba97b7cfdf3bb5020db to your computer and use it in GitHub Desktop.
To be used with chrome's extension - Stylish
/* `Set Applies` to `www.youtube.com` */
/* URLs on the domain www.youtube.com */
.ytp-chrome-bottom {
visibility: hidden;
}
/* above is for player controls hiding. */
.caption-window.ytp-caption-window-bottom{
margin-bottom: 0px
}
/* above is for removing bottom margins for captions. */
.iv-click-target{
visibility: hidden;
}
/* above is for hiding right-bottom channel picture. */
.ytp-gradient-bottom{
visibility: hidden;
}
/* above is for hiding dark shade when we hover over video or when video is paused. */
.ytp-bezel-text-hide{
visibility: hidden;
}
/* above is to hide play/pause animations that appear in middle of player */
.branding-context-container-inner{
visibility: hidden;
}
/* above is to hide subscribe button on the bottom right side of the player */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment