Replace youtube redirect links

Replace youtube redirect links with direct links and extend links text to its full length

< Feedback on Replace youtube redirect links

سوئال / ئىنكاس

§
يوللانغان ۋاقتى: 2025-10-19
تەھرىرلەنگەن ۋاقتى: 2025-10-19

Is anyone else experiencing that with script enabled, redirected links become https://www.youtube.com/undefined?

§
يوللانغان ۋاقتى: 2025-10-19

Correction: redirected links temporarily become https://www.youtube.com/undefined, but then revert to original redirect URL e.g. https://www.youtube.com/redirect?event=video_description&redir_token=<whatever>

max44ئاپتور
§
يوللانغان ۋاقتى: 2025-10-19

Thanks for report. Youtube tried to avoid removing of redirect links. But no way for them :)

§
يوللانغان ۋاقتى: 2025-10-19

I should have mentioned that this problem is occurring in the Description box; haven't checked links in Comments. Also, talk about Youtube fighting the removal-- the state of the links keep going back&forth between 'undefined' and the redirect url, and then after a few seconds to the real link shows; but then the cycle starts again when I check the links after a few seconds. Weird but Interesting.

This is still happening even after your update.

Admittedly I have a few addons (Firefox) and ALOT of userscripts (using Tampermonkey v5.4.0), plus uBlock filters, so I don't know if these are interfering with your script, or just stubborn YT site changes.

max44ئاپتور
§
يوللانغان ۋاقتى: 2025-10-19

This is weird behavior. In my case the links resurrected only once, so the 2nd try fixed them finally. I tested the update in Firefox, Chrome and Opera, in my YT account and being logged off. Maybe another script tries to do the same as mine? What happens if you disable my script?

§
يوللانغان ۋاقتى: 2025-10-20

This is weird behavior. In my case the links resurrected only once, so the 2nd try fixed them finally. I tested the update in Firefox, Chrome and Opera, in my YT account and being logged off. Maybe another script tries to do the same as mine? What happens if you disable my script?

Normal behavior- YT has redirected links. No 'undefined' links.

Is there anything specific you can point us to for troubleshooting, like particular variables to search for in other scripts. Fyi none of my other install scripts specifically touch links; but maybe some conflict exist in them.

max44ئاپتور
§
يوللانغان ۋاقتى: 2025-10-20

Please give me a link to any video where you observed such behavior. If it turns to be good for me, I will elaborate some test version with logging to find out how to deal with this problem.

§
يوللانغان ۋاقتى: 2025-10-25

Try okURSg3gESY. I just tried that page with your script enabled: whaaat?! now none of the redirected links have been cleared. I even reloaded the page several times. But at least none are showing 'undefined'! Weird!

max44ئاپتور
§
يوللانغان ۋاقتى: 2025-10-25

okURSg3gESY works normally for me, no 'undefined'. As I understand, now the script works for you too?

§
يوللانغان ۋاقتى: 2025-10-26
تەھرىرلەنگەن ۋاقتى: 2025-10-26

okURSg3gESY works normally for me, no 'undefined'.

Good to know.

As I understand, now the script works for you too?

No, it still doesn't.

I'll do a full*er* range of testing because my local setup for youtube surely has a conflict somewhere, the behavior is just too suspiciously inconsistent.

May take some time.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.