Point YouTube links to Invidious, Twitter to Nitter, Instagram to Bibliogram, Reddit to Teddit, Medium to Scribe
Sure. You'd just need to comment out the 4 lines responsible for the YT rewrites. You could also try to simply specify "youtu.be" (or "youtube.com") as "Invidious Instance" using the GUI (I never tried that, though).
Just Nitter
Is it possible to disable the youtube part of this code?