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

    • TheFoolOP
      link
      English
      1
      edit-2
      11 months ago

      Like I told not_fond_of_reddit, I don’t think I can just submit my userscript

  • @not_fond_of_reddit@lemm.ee
    link
    fedilink
    English
    711 months 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!

    • TheFoolOP
      link
      English
      311 months 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?

      • @not_fond_of_reddit@lemm.ee
        link
        fedilink
        English
        311 months 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.

      • @AngryClosetMonkey@feddit.ch
        link
        fedilink
        English
        111 months 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.