Skip to content

Commit

Permalink
Improve category filter
Browse files Browse the repository at this point in the history
- Make desktop filter more specific
- Add mobile filter
  • Loading branch information
gijsdev committed Feb 12, 2024
1 parent 6e2ed3e commit b9d930a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-renderer
youtube.com##ytd-rich-grid-row,#contents.ytd-rich-grid-row:style(display: contents !important)

! Hide shorts category on search pages
youtube.com##yt-chip-cloud-chip-renderer.yt-chip-cloud-renderer.style-scope:has-text(Shorts)
youtube.com##yt-chip-cloud-chip-renderer.ytd-feed-filter-chip-bar-renderer:has(yt-formatted-string:has-text(/^Shorts$/i))

!!! MOBILE !!!

Expand Down Expand Up @@ -67,3 +67,6 @@ m.youtube.com##ytm-reel-shelf-renderer.item:has(.reel-shelf-title-wrapper:has-te

! Hide shorts tab on channel pages
m.youtube.com##.single-column-browse-results-tabs>a:has-text(Shorts)

! Hide shorts category on search pages
m.youtube.com##ytm-chip-cloud-chip-renderer:has(.yt-core-attributed-string:has-text(/^Shorts$/i))

0 comments on commit b9d930a

Please sign in to comment.