this post was submitted on 18 Jun 2023
11 points (100.0% liked)

Lemmy Plugins and Userscripts

2528 readers
1 users here now

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:

Thanks!

founded 2 years ago
MODERATORS
 

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

top 8 comments
sorted by: hot top controversial new old
[–] siskourso@odin.lanofthedead.xyz 2 points 2 years ago

Sounds amazingly helpful, hope this is something possible.

[–] Fanghole@reddthat.com 2 points 2 years ago

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.

[–] mershed_perderders@sh.itjust.works 2 points 2 years ago (1 children)

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.

[–] Wander@yiffit.net 1 points 2 years ago (1 children)

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.

[–] Fanghole@reddthat.com 0 points 2 years ago* (last edited 2 years ago)

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.

[–] PrinceHabib72@vlemmy.net 1 points 2 years ago (2 children)

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

[–] Wander@yiffit.net 2 points 2 years ago

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.

[–] Wander@yiffit.net 1 points 2 years ago

Wait really? I need to check this out ASAP!

load more comments
view more: next ›