Skip to content

Instantly share code, notes, and snippets.

@palaniraja
Last active July 14, 2024 01:55
Show Gist options
  • Save palaniraja/c55b7f88826e051146725cd8562b6675 to your computer and use it in GitHub Desktop.
Save palaniraja/c55b7f88826e051146725cd8562b6675 to your computer and use it in GitHub Desktop.
ublock origin - youtube cosmetics
# youtube cosmetics
www.youtube.com###logo-icon > .yt-icon.style-scope > .yt-spec-icon-shape > div
www.youtube.com###masthead-container:style(opacity:0.25)
www.youtube.com###top-row:style(opacity:0.25)
www.youtube.com##ytd-comments-header-renderer:style(opacity:0.25)
www.youtube.com###secondary:style(opacity:0.25)
www.youtube.com###description:style(opacity:0.25)
www.youtube.com###sections:style(opacity:0.25)
@palaniraja
Copy link
Author

palaniraja commented Jul 14, 2024

Recently learnt I could inverse to view just the container I want to focus with :others()

blog.logrocket.com###the-content-container:others()

Below may be abetter approach. So, I do not have to remember why site is looking weird when I'm looking for something else.

blog.logrocket.com##.lr-content:others():style(opacity: 0.15;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment