lawrencehook / remove-youtube-suggestions

A browser extension that removes YouTube suggestions, comments, shorts, and more
https://lawrencehook.com/rys/
Mozilla Public License 2.0
379 stars 33 forks source link

Feature Request: Hide "Live/Scheduled/Premieres" #59

Closed JasonJAyalaP closed 1 year ago

JasonJAyalaP commented 2 years ago

I hide, in my subscriptions page, the distracting Live / Schedule / Premiers thumbnails.

I've been doing this with ublock custom filters:

youtube.com##ytd-grid-video-renderer.ytd-grid-renderer.style-scope:has(#metadata-line:has-text(/(Scheduled|Premieres)/i))
youtube.com##ytd-grid-video-renderer.ytd-grid-renderer.style-scope:has(#video-badges:has-text(/Live/i))
youtube.com##ytd-grid-video-renderer.ytd-grid-renderer.style-scope:has(.ytd-badge-supported-renderer.style-scope.badge-style-type-live-now-alternate.badge)

EDIT: Updated code to handle changes in "Live". Those last two lines are two ways to handle "Live" thumbnails (not sure which will be more futureproof).

lawrencehook commented 2 years ago

Hi @JasonJAyalaP

Good idea! Thanks for making the issue. I'll see what I can do.

lawrencehook commented 1 year ago

@JasonJAyalaP Just implemented this for "Live". But having a harder time testing for scheduled and premieres. Do you happen to have any examples of channels with "Scheduled" and "Premieres" videos?

lawrencehook commented 1 year ago

@JasonJAyalaP Implemented as of 4.3.10. Thanks again for making the issue.

lawrencehook commented 1 year ago

image