Skip to content

Commit

Permalink
add most other desktop-specific filters with www
Browse files Browse the repository at this point in the history
  • Loading branch information
mchangrh committed Jun 3, 2024
1 parent a447cf8 commit 418efb3
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 19 deletions.
21 changes: 11 additions & 10 deletions filters/misc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ m.youtube.com##ytm-badge-supported-renderer ytm-badge:has-text(CC)
! remove annotations module
||www.youtube.com/s/player/*/player_ias.vflset/*/annotations_module.js$script
! make all video info visible
youtube.com##.ytp-videowall-still-info-content:style(opacity: 1 !important)
www.youtube.com##.ytp-videowall-still-info-content:style(opacity: 1 !important)
!!! controls
!! settings
! make quality selector superscript red again
youtube.com##.ytp-menuitem sup.ytp-swatch-color-white:style(color: var(--yt-spec-static-brand-red, #f00) !important;)
www.youtube.com##.ytp-menuitem sup.ytp-swatch-color-white:style(color: var(--yt-spec-static-brand-red, #f00) !important;)
!!! comments
! remove emoji
youtube.com##img.emoji
www.youtube.com##img.emoji
!! comment creation
! remove emoji shortcuts for comments
||www.gstatic.com/youtube/img/emojis/emoji-*.json
Expand All @@ -76,7 +76,7 @@ youtube.com##img.emoji
!!! under-player
!! title
! remove highlights for tagged channels
youtube.com###title>h1 a.yt-simple-endpoint:style(color: var(--yt-spec-text-primary, #f1f1f1) !important;)
www.youtube.com###title>h1 a.yt-simple-endpoint:style(color: var(--yt-spec-text-primary, #f1f1f1) !important;)
!! owner/ channel
! subscribe
www.youtube.com###subscribe-button
Expand All @@ -93,7 +93,7 @@ www.youtube.com##+js(repc, .ytd-subscribe-button-renderer>button, yt-spec-button
!!! description box
!! creator description
! remove mention highlights
youtube.com##.yt-core-attributed-string__link--call-to-action-color[href^="/channel/"]:style(color: var(--yt-spec-text-primary, #f1f1f1) !important;)
www.youtube.com##.yt-core-attributed-string__link--call-to-action-color[href^="/channel/"]:style(color: var(--yt-spec-text-primary, #f1f1f1) !important;)
! remove hashtags in description
www.youtube.com##.ytd-text-inline-expander>a.yt-formatted-string[href^="/hashtag/"]
youtube.com##.yt-core-attributed-string--link-inherit-color>a.yt-core-attributed-string__link--call-to-action-color[href^="/hashtag/"]
Expand All @@ -103,8 +103,8 @@ youtube.com##.yt-core-attributed-string--link-inherit-color>a.yt-core-attributed
||youtube.com/redirect?event=product_shelf^$document
youtube.com##a.yt-simple-endpoint.yt-formatted-string[href^="https://www.youtube.com/redirect?event=product_shelf"]
! remove description video link highlights
youtube.com##.yt-core-attributed-string--highlight-text-decorator:style(color: var(--yt-spec-text-primary, #f1f1f1) !important; background-color: transparent !important;)
youtube.com##.yt-core-attributed-string--highlight-text-decorator>a>span>img
www.youtube.com##.yt-core-attributed-string--highlight-text-decorator:style(color: var(--yt-spec-text-primary, #f1f1f1) !important; background-color: transparent !important;)
www.youtube.com##.yt-core-attributed-string--highlight-text-decorator>a>span>img
! remove external link highlights (comments, descriptions)
youtube.com##a[target=_blank]:not([has-link-only_]):style(color: var(--yt-spec-text-primary, #f1f1f1) !important;)

Expand All @@ -121,14 +121,15 @@ youtube.com###offer-module
!!!! /channel page
!! channel header / homepage
! hide large avatar
youtube.com###channel-header-container>yt-img-shadow#avatar
www.youtube.com###channel-header-container>yt-img-shadow#avatar
m.youtube.com##yt-image-banner-view-model.yt-image-banner-view-model-wiz
! remove tagline
youtube.com###channel-tagline
www.outube.com###channel-tagline
!! shelves
! remove featured video
www.youtube.com##ytd-channel-featured-content-renderer
m.youtube.com##ytm-channel-featured-video-renderer

