forked from chase/ublock-filters
Documentation updates
This commit is contained in:
49
README.org
49
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
|
||||
<<indeed>>
|
||||
|
||||
<<ebay>>
|
||||
|
||||
<<aliexpress>>
|
||||
#+end_src
|
||||
|
||||
#+begin_src txt :noweb yes :tangle chase-ui.txt
|
||||
|
Reference in New Issue
Block a user