Fixes the channel links for the "Up next" and recommended videos below it on youtube.
Bunlar bu scriptin güncellenmiş kod versiyonlarıdır. Bütün versiyonları göster.
Changed license to Unlicense on all scripts
Youtube - Fix channel links in sidebar recommendations: converted forEach to for...of
Tested Chrome and updated compatibility tags
Handled alternative video element classes that YT sometimes uses (e.g. if not signed in)
Some channels don't have a /@handle, so now handling /channel as well
- 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
Added better handling for accessing the right data source for getting the channel url (thanks to: 𝖢𝖸 𝖥𝗎𝗇𝗀)
hotfix to previous
Added compatibility tags
- 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
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.
blind (could not reproduce bug) potential fix for wrong positioning of click catcher for channel links
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.
right click now also opens the channel in a new tab