Compare commits

..

17 Commits

Author SHA1 Message Date
c36277820c Update dev 2025-08-17 19:51:47 -04:00
791d73a484 Update dev 2025-08-17 19:46:24 -04:00
3d3215a453 Update dev 2025-08-17 19:44:31 -04:00
06ee5853d1 Update 2.6.0: Improve YouTube search results 2025-08-16 16:52:22 -04:00
7ff49a207c Update 2.5.0: Add eBay pop-up filters from Joey 2025-08-13 17:04:08 -04:00
603ec57e6d Update 2.4.0: Add filter for "AI Mode" pop-up on Google search 2025-08-05 13:56:43 -04:00
4136e5e391 Update 2.3.0: Add more YouTube shorts filters, use regex for auto-dub filter 2025-07-30 02:23:07 -04:00
2a2b812044 Update 2.2.0: Improve blocking of auto-dubbed videos on YouTube 2025-07-30 01:39:37 -04:00
745bbcd274 Update 2.1.1: Documentation, formatting 2025-07-30 00:55:12 -04:00
762a0c8af6 Update 2.1.0: Added more YouTube filters from Joey 2025-07-29 21:52:16 -04:00
8342872a9c Update 2.0.2: Fixed file generation formatting 2025-07-29 02:12:10 -04:00
e100fe9960 Update 2.0.1: Documentation upgrades, added clickable links to add filters 2025-07-29 02:03:58 -04:00
b81164f69f Merge pull request 'Update 2.0.0: Merge UI filters back together, separate content filters' (#1) from v2 into main
Reviewed-on: #1
2025-07-21 23:32:27 +00:00
6654cff267 Update 2.0.0: Merge UI filters back together, separate content filters 2025-07-21 19:27:55 -04:00
4ab72d1ce6 Update 1.3.2: Added Indeed filter for Google sign in box 2025-07-21 18:39:36 -04:00
c75907129b Update 1.3.1: fix header formatting 2025-07-02 12:03:34 -04:00
93cb7220e0 Update 1.3.0: add another Prime filter to Amazon list, refactor header generation 2025-07-02 11:57:23 -04:00
15 changed files with 325 additions and 369 deletions

1
.gitattributes vendored
View File

@@ -1 +0,0 @@
*.txt text linguist-language=adblock

View File

@@ -1,37 +1,37 @@
# -*- org-confirm-babel-evaluate: nil -*-
#+TITLE: ublock-filters
#+AUTHOR: chase
#+OPTIONS: toc:nil
A collection of [[https://github.com/gorhill/uBlock][uBlock Origin]] filters to deal with a variety of annoyances.
* Installation
To use these filters, go to uBlock Origin > Dashboard > Filter lists, scroll down
Click the ~subscribe~ link in the header.
For manual installation, go to uBlock Origin > Dashboard > Filter lists, scroll down
and expand the 'Import...' heading, then paste the URL for the desired list(s).
** All Filters
This URL can be used to add all filter lists, opinions and all. New lists are
added automatically.
** All Filters | *[[https://subscribe.adblockplus.org/?location=https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-all.txt&title=chase's%20uBlock%20Filter%20Collection][subscribe]]*
This URL can be used to add all filters, opinions and all. New lists are added
automatically.
#+begin_src txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-all.txt
#+end_src
** Individual Filters
Each filter list can be added individually using the following URLs.
** Individual Lists
*** UI Filters | *[[https://subscribe.adblockplus.org/?location=https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-ui.txt&title=chase's%20UI%20Filter%20Collection][subscribe]]*
All UI filters, no content filters.
#+begin_src txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-global.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-youtube-shorts.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-youtube-search.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-youtube-content.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-discord.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-google.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-amazon.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-insight-central.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-onshape.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-discover.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-menards.txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-ui.txt
#+end_src
*** Content Filters | *[[https://subscribe.adblockplus.org/?location=https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-content.txt&title=chase's%20Content%20Filters][subscribe]]*
Filters for YouTube content that I personally find distasteful.
#+begin_src txt
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/chase-content.txt
#+end_src
* Filter Lists
* Filters
** Global
These filters are enabled on all websites.
#+name: global
@@ -41,11 +41,19 @@ These filters are enabled on all websites.
#+end_src
** YouTube
Filters for YouTube, separated into multiple lists to allow easy customization.
*** Shorts
Removes shorts from as many places as possible, including shorts from subscriptions.
#+name: youtube-shorts
#+begin_src shell
Filters for YouTube, optional content filters.
*** UI
Removes shorts from as many places as possible, including search results and subscriptions.
Search results only show regular videos and channels.
#+name: youtube-ui
#+begin_src txt
! Set grid size to 5 always
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-items-per-row: 5 !important;)
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-posts-per-row: 5 !important;)
! Hide paid sponsor badge from thumbnail
youtube.com##.ytmPaidContentOverlayHost
! Hide playables on homepage
youtube.com##.ytd-rich-section-renderer.style-scope
@@ -60,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))
@@ -75,12 +84,10 @@ 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)
#+end_src
*** Search
De-cluttering YouTube search to actually show what you searched for.
#+name: youtube-search
#+begin_src shell
! 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*$/))
@@ -92,9 +99,8 @@ 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
! 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
@@ -105,6 +111,8 @@ 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$/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]))
@@ -151,9 +159,14 @@ Filters for Google services.
! Upgrade Gmail
mail.google.com##.CRPU9d
! Remove AI overview in Google search
! Hide AI overview in Google search
google.com##.GcKpu
google.com###Odp5De
! Hide "AI Mode" pop-up in Google search
google.com##.azeJrb
google.com##.xg7rAe.nP0TDe.ivkdbf.mcPPZ
google.com##.ivkdbf.KUf18.kJFf0c
#+end_src
** Amazon
@@ -166,6 +179,8 @@ amazon.com##.prime-updp-headline-primary
amazon.com##.prime-updp-mobile-renewal-text-offer
amazon.com##.prime-updp-mobile-table
amazon.com##.prime-legal-text-primary
! Prime box on product page
amazon.com##.abb-widget-box-border.a-box
#+end_src
** Insight Central
@@ -193,19 +208,37 @@ card.discover.com###main-content-rwd > div.dmp-slide.show-placement
** Menards
#+name: menards
#+begin_src shell
! Remove email banner from bottom of screen
#+begin_src txt
! Hide email banner from bottom of screen
menards.com##div#emailBanner.email-banner.floating.w-100
#+end_src
** Indeed
#+name: indeed
#+begin_src txt
! Hide sign in with Google
indeed.com##.icl-Card
#+end_src
** eBay
#+name: ebay
#+begin_src txt
! Hide pop-ups
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
* Contributing
Filter lists are tangled out of this document with org-babel. Please submit
Filter lists are tangled out of this document with org-babel. Please make all
changes to =README.org= rather than the individual filter list files.
* License
#+begin_src txt
#+begin_src txt :tangle LICENSE
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
@@ -220,162 +253,89 @@ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
#+end_src
* Local Variables :noexport:
Local Variables:
org-confirm-babel-evaluate: nil
End:
#+begin_src txt :tangle .gitattributes
*.txt text linguist-language=adblock
#+end_src
* Development :noexport:
*This section is not rendered when viewing on Gitea.*
** Adding Lists
1. Create a new entry under the [[Filter Lists][Filter Lists]] header with the name and contents of the list.
2. Create a new entry under the [[File Generation][File Generation]] header with a title and description.
3. Add the new list to the [[All Filter Lists][All Filter Lists]] entry.
4. Add the URL of the new list to [[Individual Filters][Individual Filters]].
5. Update the version number under [[Header Generation][Header Generation]].
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]].
** Header Generation
*** Version
#+name: version
#+begin_src txt
2.6.0
#+end_src
*** Last Modified
#+name: lastmodified
#+begin_src shell
date -u -I
#+begin_src emacs-lisp
(format-time-string "%F")
#+end_src
#+name: header
#+begin_src shell :noweb yes
! Version: 1.2.0
#+begin_src txt :noweb yes
! Version: <<version>>
! Last modified: <<lastmodified()>>
! Expires: 2 weeks (update frequency)
! Expires: 2 days (update frequency)
! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters
! License: https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/LICENSE
!!! This file is generated by README.org and should not be edited directly !!!
#+end_src
** File Generation
*** All Filter Lists
*** UI Filters
#+name: ui-filters
#+begin_src txt :noweb yes
<<global>>
<<youtube-ui>>
<<discord>>
<<google>>
<<amazon>>
<<insight-central>>
<<onshape>>
<<discover>>
<<menards>>
<<indeed>>
<<ebay>>
#+end_src
#+begin_src txt :noweb yes :tangle chase-ui.txt
! Title: chase's UI Filter Collection
! Description: All UI filters provided by chase's filter repo
<<header>>
<<ui-filters>>
#+end_src
*** Content Filters
#+begin_src txt :noweb yes :tangle chase-content.txt
! Title: chase's Content Filters
! Description: Block undesirable YouTube content
<<header>>
<<youtube-content>>
#+end_src
*** All Filters
#+begin_src txt :noweb yes :tangle chase-all.txt
! Title: All Filters
! Title: chase's uBlock Filter Collection
! Description: All filters provided by chase's filter repo
<<header>>
<<global>>
<<youtube-shorts>>
<<youtube-search>>
<<youtube-content>>
<<discord>>
<<google>>
<<amazon>>
<<insight-central>>
<<onshape>>
<<discover>>
<<menards>>
#+end_src
*** Global
#+begin_src txt :noweb yes :tangle chase-global.txt
! Title: Global Filters
! Description: Filters allowed on all websites
<<header>>
<<global>>
#+end_src
*** YouTube
**** Shorts
#+begin_src txt :noweb yes :tangle chase-youtube-shorts.txt
! Title: YouTube Shorts Filters
! Description: Filters to clean up Shorts and Playables on YouTube
<<header>>
<<youtube-shorts>>
#+end_src
**** Search
#+begin_src txt :noweb yes :tangle chase-youtube-search.txt
! Title: YouTube Search Filters
! Description: Filters to clean up Shorts and Playables on YouTube
<<header>>
<<youtube-search>>
#+end_src
**** Content
#+begin_src txt :noweb yes :tangle chase-youtube-content.txt
! Title: YouTube Content Filters
! Description: *Opinionated* filters to clean up unwanted content from YouTube
<<header>>
<<ui-filters>>
<<youtube-content>>
#+end_src
*** Discord
#+begin_src txt :noweb yes :tangle chase-discord.txt
! Title: Discord Filters
! Description: Filters to clean up Discord UI
<<header>>
<<discord>>
#+end_src
*** Google
#+begin_src txt :noweb yes :tangle chase-google.txt
! Title: Google Filters
! Description: Filters for Google search, Gmail, etc.
<<header>>
<<google>>
#+end_src
*** Amazon
#+begin_src txt :noweb yes :tangle chase-amazon.txt
! Title: Amazon Filters
! Description: Filters for Amazon.com
<<header>>
<<amazon>>
#+end_src
*** Insight Central
#+begin_src txt :noweb yes :tangle chase-insight-central.txt
! Title: Insight Central Filters
! Description: Filters for Insight Central forums
<<header>>
<<insight-central>>
#+end_src
*** Onshape
#+begin_src txt :noweb yes :tangle chase-onshape.txt
! Title: Onshape Filters
! Description: Filters for Onshape
<<header>>
<<onshape>>
#+end_src
*** Discover
#+begin_src txt :noweb yes :tangle chase-discover.txt
! Title: Discover Filters
! Description: Filters for Discover
<<header>>
<<discover>>
#+end_src
*** Menards
#+begin_src txt :noweb yes :tangle chase-menards.txt
! Title: Menards Filters
! Description: Filters for Menards
<<header>>
<<menards>>
#+end_src

