Adding new communities is a bit of a pain due to having to copy and paste the links into the search page.

I was thinking it would be much easier if one could have a button on lemmyverse.net or browse.feddit.de next to the name of the community to open the community in your instance’s search page.

Example url:

!community@instance.domain would open up in:

https://user.instance/search/q/!community%40instance.domain/type/All/sort/TopAll/listing_type/All/community_id/0/creator_id/0/page/1

Where user.instance is a variable that every user can fill in themselves in the script or in some other way.

I hope this is possible. Thank you <3

4 points

So, I made something that you might be looking for. https://reddthat.com/post/69331 If you try to open up something in a local instance and it fails because it doesn’t find it, it should take you to the search like I think you’re wanting.

My first script for something like this and on tampermonkey though, so let me know if it’s not working or not what you’re looking for.

permalink
report
reply
3 points

Update: works like a charm. It also works incredibly well with lemmyverse.net when you’ve set you’re home instance on there.

Thank you so much <3

permalink
report
parent
reply
2 points

Yes! This is what I was looking for! Thank you so much. I’ll give it a try now!

permalink
report
parent
reply
3 points

Sounds amazingly helpful, hope this is something possible.

permalink
report
reply
3 points

If you haven’t yet, check the replies to this thread. Someone made a userscript just like I had requested.

permalink
report
parent
reply
2 points

I think that’s what this extension does: https://sh.itjust.works/post/92686.

At least, that’s essentially how it works for me. I set my home instance and then if I click on any community link it opens on my home instance.

permalink
report
reply
2 points

Not exactly. It does but search the community and won’t work is the community does not already exist on that instance.

I’m looking for a solution that can use the search option for communities that my instance does not already know.

permalink
report
parent
reply
0 points
*

So, I made something that you might be looking for that pairs with what mershed linked pretty well. https://reddthat.com/post/69331 If you try to open up something in a local instance and it fails because it doesn’t find it, it should take you to the search like I think you’re wanting.

My first script for something like this and on tampermonkey though, so let me know if it’s not working or not what you’re looking for.

permalink
report
parent
reply
1 point

Lemmyverse already lets you. The “Home” button allows you to set the URL of your home instance.

permalink
report
reply
2 points

Just checked and it’s unfortunately not the same. It opens up the community in your home instance which will give you a 404 if it isn’t already discovered.

I was referring to the search page in order to discover it.

permalink
report
parent
reply
1 point

Wait really? I need to check this out ASAP!

permalink
report
parent
reply

Lemmy Plugins and Userscripts

!plugins@sh.itjust.works

Create post

A general repository for user scripts and plugins used to enhance the Lemmy browsing experience.

Post (or cross-post) your favorite Lemmy enhancements here!

General posting suggestions:

  • Preface the submission with the type of enhancement - ex: [UserScript].
  • Include a screenshot of the enhancement in use (where possible)
  • Indicate the requirements for use (eg, greasemonkey, stylus, etc.)

Thanks!

Community stats

  • 3

    Monthly active users

  • 86

    Posts

  • 540

    Comments