Skip to content

Instantly share code, notes, and snippets.

@adriancuadrado
Last active June 23, 2021 09:36
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 adriancuadrado/dc6c66e7221f0cb8a81decd38201d118 to your computer and use it in GitHub Desktop.
Save adriancuadrado/dc6c66e7221f0cb8a81decd38201d118 to your computer and use it in GitHub Desktop.
CSS for less youtube distractions
/*
Download a plugin for your browser to load custom css, then use this to hide all youtube recomendations and avoid distractions.
For instance, you can download Stylebot: https://stylebot.dev/
*/
div.style-scope.ytd-rich-grid-renderer {
display: none;
}
div.style-scope.ytd-compact-video-renderer {
display: none;
}
div.style-scope.ytd-compact-radio-renderer {
display: none;
}
a.ytp-videowall-still.ytp-suggestion-set {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment