forked from chase/ublock-filters
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
af619ef214 | |||
d66b77dd86 | |||
899087615e |
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.txt text linguist-language=adblock
|
27
README.org
27
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
|
||||
@@ -224,6 +224,9 @@ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
Local Variables:
|
||||
org-confirm-babel-evaluate: nil
|
||||
End:
|
||||
#+begin_src txt :tangle .gitattributes
|
||||
*.txt text linguist-language=adblock
|
||||
#+end_src
|
||||
|
||||
** Adding Lists
|
||||
1. Create a new entry under the [[Filter Lists][Filter Lists]] header with the name and contents of the list.
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user