Update 2.3.0: Add more YouTube shorts filters, use regex for auto-dub filter

This commit is contained in:
2025-07-30 02:23:07 -04:00
parent 2a2b812044
commit 4136e5e391
4 changed files with 19 additions and 16 deletions

View File

@@ -68,6 +68,7 @@ youtube.com##ytd-item-section-renderer.ytd-section-list-renderer[page-subtype="s
! Hide shorts button in sidebar
youtube.com##ytd-guide-entry-renderer:has(yt-formatted-string:has-text(/^Shorts$/i))
youtube.com##.ytd-mini-guide-entry-renderer.style-scope.yt-simple-endpoint:has(span.title:has-text(/^Shorts$/i))
! Hide shorts section on homepage
youtube.com##ytd-rich-section-renderer:has(#title:has-text(/(^| )Shorts( |$)/i))
@@ -84,6 +85,9 @@ youtube.com##yt-tab-shape:has-text(/^Shorts$/)
! Hide short remixes in video descriptions
youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-renderer:has-text(/^Shorts remixing this video$/i)
! Hide shorts from search results
youtube.com##grid-shelf-view-model.ytGridShelfViewModelHostHasBottomButton.ytd-item-section-renderer.ytGridShelfViewModelHost
! Hide unrelated results from search
youtube.com##ytd-shelf-renderer:has(#title:has-text(/^\s*(People also watched|For you|Previously watched|Latest from|Channels new to you|From related searches)\s*$/))
@@ -95,9 +99,6 @@ youtube.com##ytd-radio-renderer
! Hide things that you didn't search for
youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer:has-text(People also search for)
! YT Search - keep only videos (no shorts) and channels
youtube.com##ytd-search ytd-item-section-renderer>#contents>:is(:not(ytd-video-renderer,ytd-channel-renderer,yt-showing-results-for-renderer,[icon-name="promo-full-height:EMPTY_SEARCH"]),ytd-video-renderer:has([aria-label="Shorts"])),ytd-secondary-search-container-renderer
#+end_src
*** Content
@@ -108,7 +109,7 @@ Filters to hide unwanted content.
! Hide auto-dubbed videos on YouTube
youtube.com##ytd-compact-video-renderer:has([d="M11.72 11.928A4.004 4.004 0 0015 7.998c0-2.21-1.79-4-4-4s-4 1.79-4 4c0 1.96 1.42 3.59 3.28 3.93-5.51.28-8.28 3.83-8.28 8.07L20 20c0-4.24-2.77-7.79-8.28-8.07Z"])
youtube.com##yt-lockup-view-model.lockup.ytd-item-section-renderer> .yt-lockup-view-model-wiz--compact.yt-lockup-view-model-wiz--horizontal.yt-lockup-view-model-wiz:has(yt-badge-view-model.yt-badge-view-model-wiz:has(badge-shape.badge-shape-wiz.badge-shape-wiz--default:has(div.badge-shape-wiz__text:has-text("Auto-dubbed"))))
youtube.com##yt-lockup-view-model.lockup.ytd-item-section-renderer> .yt-lockup-view-model-wiz--compact.yt-lockup-view-model-wiz--horizontal.yt-lockup-view-model-wiz:has(yt-badge-view-model.yt-badge-view-model-wiz:has(badge-shape.badge-shape-wiz.badge-shape-wiz--default:has(div.badge-shape-wiz__text:has-text(/^Auto-dubbed$/i))))
! YT Home - Hide videos based on channel names
youtube.com##ytd-browse[page-subtype="home"] ytd-rich-item-renderer:has(#avatar-link:is([title="ChannelName"], [title*="ContainsChannelName"], [title="Case Insensitive Channel Name"i]))
@@ -246,7 +247,7 @@ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
*** Version
#+name: version
#+begin_src txt
2.2.0
2.3.0
#+end_src
*** Last Modified

View File

