EvHaus / youtube-hide-watched

Hides watched videos from your YouTube subscriptions page
MIT License
134 stars 15 forks source link

stopped working again #235

Closed ceeprus closed 1 month ago

ceeprus commented 1 month ago

doesnt hide watched videos anymore

only works on the sidebar when you watching videos

EvHaus commented 1 month ago

Still working well for me. Can you be more specific about what doesn't work? Which page are you on?

ceeprus commented 1 month ago

Subs page and homepage, it only works for video sidebars and inside playlists

netjeff commented 1 month ago

Still working fine for me on the subscriptions page at https://www.youtube.com/feed/subscriptions

ceeprus commented 1 month ago

Switched into a different youtube account and disabled seeing already watched vids fixed the homepage for me. But subscriptions page still doesnt hide any vids

Somehow still works on other of my accounts but not on my main..? logging back in didnt fix it for me tried to log in from another clean firefox instance, it still removes shorts but not vids on subscriptions still

ceeprus commented 1 month ago

is there anyone can replicate what i have here? i really dont know what else to do.

MagicfTail commented 1 month ago

I'm having the same issue as @ceeprus, with videos not being greyed out/hidden on the main page and subscribers page. Having very quickly looked into it, the issue appears to be that none of the following selectors are valid on line 275

watchedItem = (
    // Grid item
    item.closest('.ytd-grid-renderer') ||
    item.closest('.ytd-item-section-renderer') ||
    item.closest('.ytd-rich-grid-row') ||
    // List item
    item.closest('#grid-container')
);

My quick and dirty fix was adding the case item.closest('.ytd-rich-grid-renderer') as that appears to be the container related to the video "card" for my version of YouTube, but I have not throughly tested this fix. Let me know if there's anything I can provide that might help.

ceeprus commented 1 month ago

Yes! this fixes my problem

MagicfTail commented 1 month ago

I don't think the issue should be closed as the problem hasn't actually been solved. It would be nice if @EvHaus could have a look at it as well

xavivars commented 1 month ago

Same problem, and adding item.closest('.ytd-rich-grid-renderer') to the script also solved it. Thanks @MagicfTail !

fr05ty-mc commented 1 month ago

for me today it has stopped showing the controls on any youtube pages (chrome and edge, firefox it still appears) but it is still enabled as the individual channel pages are hiding watched shows, also instead of leaving a blank tile it has started compressing them up next to each other not sure if that's a side effect or intended behavior.

i haven't added the above fix in to the script yet as I'm not real sure where to ad it

ptc96 commented 1 month ago

for me today it has stopped showing the controls on any youtube pages (chrome and edge, firefox it still appears) but it is still enabled as the individual channel pages are hiding watched shows, also instead of leaving a blank tile it has started compressing them up next to each other not sure if that's a side effect or intended behavior.

I've had the same issue since yesterday, the controls are just not present, but the before selected function still applies (after i added the above fix), i tried re-installing everything and cleaning all data from the browser but it doesn't work. It did work however in incognito (chrome) but when i tried to log into my account (still in incognito) it disappears... Since i re-installed it, it is now set to normal and cannot change to hide or dimm.

EvHaus commented 1 month ago

Published v6.4 that should fix this.

fr05ty-mc commented 1 month ago

for me today it has stopped showing the controls on any youtube pages (chrome and edge, firefox it still appears) but it is still enabled as the individual channel pages are hiding watched shows, also instead of leaving a blank tile it has started compressing them up next to each other not sure if that's a side effect or intended behavior.

I've had the same issue since yesterday, the controls are just not present, but the before selected function still applies (after i added the above fix), i tried re-installing everything and cleaning all data from the browser but it doesn't work. It did work however in incognito (chrome) but when i tried to log into my account (still in incognito) it disappears... Since i re-installed it, it is now set to normal and cannot change to hide or dimm.

same here with the incognito tab (or a normal tab) as soon as i log on the controls vanish, log out and they come back.

other than that 6.4 is working with hiding the videos on the sub page again

ptc96 commented 1 month ago

same here with the incognito tab (or a normal tab) as soon as i log on the controls vanish, log out and they come back.

Updated to 6.4 cannot see the controls... I tried with another chrome profile and account and it works... This is beyond my comprehension at this poit 🙃 Could it be just us two? lol

EvHaus commented 1 month ago

It's very likely YouTube is gradually rolling out updates to their UI. Please give it a few more days. Once the changes are widely released, I'll fix it.

ptc96 commented 1 month ago

@EvHaus Thank you, I really hope I didn't bother you too much 🙏🏻 it's the best subscription hider extension there is!

fr05ty-mc commented 1 month ago

It's very likely YouTube is gradually rolling out updates to their UI. Please give it a few more days. Once the changes are widely released, I'll fix it.

Yep will do, I've tried chrome, edge and Firefox and FF is the only browser that shows the controls whilst logged in to my account, so I'll just use FF for now

Microsoft Edge Version 127.0.2651.86 (Official build) (64-bit)

Chrome Version 127.0.6533.89 (Official Build) (64-bit)

Firefox 128.0.3 (64-bit)

EvHaus commented 1 month ago

Missing buttons should be fixed in v6.5

ptc96 commented 1 month ago

It works! You're the best! 🙏🏻