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

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

    I suck more @ javascript but your code is pretty easy to understand. Please do a PR to the project, it’s beneficial for everyone.

    Great job mate!

    • TheFool@infosec.pubOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      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
        0
        arrow-down
        2
        ·
        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.