Skip to content

Instantly share code, notes, and snippets.

@sam33r
Last active January 17, 2022 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sam33r/5e7507cbab9e98f66b7ae3787b9ec95b to your computer and use it in GitHub Desktop.
Save sam33r/5e7507cbab9e98f66b7ae3787b9ec95b to your computer and use it in GitHub Desktop.
Remove YouTube subscriptions using stylebot
/* CSS tweaked from this project:
https://github.com/lawrencehook/remove-youtube-suggestions/blob/main/firefox/css/main.css */
html ytd-browse[page-subtype="home"],
html #secondary > div.circle,
html #related,
html .html5-endscreen,
html .ytp-ce-element.ytp-ce-element,
html a:not(#logo)[href="/"],
html a[href="/feed/trending"],
html a[href="/feed/explore"],
html #mouseover-overlay,
html a.ytp-next-button,
html #secondary > div.circle,
html #related,
html .html5-endscreen,
html .ytp-ce-element.ytp-ce-element,
html a:not(#logo)[href="/"],
html a[href="/feed/trending"],
html a[href="/feed/explore"],
html #mouseover-overlay,
html a.ytp-next-button,
html #chat,
html[foo=bar]
{
display: none !important;
}
/* Disable Youtube logo's link to the homepage */
html #logo[href="/"] {
pointer-events: none;
}
html #chat,
html[foo=bar]
{
display: none !important;
}
/* Disable Youtube logo's link to the homepage */
html #logo[href="/"] {
pointer-events: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment