Skip to content

Instantly share code, notes, and snippets.

@nebadon2025
Created December 20, 2023 19:18
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 nebadon2025/18d7e0925da1210dbca4a85380e318cf to your computer and use it in GitHub Desktop.
Save nebadon2025/18d7e0925da1210dbca4a85380e318cf to your computer and use it in GitHub Desktop.
Ublock Filters 2023
facebook.com##[aria-posinset] [href="/reel/?s=ifu_see_more"]:upward([aria-posinset])
!facebook.com##[role=feed]>div [href="/reel/?s=ifu_see_more"]:upward([role=feed]>div)
!facebook.com##[role="feed"]>div:has-text(/^(Reels and short videos)/)
!facebook.com##div[role="tablist"]:has-text(Stories):has-text(Reels):has-text(Rooms):upward(4)
!facebook.com##div[role="tablist"]:upward(4)
!facebook.com##div:has-text(/^(Reels and short videos)/)
www.youtube.com##ytd-browse[page-subtype="subscriptions"] ytd-rich-item-renderer [overlay-style="SHORTS"]:upward(ytd-rich-item-renderer)
www.youtube.com##ytd-rich-item-renderer:has(ytd-thumbnail-overlay-time-status-renderer[overlay-style="SHORTS"])
! YouTube Fix & Customization v1.5
! (1-3/13) YouTube 4 Videos Per Row Fix (Home and Channel Pages)
youtube.com##ytd-rich-grid-row:style(display:contents !important;)
youtube.com###contents.ytd-rich-grid-row:style(display:contents !important;)
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-items-per-row: 5 !important;)
! (4-5/13) YouTube 4 Videos Per Row Fix (Channel Page margin fix)
youtube.com##ytd-rich-item-renderer[is-slim-grid]:first-of-type:style(margin-left: auto !important;)
youtube.com##ytd-rich-item-renderer[is-slim-grid]:last-of-type:style(margin-right: auto !important;)
! (6-8/13) YouTube 4 Videos Per Row Fix (Font Size fix)
youtube.com###video-title.ytd-rich-grid-media:style(font-size: 1.4rem !important; line-height: 2rem !important;)
youtube.com###metadata-line.ytd-video-meta-block:style(font-size: 1.2rem !important; line-height: 1.8rem !important;)
youtube.com###video-title.ytd-rich-grid-slim-media:style(font-size: 1.4rem !important; line-height: 2rem !important;)
! 2023-07-14 https://www.youtube.com
www.youtube.com##.ytd-rich-section-renderer.style-scope > .ytd-rich-shelf-renderer.style-scope
www.youtube.com##ytd-rich-section-renderer.ytd-rich-grid-renderer.style-scope:nth-of-type(2)
www.youtube.com##+js(nano-stb, resolve(1), *, 0.001)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment