Skip to content

Commit

Permalink
use [aria-label] where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
mchangrh committed Apr 13, 2024
1 parent 909370f commit c250b99
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions filters/misc.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[uBlock Origin]
! Title: YouTube Neuter - misc
! Last modified: 2024/02/04
! Last modified: 2024/04/13
! Expires: 10 days
! Homepage: https://github.com/mchangrh/yt-neuter
! Licence: Unlicense
Expand Down Expand Up @@ -50,7 +50,7 @@ youtube.com##a.ytd-thumbnail:style(border-radius: 0px !important)

!! badges
! closed captioning badge
youtube.com##.badge:has(>:has-text(CC))
youtube.com####.badge[aria-label="CC"]

!!!! /video
!!! in-player
Expand Down
4 changes: 2 additions & 2 deletions filters/nolive.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[uBlock Origin]
! Title: YouTube Neuter - nolive
! Last modified: 2023/08/15
! Last modified: 2024/04/13
! Expires: 2 days
! Homepage: https://github.com/mchangrh/yt-neuter
! Licence: Unlicense
Expand Down Expand Up @@ -32,7 +32,7 @@ youtube.com###dismissible:has(#metadata-line>span:has-text(Streamed)):not(.ytd-s
youtube.com###dismissible>ytd-thumbnail:has(ytd-thumbnail-overlay-time-status-renderer[overlay-style="UPCOMING"]):not(.ytd-shelf-renderer):upward(1)
!! header
! live chips
youtube.com##ytm-chip-cloud-chip-renderer:has-text(Live)
youtube.com##ytm-chip-cloud-chip-renderer[ellipsis-truncate-styling="Live"]

!!!! /video
!! paused/ stopped overlay
Expand Down
4 changes: 2 additions & 2 deletions filters/noview.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[uBlock Origin]
! Title: YouTube Neuter - noview
! Last modified: 2024/04/12
! Last modified: 2024/04/13
! Expires: 10 days
! Homepage: https://github.com/mchangrh/yt-neuter
! Licence: Unlicense
Expand All @@ -10,4 +10,4 @@

!!!! video browsing
! remove forced low view count videos #62
youtube.com##ytd-compact-video-renderer:has(.secondary-metadata:has(>ytd-video-meta-block.byline-separated):has(.badge:has(>:has-text(New))))
youtube.com##ytd-compact-video-renderer:has(.secondary-metadata:has(>ytd-video-meta-block.byline-separated):has(.badge[aria-label="New"])
8 changes: 4 additions & 4 deletions yt-neuter.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[uBlock Origin]
! Title: YouTube Neuter
! Last modified: 2024/03/21
! Last modified: 2024/04/13
! Expires: 1 day
! Homepage: https://github.com/mchangrh/yt-neuter
! Licence: Unlicense
Expand Down Expand Up @@ -140,11 +140,11 @@ youtube.com##ytd-compact-playlist-renderer .ytd-channel-name:has-text(/^YouTube/

!! badges
! fundraiser
youtube.com##.badge:has(>:has-text(Fundraiser))
youtube.com##.badge[aria-label="Fundraiser"]
! new
youtube.com##.badge:has(>:has-text(New))
youtube.com##.badge[aria-label="New"]
! 4k
youtube.com##.badge:has(>:has-text(4K))
youtube.com##.badge[aria-label="4K"]
!! 3-dot dropdown (#38)
! download button
youtube.com##ytd-menu-service-item-download-renderer
Expand Down

0 comments on commit c250b99

Please sign in to comment.