Adds buttons to hide watched and/or upcoming videos from the subscription page / channel videos tab.
< Feedback on YouTube - Toggle videos buttons
Or maybe instead of "auto" just to make it remember the button state.
I have tried pulling that several times but it woudl require hooking up events to hide the videos each time YT loads more and I had issues getting the events to trigger. Also, YT loads sections lazily so it might happen that the subscription section isn't loaded at startup and is loaded at a later time, which I don't know how to detect.
Most of the issues could be fixed with an interval, but this would slow down the page and performance is already an issue to me so I don't feel comfortable with that approach.
With that said, I haven't exactly given up. I just can't figure out how to implement that properly.
Buttons have been turned into toggles now and remember their last state.
I have been testing different approaches and measuring performance and, while I still am not fully satisfied with the result, this was the best I could come up with at the moment.
Nice script, but if you want to undo the changes you should reload the page. Also maybe it's possible to implement an "auto" button, so that you shouldn't tap on it each time loading the new page?