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:

Redirector Firefox

Redirector Chrome

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.

  • @nutbutter@discuss.tchncs.de
    link
    fedilink
    English
    114
    edit-2
    10 months ago

    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.

    • chi-chan~
      link
      fedilink
      English
      25
      edit-2
      10 months ago

      The problem with all those addons is that you’re limited; you can use only what they already set for you.

      Redirector is more flexible.

      • Grey Cat
        link
        fedilink
        English
        1310 months ago

        It is, but it already has all the services that most would use with big QoL features compared to Redirector. Namely quickly adding and removing instances, and quickly enabling and disabling redireciton for specific services. And is a lot easier to use in general especially for people who don’t know regex.

        Plus Libredirect has a few features that redirector doesn’t, the ability to redirect to multiple different instances, and the ability to redirect embedded content such as any embedded youtube videos on any other website.
        But as you said, redirector is more flexible if you need it for something other than the ~20 services that LibRedirect handles.

        • ChaoticNeutralCzech
          link
          fedilink
          English
          110 months ago

          Redirector does embedded content, too. And stylesheets, scripts and anything (if you select it).

        • LinkOpensChest.wav
          link
          English
          110 months ago

          Libredirect user here (casual).

          All of this only makes sense if you’re redirecting to a frontend, right? Not an alternative platform? For instance, it would be nice to redirect all Goodreads links to Bookwyrm, but I’m not sure if this is possible. (Already got it set to redirect to Biblioreads, but just curious since Bookwyrm is what I actually use.)

      • DARbarian
        link
        fedilink
        310 months ago

        That’s not even true. I use my custom instance for Piped and Libreddit in LibRedirect on all my devices.

    • @Twashe@lemmy.ml
      link
      fedilink
      English
      310 months ago

      Yooo I had not heard of gothub I’ve been looking for something like this. I’m assuming it is possible to clone repositories?

    • handygaberOP
      link
      English
      210 months ago

      That sounds great! I’ll check it out