@@ -1,6 +1,6 @@
! Title: chase's uBlock Filter Collection
! Description: All filters provided by chase's filter repo
! Version: 2.2.0
! Version: 2.3.0
! Last modified: 2025-07-30
! Expires: 2 days (update frequency)
! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters
@@ -32,6 +32,7 @@ youtube.com##ytd-item-section-renderer.ytd-section-list-renderer[page-subtype="s
! Hide shorts button in sidebar
youtube.com##ytd-guide-entry-renderer:has(yt-formatted-string:has-text(/^Shorts$/i))
youtube.com##.ytd-mini-guide-entry-renderer.style-scope.yt-simple-endpoint:has(span.title:has-text(/^Shorts$/i))
! Hide shorts section on homepage
youtube.com##ytd-rich-section-renderer:has(#title:has-text(/(^| )Shorts( |$)/i))
@@ -48,6 +49,9 @@ youtube.com##yt-tab-shape:has-text(/^Shorts$/)
! Hide short remixes in video descriptions
youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-renderer:has-text(/^Shorts remixing this video$/i)
! Hide shorts from search results
youtube.com##grid-shelf-view-model.ytGridShelfViewModelHostHasBottomButton.ytd-item-section-renderer.ytGridShelfViewModelHost
! Hide unrelated results from search
youtube.com##ytd-shelf-renderer:has(#title:has-text(/^\s*(People also watched|For you|Previously watched|Latest from|Channels new to you|From related searches)\s*$/))
@@ -60,9 +64,6 @@ youtube.com##ytd-radio-renderer
! Hide things that you didn't search for
youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer:has-text(People also search for)
! YT Search - keep only videos (no shorts) and channels
youtube.com##ytd-search ytd-item-section-renderer>#contents>:is(:not(ytd-video-renderer,ytd-channel-renderer,yt-showing-results-for-renderer,[icon-name="promo-full-height:EMPTY_SEARCH"]),ytd-video-renderer:has([aria-label="Shorts"])),ytd-secondary-search-container-renderer
! Hide top bar
discord.com##.visual-refresh:style(--custom-app-top-bar-height: 0px !important)
discord.com##.visual-refresh :is(.chat_f75fb0[data-has-border=true], .container__133bf, .container_a592e1):style(border-top: 0 !important)
@@ -126,7 +127,7 @@ indeed.com##.icl-Card
! Hide auto-dubbed videos on YouTube
youtube.com##ytd-compact-video-renderer:has([d="M11.72 11.928A4.004 4.004 0 0015 7.998c0-2.21-1.79-4-4-4s-4 1.79-4 4c0 1.96 1.42 3.59 3.28 3.93-5.51.28-8.28 3.83-8.28 8.07L20 20c0-4.24-2.77-7.79-8.28-8.07Z"])
youtube.com##yt-lockup-view-model.lockup.ytd-item-section-renderer> .yt-lockup-view-model-wiz--compact.yt-lockup-view-model-wiz--horizontal.yt-lockup-view-model-wiz:has(yt-badge-view-model.yt-badge-view-model-wiz:has(badge-shape.badge-shape-wiz.badge-shape-wiz--default:has(div.badge-shape-wiz__text:has-text("Auto-dubbed"))))
youtube.com##yt-lockup-view-model.lockup.ytd-item-section-renderer> .yt-lockup-view-model-wiz--compact.yt-lockup-view-model-wiz--horizontal.yt-lockup-view-model-wiz:has(yt-badge-view-model.yt-badge-view-model-wiz:has(badge-shape.badge-shape-wiz.badge-shape-wiz--default:has(div.badge-shape-wiz__text:has-text(/^Auto-dubbed$/i))))
! YT Home - Hide videos based on channel names
youtube.com##ytd-browse[page-subtype="home"] ytd-rich-item-renderer:has(#avatar-link:is([title="ChannelName"], [title*="ContainsChannelName"], [title="Case Insensitive Channel Name"i]))

View File

