Unfortunately, this is still broken, but I may be close to figuring out how to fix it. Since the previous version introduced so many bugs, I figured I'd partially revert the code. I also added a comment about why I think this is broken. I don't know what anchorTag.data.browseEndpoint.params value to use BEFORE visiting the channel home page. This didn't seem to matter before, but YouTube made a change in now it does.