Refactor file generation for cleaner README view
This commit is contained in:
172
README.org
172
README.org
@@ -6,25 +6,23 @@ A collection of [[https://github.com/gorhill/uBlock][uBlock Origin]] filters to
|
||||
To use these filters, go to uBlock Origin > Dashboard > Filter lists, scroll down
|
||||
and expand the 'Import...' heading, and then paste the URL(s) for each list.
|
||||
|
||||
#+begin_src txt :noweb yes :tangle no
|
||||
<<filterlist>>
|
||||
#+end_src
|
||||
|
||||
|
||||
* Filter Lists
|
||||
** Global
|
||||
#+begin_src txt :noweb yes :tangle chase-global.txt
|
||||
! Title: Global Filters
|
||||
! Description: Filters allowed on all websites
|
||||
<<header>>
|
||||
|
||||
#+name: global
|
||||
#+begin_src txt
|
||||
! Hide sign in with Google
|
||||
||accounts.google.com/gsi/*$xhr,script,3p
|
||||
#+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>>
|
||||
|
||||
#+name: youtube-shorts
|
||||
#+begin_src txt
|
||||
! Hide playables on homepage
|
||||
www.youtube.com##.ytd-rich-section-renderer.style-scope
|
||||
|
||||
@@ -57,11 +55,8 @@ www.youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-rend
|
||||
#+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>>
|
||||
|
||||
#+name: youtube-search
|
||||
#+begin_src txt
|
||||
! Hide unrelated results from search
|
||||
www.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*$/))
|
||||
|
||||
@@ -79,11 +74,8 @@ youtube.com##ytd-search ytd-item-section-renderer>#contents>:is(:not(ytd-video-r
|
||||
#+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>>
|
||||
|
||||
#+name: youtube-content
|
||||
#+begin_src txt
|
||||
! Hide auto-dubbed videos on YouTube
|
||||
www.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"])
|
||||
|
||||
@@ -95,11 +87,8 @@ www.youtube.com##ytd-search ytd-video-renderer:has(#text.ytd-channel-name:is([ti
|
||||
#+end_src
|
||||
|
||||
** Discord
|
||||
#+begin_src txt :noweb yes :tangle chase-discord.txt
|
||||
! Title: Discord Filters
|
||||
! Description: Filters to clean up Discord UI
|
||||
<<header>>
|
||||
|
||||
#+name: discord
|
||||
#+begin_src txt
|
||||
! 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)
|
||||
@@ -129,21 +118,15 @@ discord.com##.footer__5be3e:has(> .container_a99829:only-child)
|
||||
#+end_src
|
||||
|
||||
** Gmail
|
||||
#+begin_src txt :noweb yes :tangle chase-gmail.txt
|
||||
! Title: Gmail Filters
|
||||
! Description: Filters for Gmail's webmail interface
|
||||
<<header>>
|
||||
|
||||
#+name: gmail
|
||||
#+begin_src txt
|
||||
! Upgrade Gmail
|
||||
mail.google.com##.CRPU9d
|
||||
#+end_src
|
||||
|
||||
** Amazon
|
||||
#+begin_src txt :noweb yes :tangle chase-amazon.txt
|
||||
! Title: Amazon Filters
|
||||
! Description: Filters for Amazon.com
|
||||
<<header>>
|
||||
|
||||
#+name: amazon
|
||||
#+begin_src txt
|
||||
! Amazon Prime Nags?
|
||||
amazon.com##.prime-updp-accept-cta.a-span-last
|
||||
amazon.com##.prime-updp-headline-primary
|
||||
@@ -153,33 +136,24 @@ amazon.com##.prime-legal-text-primary
|
||||
#+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>>
|
||||
|
||||
#+name: insight-central
|
||||
#+begin_src txt
|
||||
! IC Sidebar ads
|
||||
www.insightcentral.net##div.sidebar-block:nth-of-type(1)
|
||||
www.insightcentral.net##div.sidebar-block:nth-of-type(5)
|
||||
#+end_src
|
||||
|
||||
** Onshape
|
||||
#+begin_src txt :noweb yes :tangle chase-onshape.txt
|
||||
! Title: Onshape Filters
|
||||
! Description: Filters for Onshape
|
||||
<<header>>
|
||||
|
||||
#+name: onshape
|
||||
#+begin_src txt
|
||||
! Onshape tour
|
||||
cad.onshape.com##.zero-state-header.section-header
|
||||
cad.onshape.com##.zero-state-open.zero-state-panel
|
||||
#+end_src
|
||||
|
||||
** Discover
|
||||
#+begin_src txt :noweb yes :tangle chase-discover.txt
|
||||
! Title: Discover Filters
|
||||
! Description: Filters for Discover.com
|
||||
<<header>>
|
||||
|
||||
#+name: discover
|
||||
#+begin_src txt
|
||||
! Attempt to remove id protection nag from Discover
|
||||
card.discover.com###main-content-rwd > div.dmp-slide.show-placement
|
||||
#+end_src
|
||||
@@ -188,8 +162,10 @@ card.discover.com###main-content-rwd > div.dmp-slide.show-placement
|
||||
* Local Variables :noexport:
|
||||
Local Variables:
|
||||
org-confirm-babel-evaluate: nil
|
||||
org-export-with-toc: nil
|
||||
End:
|
||||
|
||||
** Header Generation
|
||||
#+name: lastmodified
|
||||
#+begin_src shell
|
||||
date -u --iso-8601='seconds'
|
||||
@@ -203,3 +179,99 @@ date -u --iso-8601='seconds'
|
||||
! Homepage: https://git.traphouse.cathoderaytube.net/chase/ublock-filters
|
||||
! License: https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/LICENSE
|
||||
#+end_src
|
||||
|
||||
#+name: filterlist
|
||||
#+begin_src txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-global.txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-youtube-shorts.txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-youtube-search.txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-youtube-content.txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-discord.txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-gmail.txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-amazon.txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-insight-central.txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-onshape.txt
|
||||
https://git.traphouse.cathoderaytube.net/chase/ublock-filters/src/branch/main/chase-discover.txt
|
||||
#+end_src
|
||||
|
||||
** File Generation
|
||||
*** 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>>
|
||||
<<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
|
||||
|
||||
*** Gmail
|
||||
#+begin_src txt :noweb yes :tangle chase-gmail.txt
|
||||
! Title: Gmail Filters
|
||||
! Description: Filters for Gmail's webmail interface
|
||||
<<header>>
|
||||
<<gmail>>
|
||||
#+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.com
|
||||
<<header>>
|
||||
<<discover>>
|
||||
#+end_src
|
||||
|
Reference in New Issue
Block a user