Youtube - Fix channel links in sidebar recommendations

Fixes the channel links for the "Up next" and recommendated videos below it on youtube.

As of 2019-10-10. See the latest version.

Author
1N07
Ratings
0 0 0
Version
0.4
Created
2019-01-09
Updated
2019-10-10
License
N/A
Applies to

Youtube - Fix channel links in sidebar recommendations

Fixes the channel links for the "Up next" and recommendated videos below it on youtube.



For whatever reason, youtube decided that you should no longer be able to click on a channel's name in the recommended videos (the sidebar on video pages) to go to that channel.
This script fixes that.


To achieve this I had to use AJAX, so when you click a channel name it might take a second before the page starts to load. This is because the script has to fetch the link to the channel from that video's page.
Though in my experience it's almost instant.

The channel will open to the /videos section by default. This can now be changed. Just find the option in the Tampermonkey menu and click it.


Now also fully supports middle mouse for opening channel in a new tab.

For anyone mad enough to look at my code, please remember the saying: "If it's stupid but it works, it's not stupid" :DD

For Update notes, see history tab