This script transforms links from other instances to your home instance. So useful :)

As @MedicareForSome@lemmy.ml explained:

It makes it so that if you visit another instance using their URL, it will redirect you to your home version’s federated link.

E.g. if your home server is Lemmy.world, let’s say you find a link to Lemmy on another website but it’s a link to Lemmy.ml. If you click the link, you won’t be signed in.

So like:

https://lemmy.ml/c/memes would redirect to https://lemmy.world/c/memes@lemmy.ml

This way you can seamlessly use Lemmy.

It does the same for posts.

Edit: since it works from any site, I highly recommend you to add it to your Android browser so it will work with webapp clients here's how:

You can use violentMonkey on ff browser too, but you need to unlock Dev options, then do this

you are viewing a single comment's thread
view the rest of the comments
[–] 0 points 3 years ago (1 child)

How do we get this into lemour?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 3 years ago (1 child)

    I don't know what that is and I can't seem to find any relevant information doing a web search

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 3 years ago (1 child)

    Oh yeah sorry it's called Jebora

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 3 years ago (1 child)

    I see. I think there are already efforts towards that. This is mainly supposed to be for the browser and not my domain.

    And honestly, I don't really get why you'd need an app if the official web UI works perfectly well on a mobile browser :)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 3 years ago (1 child)
    • Better push notifications
    • smaller scope for browser storage permission
    • smoother (and more) animations
    • better multi account support

    I think there are even more reasons.

    This is mainly supposed to be for the browser and not my domain.

    What do you mean? I wanted it in an app, not domain spicific.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 3 years ago (1 child)

    You're in a thread about me answering questions for a browser extension, asking about a mobile app. I think it's more appropriate to ask: what do you mean? I have nothing to do with a mobile app.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 3 years ago (1 child)

    But its obviously a great functionality. We could think of setting it up as a proper library with good interfaces so you could just pull it into your code.

    In the end we are making open source software to improve the platform, so you could also submit your algorithm to the projects.

    I'm sorry I thought this thread is about asking questions and having a discussion about the feature and your code

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 3 years ago* (1 child)

    The native Jerboa app does not use any JavaScript. The code is not and can not be compatible. The "algorithm" I use is like 10 lines of code, I wrote the base of it in like 1 hour. Most of the rest of the code is solely about handling the weirdness of browsers and having it work in all kinds of different websites, all of which jerboa wouldn't care about.

    I could probably implement the feature in jerboa in 3-4 hours, depending on how easy it is to get into the Android app ecosystem. But I don't use jerboa and don't care much about it, so I won't, unless somebody wants to pay me which I don't think is happening.

    If you had made this comment from the start, I could have responded like I did now. As it were, I saw someone talking about some random app I didn't care about. I didn't have the context that was in your head, that you only now supplied in this comment.

  • source
  • parent
  • hideshow 2 child comments
  • Yes don't get me wrong, like its a cool feature, but I am very well aware that it's neither complex nor a lot of work, but it has to start somewhere. I was just trying to encourage pushing good features to the whole platform. But I got you, you internalized the idea behind FOSS, decentralized digital infrastructure structure owned by people not big corp, you want to be paid for your 10 line "algorithm".It's OK.

  • source
  • parent