Youtube - Fix channel links in sidebar recommendations

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

These are versions of this script where the code was updated. Show all versions.

  • v0.7.3 2024-01-17

    Tested Chrome and updated compatibility tags

  • v0.7.2 2024-01-17

    Handled alternative video element classes that YT sometimes uses (e.g. if not signed in)

  • v0.7.1 2024-01-17

    Some channels don't have a /@handle, so now handling /channel as well

  • v0.7 2024-01-16

    - Rewrote a lot of the script to use mutation-summary instead of my previous hacky solution. There is no noticeable difference really, but it should theoretically be more efficient. Or if not at least I learned another helpful library I guess lol

  • v0.6.3 2024-01-16

    Added better handling for accessing the right data source for getting the channel url (thanks to: 𝖢𝖸 𝖥𝗎𝗇𝗀)

  • v0.6.2 2024-01-16

    hotfix to previous

  • v0.6.1 2024-01-16

    Added compatibility tags

  • v0.6 2024-01-16

    - removed ajax get. Now getting channel url straight from the video container on page via (thanks to: 𝖢𝖸 𝖥𝗎𝗇𝗀)
    - due to no longer having to fetch the channel url, we can now use a proper link with all the features of a normal link
    - added license: unlicense
    - added icon

  • v0.5.4 2023-11-30

    further fix for wrong positioning of click catcher for channel links. Now applying positioning instantly AND again after 1 second to hopefully fix rare instances of wrong positioning.

  • v0.5.3 2023-11-30

    blind (could not reproduce bug) potential fix for wrong positioning of click catcher for channel links

  • v0.5.2 2023-11-24

    Updated channel link searcher to match YT update. Fixes issue where the youtube generated "topic" (e.g. a game the video is about) link would be found from videos instead of the channel link.

  • v0.5.1 2022-11-22

    right click now also opens the channel in a new tab

  • v0.5 2021-01-29 new tab behaviour fixed. Shouldn't auto focus on the new tab anymore
  • v0.4.1 2019-10-10 Added some comments, removed some debugging code I forgot in and fixed a small bug
  • v0.4 2019-10-10 No longer opens the video as well as the channel when channel link pressed with MMB (and now working on Chrome) - "If it's stupid but it works, it's not stupid"
  • v0.3 2019-01-13 +Added loading cursor icon (progress) for AJAX
  • v0.2 2019-01-10 +Added option to set whether or not to open channels to the videos section or not (sidebar recomendated links specifically). +Added (partial) support for middle mouse (new tab)
  • v0.1 2019-01-09