From 899087615e0689bce78a0148d77fabed6d588eac Mon Sep 17 00:00:00 2001 From: chase Date: Tue, 1 Jul 2025 12:44:18 -0400 Subject: [PATCH] Test source block rendering as `shell` rather than `txt` --- README.org | 24 ++++++++++++------------ chase-all.txt | 2 +- chase-youtube-shorts.txt | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.org b/README.org index 84a2ee5..511c22f 100644 --- a/README.org +++ b/README.org @@ -35,7 +35,7 @@ https://git.traphouse.cathoderaytube.net/chase/ublock-filters/raw/branch/main/ch ** Global These filters are enabled on all websites. #+name: global -#+begin_src txt +#+begin_src shell ! Hide sign in with Google ||accounts.google.com/gsi/*$xhr,script,3p #+end_src @@ -45,7 +45,7 @@ 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 txt +#+begin_src shell ! Hide playables on homepage youtube.com##.ytd-rich-section-renderer.style-scope @@ -67,7 +67,7 @@ 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` +! 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) @@ -80,7 +80,7 @@ youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-renderer *** Search De-cluttering YouTube search to actually show what you searched for. #+name: youtube-search -#+begin_src txt +#+begin_src shell ! 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*$/)) @@ -101,7 +101,7 @@ youtube.com##ytd-search ytd-item-section-renderer>#contents>:is(:not(ytd-video-r Filters to hide unwanted content. *Warning: contains opinions* #+name: youtube-content -#+begin_src txt +#+begin_src shell ! 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"]) @@ -115,7 +115,7 @@ youtube.com##ytd-search ytd-video-renderer:has(#text.ytd-channel-name:is([title= ** Discord UI improvements for in-browser Discord. #+name: discord -#+begin_src txt +#+begin_src shell ! 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) @@ -147,7 +147,7 @@ discord.com##.footer__5be3e:has(> .container_a99829:only-child) ** Google Filters for Google services. #+name: google -#+begin_src txt +#+begin_src shell ! Upgrade Gmail mail.google.com##.CRPU9d @@ -159,7 +159,7 @@ google.com###Odp5De ** Amazon Clean up Prime annoyances. #+name: amazon -#+begin_src txt +#+begin_src shell ! Amazon Prime Nags? amazon.com##.prime-updp-accept-cta.a-span-last amazon.com##.prime-updp-headline-primary @@ -170,7 +170,7 @@ amazon.com##.prime-legal-text-primary ** Insight Central #+name: insight-central -#+begin_src txt +#+begin_src shell ! IC Sidebar ads insightcentral.net##div.sidebar-block:nth-of-type(1) insightcentral.net##div.sidebar-block:nth-of-type(5) @@ -178,7 +178,7 @@ insightcentral.net##div.sidebar-block:nth-of-type(5) ** Onshape #+name: onshape -#+begin_src txt +#+begin_src shell ! Onshape tour cad.onshape.com##.zero-state-header.section-header cad.onshape.com##.zero-state-open.zero-state-panel @@ -186,14 +186,14 @@ cad.onshape.com##.zero-state-open.zero-state-panel ** Discover #+name: discover -#+begin_src txt +#+begin_src shell ! Attempt to remove id protection nag from Discover card.discover.com###main-content-rwd > div.dmp-slide.show-placement #+end_src ** Menards #+name: menards -#+begin_src txt +#+begin_src shell ! Remove email banner from bottom of screen menards.com##div#emailBanner.email-banner.floating.w-100 #+end_src diff --git a/chase-all.txt b/chase-all.txt index 0d6c412..1fa723b 100644 --- a/chase-all.txt +++ b/chase-all.txt @@ -30,7 +30,7 @@ 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` +! 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) diff --git a/chase-youtube-shorts.txt b/chase-youtube-shorts.txt index e86f32a..700e467 100644 --- a/chase-youtube-shorts.txt +++ b/chase-youtube-shorts.txt @@ -27,7 +27,7 @@ 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` +! 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)