View File

@@ -1,14 +1,23 @@
! Title: All Filters
! Title: chase's uBlock Filter Collection
! Description: All filters provided by chase's filter repo
! Version: 1.2.0
! Last modified: 2025-07-01
! Expires: 2 weeks (update frequency)
! Version: 2.6.0
! Last modified: 2025-08-17
! Expires: 2 days (update frequency)
! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters
! License: https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/LICENSE
!!! This file is generated by README.org and should not be edited directly !!!
! Hide sign in with Google
||accounts.google.com/gsi/*$xhr,script,3p
! Set grid size to 5 always
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-items-per-row: 5 !important;)
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-posts-per-row: 5 !important;)
! Hide paid sponsor badge from thumbnail
youtube.com##.ytmPaidContentOverlayHost
! Hide playables on homepage
youtube.com##.ytd-rich-section-renderer.style-scope
@@ -23,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))
@@ -39,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*$/))
@@ -50,18 +63,8 @@ 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
! 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 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"])
! 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]))
! YT Search - hide results based on channel names
youtube.com##ytd-search ytd-video-renderer:has(#text.ytd-channel-name:is([title="Exact channel name 1"], [title="Exact channel name 2"]))
! Hide top bar
discord.com##.visual-refresh:style(--custom-app-top-bar-height: 0px !important)
@@ -93,16 +96,23 @@ discord.com##.footer__5be3e:has(> .container_a99829:only-child)
! Upgrade Gmail
mail.google.com##.CRPU9d
! Remove AI overview in Google search
! Hide AI overview in Google search
google.com##.GcKpu
google.com###Odp5De
! Hide "AI Mode" pop-up in Google search
google.com##.azeJrb
google.com##.xg7rAe.nP0TDe.ivkdbf.mcPPZ
google.com##.ivkdbf.KUf18.kJFf0c
! Amazon Prime Nags?
amazon.com##.prime-updp-accept-cta.a-span-last
amazon.com##.prime-updp-headline-primary
amazon.com##.prime-updp-mobile-renewal-text-offer
amazon.com##.prime-updp-mobile-table
amazon.com##.prime-legal-text-primary
! Prime box on product page
amazon.com##.abb-widget-box-border.a-box
! IC Sidebar ads
insightcentral.net##div.sidebar-block:nth-of-type(1)
@@ -115,5 +125,24 @@ cad.onshape.com##.zero-state-open.zero-state-panel
! Attempt to remove id protection nag from Discover
card.discover.com###main-content-rwd > div.dmp-slide.show-placement
! Remove email banner from bottom of screen
! Hide email banner from bottom of screen
menards.com##div#emailBanner.email-banner.floating.w-100
! Hide sign in with Google
indeed.com##.icl-Card
! Hide pop-ups
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
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))))
! 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]))
! YT Search - hide results based on channel names
youtube.com##ytd-search ytd-video-renderer:has(#text.ytd-channel-name:is([title="Exact channel name 1"], [title="Exact channel name 2"]))

View File

@@ -1,14 +0,0 @@
! Title: Amazon Filters
! Description: Filters for Amazon.com
! Version: 1.2.0
! Last modified: 2025-07-01
! 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
! Amazon Prime Nags?
amazon.com##.prime-updp-accept-cta.a-span-last
amazon.com##.prime-updp-headline-primary
amazon.com##.prime-updp-mobile-renewal-text-offer
amazon.com##.prime-updp-mobile-table
amazon.com##.prime-legal-text-primary

View File

@@ -1,14 +1,18 @@
! Title: YouTube Content Filters
! Description: *Opinionated* filters to clean up unwanted content from YouTube
! Version: 1.2.0
! Last modified: 2025-07-01
! Expires: 2 weeks (update frequency)
! Title: chase's Content Filters
! Description: Block undesirable YouTube content
! Version: 2.6.0
! Last modified: 2025-08-17
! Expires: 2 days (update frequency)
! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters
! License: https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/LICENSE
!!! This file is generated by README.org and should not be edited directly !!!
! 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$/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,34 +0,0 @@
! Title: Discord Filters
! Description: Filters to clean up Discord UI
! Version: 1.2.0
! Last modified: 2025-07-01
! 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 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)
discord.com##.visual-refresh :is(.sidebarListRounded_c48ade, .container__01ae2, .callContainer_cb9592):style(border-top: 0 !important; border-radius: 0 !important)
discord.com##.visual-refresh .scroller_ef3116:style(padding-block: var(--space-md) !important)
! Move the inbox button
discord.com##.bar_c38106:style(z-index: 1000 !important; overflow: hidden !important)
discord.com##.visual-refresh :is(.toolbar__9293f, .searchBar__1ac1c):style(margin-right: calc(var(--space-32) + var(--space-xs)) !important)
discord.com##.visual-refresh .recentsIcon_c99c29:style(position: fixed !important; top: var(--space-8) !important; right: var(--space-xs) !important)
! Compact horizontal padding on server list
discord.com##.visual-refresh:style(--custom-guild-list-padding: min(var(--space-sm)) !important)
! Hide download app on server list
discord.com##.listItem__650eb:has([data-list-item-id="guildsnav___app-download-button"])
! Hide Nitro and Discord Shop tab
discord.com##.channel__972a0:has(a[href="/shop"], a[href="/store"])
! Hide gift button in chat message input
discord.com##.buttons__74017 .button__201d5[aria-label="Send a gift"]
! Hide message input on mini profile cards
discord.com##.container_a99829
discord.com##.footer__5be3e:has(> .container_a99829:only-child)

View File

@@ -1,10 +0,0 @@
! Title: Discover Filters
! Description: Filters for Discover
! Version: 1.2.0
! Last modified: 2025-07-01
! 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
! Attempt to remove id protection nag from Discover
card.discover.com###main-content-rwd > div.dmp-slide.show-placement

View File

@@ -1,10 +0,0 @@
! Title: Global Filters
! Description: Filters allowed on all websites
! Version: 1.2.0
! Last modified: 2025-07-01
! 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 sign in with Google
||accounts.google.com/gsi/*$xhr,script,3p

View File

@@ -1,14 +0,0 @@
! Title: Google Filters
! Description: Filters for Google search, Gmail, etc.
! Version: 1.2.0
! Last modified: 2025-07-01
! 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
! Upgrade Gmail
mail.google.com##.CRPU9d
! Remove AI overview in Google search
google.com##.GcKpu
google.com###Odp5De

View File

@@ -1,11 +0,0 @@
! Title: Insight Central Filters
! Description: Filters for Insight Central forums
! Version: 1.2.0
! Last modified: 2025-07-01
! 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
! IC Sidebar ads
insightcentral.net##div.sidebar-block:nth-of-type(1)
insightcentral.net##div.sidebar-block:nth-of-type(5)

View File

@@ -1,10 +0,0 @@
! Title: Menards Filters
! Description: Filters for Menards
! Version: 1.2.0
! Last modified: 2025-07-01
! 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
! Remove email banner from bottom of screen
menards.com##div#emailBanner.email-banner.floating.w-100

View File

@@ -1,11 +0,0 @@
! Title: Onshape Filters
! Description: Filters for Onshape
! Version: 1.2.0
! Last modified: 2025-07-01
! 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
! Onshape tour
cad.onshape.com##.zero-state-header.section-header
cad.onshape.com##.zero-state-open.zero-state-panel

137
chase-ui.txt Normal file
View File

@@ -0,0 +1,137 @@
! Title: chase's UI Filter Collection
! Description: All UI filters provided by chase's filter repo
! Version: 2.6.0
! Last modified: 2025-08-17
! Expires: 2 days (update frequency)
! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters
! License: https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/LICENSE
!!! This file is generated by README.org and should not be edited directly !!!
! Hide sign in with Google
||accounts.google.com/gsi/*$xhr,script,3p
! Set grid size to 5 always
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-items-per-row: 5 !important;)
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-posts-per-row: 5 !important;)
! Hide paid sponsor badge from thumbnail
youtube.com##.ytmPaidContentOverlayHost
! Hide playables on homepage
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))
! Hide all videos with the shorts indicator on the thumbnail
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
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
! Hide shorts tab on channel pages
! Old style
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
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*$/))
! 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
! 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)
discord.com##.visual-refresh :is(.sidebarListRounded_c48ade, .container__01ae2, .callContainer_cb9592):style(border-top: 0 !important; border-radius: 0 !important)
discord.com##.visual-refresh .scroller_ef3116:style(padding-block: var(--space-md) !important)
! Move the inbox button
discord.com##.bar_c38106:style(z-index: 1000 !important; overflow: hidden !important)
discord.com##.visual-refresh :is(.toolbar__9293f, .searchBar__1ac1c):style(margin-right: calc(var(--space-32) + var(--space-xs)) !important)
discord.com##.visual-refresh .recentsIcon_c99c29:style(position: fixed !important; top: var(--space-8) !important; right: var(--space-xs) !important)
! Compact horizontal padding on server list
discord.com##.visual-refresh:style(--custom-guild-list-padding: min(var(--space-sm)) !important)
! Hide download app on server list
discord.com##.listItem__650eb:has([data-list-item-id="guildsnav___app-download-button"])
! Hide Nitro and Discord Shop tab
discord.com##.channel__972a0:has(a[href="/shop"], a[href="/store"])
! Hide gift button in chat message input
discord.com##.buttons__74017 .button__201d5[aria-label="Send a gift"]
! Hide message input on mini profile cards
discord.com##.container_a99829
discord.com##.footer__5be3e:has(> .container_a99829:only-child)
! Upgrade Gmail
mail.google.com##.CRPU9d
! Hide AI overview in Google search
google.com##.GcKpu
google.com###Odp5De
! Hide "AI Mode" pop-up in Google search
google.com##.azeJrb
google.com##.xg7rAe.nP0TDe.ivkdbf.mcPPZ
google.com##.ivkdbf.KUf18.kJFf0c
! Amazon Prime Nags?
amazon.com##.prime-updp-accept-cta.a-span-last
amazon.com##.prime-updp-headline-primary
amazon.com##.prime-updp-mobile-renewal-text-offer
amazon.com##.prime-updp-mobile-table
amazon.com##.prime-legal-text-primary
! Prime box on product page
amazon.com##.abb-widget-box-border.a-box
! IC Sidebar ads
insightcentral.net##div.sidebar-block:nth-of-type(1)
insightcentral.net##div.sidebar-block:nth-of-type(5)
! Onshape tour
cad.onshape.com##.zero-state-header.section-header
cad.onshape.com##.zero-state-open.zero-state-panel
! Attempt to remove id protection nag from Discover
card.discover.com###main-content-rwd > div.dmp-slide.show-placement
! Hide email banner from bottom of screen
menards.com##div#emailBanner.email-banner.floating.w-100
! Hide sign in with Google
indeed.com##.icl-Card
! Hide pop-ups
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;)

View File

@@ -1,22 +0,0 @@
! Title: YouTube Search Filters
! Description: Filters to clean up Shorts and Playables on YouTube
! Version: 1.2.0
! Last modified: 2025-07-01
! 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 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*$/))
! 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)
! 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

View File

@@ -1,37 +0,0 @@
! Title: YouTube Shorts Filters
! Description: Filters to clean up Shorts and Playables on YouTube
! Version: 1.2.0
! Last modified: 2025-07-01
! 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
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))
! Hide all videos with the shorts indicator on the thumbnail
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
youtube.com##ytd-guide-entry-renderer:has(yt-formatted-string: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
! Hide shorts tab on channel pages
! Old style
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
youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-renderer:has-text(/^Shorts remixing this video$/i)