@@ -1,6 +1,6 @@
! Title: chase's Content Filters
! Description: Block undesirable YouTube content
! Version: 2.2.0
! Version: 2.3.0
! Last modified: 2025-07-30
! Expires: 2 days (update frequency)
! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters
@@ -11,7 +11,7 @@
! Hide auto-dubbed videos on YouTube
youtube.com##ytd-compact-video-renderer:has([d="M11.72 11.928A4.004 4.004 0 0015 7.998c0-2.21-1.79-4-4-4s-4 1.79-4 4c0 1.96 1.42 3.59 3.28 3.93-5.51.28-8.28 3.83-8.28 8.07L20 20c0-4.24-2.77-7.79-8.28-8.07Z"])
youtube.com##yt-lockup-view-model.lockup.ytd-item-section-renderer> .yt-lockup-view-model-wiz--compact.yt-lockup-view-model-wiz--horizontal.yt-lockup-view-model-wiz:has(yt-badge-view-model.yt-badge-view-model-wiz:has(badge-shape.badge-shape-wiz.badge-shape-wiz--default:has(div.badge-shape-wiz__text:has-text("Auto-dubbed"))))
youtube.com##yt-lockup-view-model.lockup.ytd-item-section-renderer> .yt-lockup-view-model-wiz--compact.yt-lockup-view-model-wiz--horizontal.yt-lockup-view-model-wiz:has(yt-badge-view-model.yt-badge-view-model-wiz:has(badge-shape.badge-shape-wiz.badge-shape-wiz--default:has(div.badge-shape-wiz__text:has-text(/^Auto-dubbed$/i))))
! YT Home - Hide videos based on channel names
youtube.com##ytd-browse[page-subtype="home"] ytd-rich-item-renderer:has(#avatar-link:is([title="ChannelName"], [title*="ContainsChannelName"], [title="Case Insensitive Channel Name"i]))

View File

@@ -1,6 +1,6 @@
! Title: chase's UI Filter Collection
! Description: All UI filters provided by chase's filter repo
! Version: 2.2.0
! Version: 2.3.0
! Last modified: 2025-07-30
! Expires: 2 days (update frequency)
! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters
@@ -32,6 +32,7 @@ youtube.com##ytd-item-section-renderer.ytd-section-list-renderer[page-subtype="s
! Hide shorts button in sidebar
youtube.com##ytd-guide-entry-renderer:has(yt-formatted-string:has-text(/^Shorts$/i))
youtube.com##.ytd-mini-guide-entry-renderer.style-scope.yt-simple-endpoint:has(span.title:has-text(/^Shorts$/i))
! Hide shorts section on homepage
youtube.com##ytd-rich-section-renderer:has(#title:has-text(/(^| )Shorts( |$)/i))
@@ -48,6 +49,9 @@ youtube.com##yt-tab-shape:has-text(/^Shorts$/)
! Hide short remixes in video descriptions
youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-renderer:has-text(/^Shorts remixing this video$/i)
! Hide shorts from search results
youtube.com##grid-shelf-view-model.ytGridShelfViewModelHostHasBottomButton.ytd-item-section-renderer.ytGridShelfViewModelHost
! Hide unrelated results from search
youtube.com##ytd-shelf-renderer:has(#title:has-text(/^\s*(People also watched|For you|Previously watched|Latest from|Channels new to you|From related searches)\s*$/))
@@ -60,9 +64,6 @@ youtube.com##ytd-radio-renderer
! Hide things that you didn't search for
youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer:has-text(People also search for)
! YT Search - keep only videos (no shorts) and channels
youtube.com##ytd-search ytd-item-section-renderer>#contents>:is(:not(ytd-video-renderer,ytd-channel-renderer,yt-showing-results-for-renderer,[icon-name="promo-full-height:EMPTY_SEARCH"]),ytd-video-renderer:has([aria-label="Shorts"])),ytd-secondary-search-container-renderer
! Hide top bar
discord.com##.visual-refresh:style(--custom-app-top-bar-height: 0px !important)
discord.com##.visual-refresh :is(.chat_f75fb0[data-has-border=true], .container__133bf, .container_a592e1):style(border-top: 0 !important)