From 8403b187f67eadf4593139ade40f7d8790313301 Mon Sep 17 00:00:00 2001 From: chase Date: Mon, 18 Aug 2025 02:01:39 -0400 Subject: [PATCH] Documentation updates --- README.org | 49 +++++++++++++++++++++++++++++------------------ chase-all.txt | 30 ++++++++++++++--------------- chase-content.txt | 4 ++-- chase-ui.txt | 28 +++++++++++++-------------- 4 files changed, 61 insertions(+), 50 deletions(-) diff --git a/README.org b/README.org index 2ffa1e3..7da5b3b 100644 --- a/README.org +++ b/README.org @@ -3,6 +3,9 @@ #+AUTHOR: chase #+OPTIONS: toc:nil A collection of [[https://github.com/gorhill/uBlock][uBlock Origin]] filters to deal with a variety of annoyances. +Sourced from many places around the web and a few of my own manual element +blocking. This repo exists to make it easier for me to sync my extra filters +between PCs and share them with others. * Installation Click the ~subscribe~ link in the header. @@ -59,6 +62,11 @@ youtube.com##.ytd-rich-section-renderer.style-scope ! Hide shorts category on homepage and search pages youtube.com##yt-chip-cloud-chip-renderer:has(yt-formatted-string:has-text(/^Shorts$/i)) +youtube.com##ytd-rich-section-renderer:has(#title:has-text(/(^| )Shorts( |$)/i)) + +! 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 all videos with the shorts indicator on the thumbnail youtube.com##ytd-grid-video-renderer:has([overlay-style="SHORTS"]) @@ -66,13 +74,6 @@ 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 -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)) - ! Hide shorts in recommended videos youtube.com##ytd-reel-shelf-renderer @@ -82,7 +83,7 @@ youtube.com##tp-yt-paper-tab:has(.tp-yt-paper-tab:has-text(Shorts)) ! New style (2023-10) youtube.com##yt-tab-shape:has-text(/^Shorts$/) -! Hide short remixes in video descriptions +! Hide shorts 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 @@ -90,17 +91,14 @@ youtube.com##grid-shelf-view-model.ytGridShelfViewModelHostHasBottomButton.ytd-i ! 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*$/)) +youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer:has-text(People also search for) +youtube.com##ytd-shelf-renderer.ytd-item-section-renderer.style-scope ! Hide list of recent uploads from a channel from search youtube.com##ytd-shelf-renderer.style-scope:has-text(/Latest from/) ! Hide Mix results from search 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) -youtube.com##ytd-shelf-renderer.ytd-item-section-renderer.style-scope - #+end_src *** Content @@ -108,7 +106,7 @@ Filters to hide unwanted content. *Warning: contains opinions* #+name: youtube-content #+begin_src txt -! Hide auto-dubbed videos on YouTube +! Hide auto-dubbed videos 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$/i)))) @@ -229,7 +227,14 @@ ebay.com##[aria-modal]:has(.coupon-header) ebay.com##body:style(position: static !important;overflow: auto !important;width: auto !important;height: auto !important;margin-top:auto !important;) #+end_src -** AliExpress +** AliExpress US +#+name: aliexpress +#+begin_src txt +! Hide annoying GIF on home page +aliexpress.us##.drogue-poplayer-modal +! Hide social buttons on search results page +aliexpress.us##.go_gq +#+end_src * Contributing @@ -257,15 +262,19 @@ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION *This section is not rendered when viewing on Gitea.* ** Adding Lists -1. Create a new entry under the [[Filters][Filters]] header with the name and contents of the list. -2. Add the new list to the [[UI Filters][UI Filters]] entry. -3. Update the version number under [[Header Generation][Header Generation]]. +1. Update the version number under [[Header Generation][Header Generation]]. +2. Create a new entry under the [[Filters][Filters]] header with the name and contents of the list. +3. Add the new list to the [[UI Filters][UI Filters]] entry. ** Header Generation *** Version +Here's how the version bumps work: +- *Major version*: breaking change +- *Minor version*: any change to the filters +- *Patch version*: documentation/other changes #+name: version #+begin_src txt -2.6.0 +2.7.1 #+end_src *** Last Modified @@ -310,6 +319,8 @@ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION <> <> + +<> #+end_src #+begin_src txt :noweb yes :tangle chase-ui.txt diff --git a/chase-all.txt b/chase-all.txt index 7c2c531..eb86a31 100644 --- a/chase-all.txt +++ b/chase-all.txt @@ -1,6 +1,6 @@ ! Title: chase's uBlock Filter Collection ! Description: All filters provided by chase's filter repo -! Version: 2.6.0 +! Version: 2.7.1 ! Last modified: 2025-08-17 ! Expires: 2 days (update frequency) ! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters @@ -23,6 +23,11 @@ youtube.com##.ytd-rich-section-renderer.style-scope ! Hide shorts category on homepage and search pages youtube.com##yt-chip-cloud-chip-renderer:has(yt-formatted-string:has-text(/^Shorts$/i)) +youtube.com##ytd-rich-section-renderer:has(#title:has-text(/(^| )Shorts( |$)/i)) + +! 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 all videos with the shorts indicator on the thumbnail youtube.com##ytd-grid-video-renderer:has([overlay-style="SHORTS"]) @@ -30,13 +35,6 @@ 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 -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)) - ! Hide shorts in recommended videos youtube.com##ytd-reel-shelf-renderer @@ -46,7 +44,7 @@ youtube.com##tp-yt-paper-tab:has(.tp-yt-paper-tab:has-text(Shorts)) ! New style (2023-10) youtube.com##yt-tab-shape:has-text(/^Shorts$/) -! Hide short remixes in video descriptions +! Hide shorts 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 @@ -54,6 +52,8 @@ youtube.com##grid-shelf-view-model.ytGridShelfViewModelHostHasBottomButton.ytd-i ! 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*$/)) +youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer:has-text(People also search for) +youtube.com##ytd-shelf-renderer.ytd-item-section-renderer.style-scope ! Hide list of recent uploads from a channel from search youtube.com##ytd-shelf-renderer.style-scope:has-text(/Latest from/) @@ -61,11 +61,6 @@ youtube.com##ytd-shelf-renderer.style-scope:has-text(/Latest from/) ! Hide Mix results from search 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) -youtube.com##ytd-shelf-renderer.ytd-item-section-renderer.style-scope - - ! 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) @@ -136,7 +131,12 @@ ebay.com##[aria-modal]:has(.coupon-header) ebay.com##body:style(position: static !important;overflow: auto !important;width: auto !important;height: auto !important;margin-top:auto !important;) -! Hide auto-dubbed videos on YouTube +! Hide annoying GIF on home page +aliexpress.us##.drogue-poplayer-modal +! Hide social buttons on search results page +aliexpress.us##.go_gq + +! Hide auto-dubbed videos 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$/i)))) diff --git a/chase-content.txt b/chase-content.txt index 409bf89..ec3ab27 100644 --- a/chase-content.txt +++ b/chase-content.txt @@ -1,6 +1,6 @@ ! Title: chase's Content Filters ! Description: Block undesirable YouTube content -! Version: 2.6.0 +! Version: 2.7.1 ! Last modified: 2025-08-17 ! Expires: 2 days (update frequency) ! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters @@ -8,7 +8,7 @@ !!! This file is generated by README.org and should not be edited directly !!! -! Hide auto-dubbed videos on YouTube +! Hide auto-dubbed videos 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$/i)))) diff --git a/chase-ui.txt b/chase-ui.txt index d4a9d14..1d0d6b8 100644 --- a/chase-ui.txt +++ b/chase-ui.txt @@ -1,6 +1,6 @@ ! Title: chase's UI Filter Collection ! Description: All UI filters provided by chase's filter repo -! Version: 2.6.0 +! Version: 2.7.1 ! Last modified: 2025-08-17 ! Expires: 2 days (update frequency) ! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters @@ -23,6 +23,11 @@ youtube.com##.ytd-rich-section-renderer.style-scope ! Hide shorts category on homepage and search pages youtube.com##yt-chip-cloud-chip-renderer:has(yt-formatted-string:has-text(/^Shorts$/i)) +youtube.com##ytd-rich-section-renderer:has(#title:has-text(/(^| )Shorts( |$)/i)) + +! 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 all videos with the shorts indicator on the thumbnail youtube.com##ytd-grid-video-renderer:has([overlay-style="SHORTS"]) @@ -30,13 +35,6 @@ 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 -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)) - ! Hide shorts in recommended videos youtube.com##ytd-reel-shelf-renderer @@ -46,7 +44,7 @@ youtube.com##tp-yt-paper-tab:has(.tp-yt-paper-tab:has-text(Shorts)) ! New style (2023-10) youtube.com##yt-tab-shape:has-text(/^Shorts$/) -! Hide short remixes in video descriptions +! Hide shorts 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 @@ -54,6 +52,8 @@ youtube.com##grid-shelf-view-model.ytGridShelfViewModelHostHasBottomButton.ytd-i ! 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*$/)) +youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer:has-text(People also search for) +youtube.com##ytd-shelf-renderer.ytd-item-section-renderer.style-scope ! Hide list of recent uploads from a channel from search youtube.com##ytd-shelf-renderer.style-scope:has-text(/Latest from/) @@ -61,11 +61,6 @@ youtube.com##ytd-shelf-renderer.style-scope:has-text(/Latest from/) ! Hide Mix results from search 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) -youtube.com##ytd-shelf-renderer.ytd-item-section-renderer.style-scope - - ! 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) @@ -135,3 +130,8 @@ indeed.com##.icl-Card ebay.com##[aria-modal]:has(.coupon-header) ebay.com##body:style(position: static !important;overflow: auto !important;width: auto !important;height: auto !important;margin-top:auto !important;) + +! Hide annoying GIF on home page +aliexpress.us##.drogue-poplayer-modal +! Hide social buttons on search results page +aliexpress.us##.go_gq