Update 1.1.0: add "All Filters" list, improve formatting and documentation

This commit is contained in:
2025-06-30 14:54:58 -04:00
parent 199525565d
commit 747d030baa
12 changed files with 221 additions and 60 deletions

View File

@@ -1,37 +1,37 @@
! Title: YouTube Shorts Filters
! Description: Filters to clean up Shorts and Playables on YouTube
! Version: 1.0.0
! Version: 1.1.0
! Last modified: 2025-06-30
! Expires: 2 weeks (update frequency)
! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters
! License: https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/LICENSE
! Hide playables on homepage
www.youtube.com##.ytd-rich-section-renderer.style-scope
youtube.com##.ytd-rich-section-renderer.style-scope
! Hide shorts category on homepage and search pages
www.youtube.com##yt-chip-cloud-chip-renderer:has(yt-formatted-string:has-text(/^Shorts$/i))
youtube.com##yt-chip-cloud-chip-renderer:has(yt-formatted-string:has-text(/^Shorts$/i))
! Hide all videos with the shorts indicator on the thumbnail
www.youtube.com##ytd-grid-video-renderer:has([overlay-style="SHORTS"])
www.youtube.com##ytd-rich-item-renderer:has([overlay-style="SHORTS"])
www.youtube.com##ytd-video-renderer:has([overlay-style="SHORTS"])
www.youtube.com##ytd-item-section-renderer.ytd-section-list-renderer[page-subtype="subscriptions"]:has(ytd-video-renderer:has([overlay-style="SHORTS"]))
youtube.com##ytd-grid-video-renderer:has([overlay-style="SHORTS"])
youtube.com##ytd-rich-item-renderer:has([overlay-style="SHORTS"])
youtube.com##ytd-video-renderer:has([overlay-style="SHORTS"])
youtube.com##ytd-item-section-renderer.ytd-section-list-renderer[page-subtype="subscriptions"]:has(ytd-video-renderer:has([overlay-style="SHORTS"]))
! Hide shorts button in sidebar
www.youtube.com##ytd-guide-entry-renderer:has(yt-formatted-string:has-text(/^Shorts$/i))
youtube.com##ytd-guide-entry-renderer:has(yt-formatted-string:has-text(/^Shorts$/i))
! Hide shorts section on homepage
www.youtube.com##ytd-rich-section-renderer:has(#title:has-text(/(^| )Shorts( |$)/i))
youtube.com##ytd-rich-section-renderer:has(#title:has-text(/(^| )Shorts( |$)/i))
! Hide shorts in recommended videos
www.youtube.com##ytd-reel-shelf-renderer
youtube.com##ytd-reel-shelf-renderer
! Hide shorts tab on channel pages`
! Old style
www.youtube.com##tp-yt-paper-tab:has(.tp-yt-paper-tab:has-text(Shorts))
youtube.com##tp-yt-paper-tab:has(.tp-yt-paper-tab:has-text(Shorts))
! New style (2023-10)
www.youtube.com##yt-tab-shape:has-text(/^Shorts$/)
youtube.com##yt-tab-shape:has-text(/^Shorts$/)
! Hide short remixes in video descriptions
www.youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-renderer:has-text(/^Shorts remixing this video$/i)
youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-renderer:has-text(/^Shorts remixing this video$/i)