I'm currently in the process of switching from YouTube to Piped and was getting fed up with rewriting YouTube links myself. I finally found an extension that can do this with a relatively easy setup:
Thought maybe more people might find this interesting. My setup is in the pic.
Edit: @nutbutter@discuss.tchncs.de Just suggested using LibRedirect which is even better than Redirector. Also since Redirector isn't really maintained anymore.
There is an extension called LibRedirect that does this. It's customisable, as in, we can set if we want to redirect to piped or invidious, and which specific instances to use. Not only just YouTube but other services like GitHub to Gothub, Twitter to Nitter, reddit to libreddit etc. The default settings are already great.
Edit - added the link.
Yooo I had not heard of gothub I've been looking for something like this. I'm assuming it is possible to clone repositories?
That sounds great! I'll check it out
It works with embedded content too. And if you're on android, check out UntrackMe app on f-droid.