Youtube - Fix channel links in sidebar recommendations

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

A continuación se muestran las versiones de este script en las que se actualizó el código. Ver todas las versiones.

  • v0.8.1 7/10/2024

    Changed license to Unlicense on all scripts

  • v0.8.1 8/9/2024

    Youtube - Fix channel links in sidebar recommendations: converted forEach to for...of

  • v0.8.0 8/9/2024 Imported from URL
  • v0.7.3 17/1/2024

    Tested Chrome and updated compatibility tags

  • v0.7.2 17/1/2024

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

  • v0.7.1 17/1/2024

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

  • v0.7 16/1/2024

    - 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 16/1/2024

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

  • v0.6.2 16/1/2024

    hotfix to previous

  • v0.6.1 16/1/2024

    Added compatibility tags

  • v0.6 16/1/2024

    - removed ajax get. Now getting channel url straight from the video container on page via polymerController.data (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 30/11/2023

    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 30/11/2023

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

  • v0.5.2 24/11/2023

    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 22/11/2022

    right click now also opens the channel in a new tab

  • v0.5 29/1/2021 new tab behaviour fixed. Shouldn't auto focus on the new tab anymore
  • v0.4.1 10/10/2019 Added some comments, removed some debugging code I forgot in and fixed a small bug
  • v0.4 10/10/2019 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 13/1/2019 +Added loading cursor icon (progress) for AJAX
  • v0.2 10/1/2019 +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 9/1/2019