I made a userscript that uses the redgifs API to get direct links to their videos and embeds them above the links voyager normally displays. It’s kinda hacky and I have had basically no experience with JavaScript before, but it works and it looks good!

So I’m really happy about it and if you wanna check it out I uploaded it: https://pastebin.com/raw/uM0kHN0x

I still hope that Voyager gets the support natively though because it really is hacky and I can’t even use it on my phone, was a lot of fun to make though

  • TheFool@infosec.pubOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Thanks mate! To be honest I have even less experience with git, but wouldn‘t I need to fork the project and do the whole thing in typescript to make a PR?

    • AngryClosetMonkey@feddit.ch
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      It’s super easy. Having a goal like this is the perfect opportunity to learn how to use git, make PRs and what the difference between TypeScript and JavaScript is.

    • not_fond_of_reddit@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Eeeeh… Can I blame this on that my brain is in vacation mode?

      And yes, you need to fork the repo, but since typescript is a superset of JavaScript any JavaScript code should run in typescript… I hope that is the case anyway. Or the devs look it over and base a feature request on the code.