!!!! /results - search
! key moments/chapters
youtube.com###expandable-metadata
www.youtube.com###expandable-metadata
4 changes: 2 additions & 2 deletions filters/nolive.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ www.youtube.com##.ytd-guide-entry-renderer>tp-yt-paper-item>yt-icon.guide-entry-
!!!! /channel page
!! tabs
! live tab
youtube.com##tp-yt-paper-tab:has(> .tab-content:has-text(Live))
www.youtube.com##tp-yt-paper-tab:has(> .tab-content:has-text(Live))
www.youtube.com##yt-tab-shape[tab-title="Live"]

!!!! video browsing
Expand All @@ -39,4 +39,4 @@ m.youtube.com##ytm-chip-cloud-chip-renderer[ellipsis-truncate-styling="Live"]
!!!! /video
!! paused/ stopped overlay
! video endscreen
youtube.com##.ytp-videowall-still[data-is-live=true]
www.youtube.com##.ytp-videowall-still[data-is-live=true]
2 changes: 1 addition & 1 deletion filters/nomusic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ www.youtube.com##ytd-mini-guide-entry-renderer:has-text(Music)
m.youtube.com##ytm-chip-cloud-chip-renderer:has-text(Music)
!! badges
! videos by verified artists
youtube.com###dismissible:has(.badge-style-type-verified-artist):not(.ytd-shelf-renderer):upward(1)
www.youtube.com###dismissible:has(.badge-style-type-verified-artist):not(.ytd-shelf-renderer):upward(1)
2 changes: 1 addition & 1 deletion filters/noshorts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ www.youtube.com###dismissible:has(a#video-title>yt-formatted-string:has-text(#sh
!!!! /video
!! paused/ stopped overlay
! video endscreen
youtube.com##.ytp-videowall-still:has(ytd-thumbnail-overlay-time-status-renderer[overlay-style=SHORTS])
www.youtube.com##.ytp-videowall-still:has(ytd-thumbnail-overlay-time-status-renderer[overlay-style=SHORTS])
2 changes: 1 addition & 1 deletion filters/premium.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ www.youtube.com#@#ytd-menu-service-item-download-renderer
!!! controls
!! settings
! enhanced bitrate selector
youtube.com#@#.ytp-quality-menu .ytp-menuitem:has(.ytp-premium-label)
www.youtube.com#@#.ytp-quality-menu .ytp-menuitem:has(.ytp-premium-label)

!!! under-player
!! action row
Expand Down
2 changes: 1 addition & 1 deletion filters/requests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ youtube.com##button.yt-spec-button-shape-next--tonal:style(background-color: tra
! remove button text labels
www.youtube.com##ytd-menu-renderer > .ytd-menu-renderer > ytd-button-renderer > yt-button-shape > button:has(>.yt-spec-button-shape-next__icon) > .yt-spec-button-shape-next--button-text-content
! center buttons without text
youtube.com##yt-button-shape > button> .yt-spec-button-shape-next__icon:style(margin: 0 !important)
www.youtube.com##yt-button-shape > button> .yt-spec-button-shape-next__icon:style(margin: 0 !important)

6 changes: 3 additions & 3 deletions filters/sponsorblock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ www.youtube.com##.ytd-single-option-survey-renderer
! "feedback shared" / "experiencing interruptions" toasts
youtube.com##tp-yt-paper-toast#toast
! "change your subtitle settings" popup
youtube.com##.ytp-promotooltip-wrapper
www.youtube.com##.ytp-promotooltip-wrapper
! popup z-index fix
youtube.com##tp-yt-iron-overlay-backdrop.opened
!! payment nags
! premium enhanced bitrate nag (#49)
www.youtube.com##ytd-popup-container:has(>tp-yt-paper-dialog>ytd-offline-promo-renderer)
! become a member of this channel
youtube.com##tp-yt-paper-dialog:has(yt-mealbar-promo-renderer)
youtube.com##yt-bubble-hint-renderer > .yt-bubble-hint-renderer:has(.yt-formatted-string:has-text(Memebership))
www.youtube.com##tp-yt-paper-dialog:has(yt-mealbar-promo-renderer)
www.youtube.com##yt-bubble-hint-renderer > .yt-bubble-hint-renderer:has(.yt-formatted-string:has-text(Memebership))

!!!! homepage
!! youtube
Expand Down

0 comments on commit 418efb3

Please sign in to comment.