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

Lemmy Plugins and Userscripts

2145 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 1 year 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:

[email protected] 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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year 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.

[–] [email protected] 2 points 1 year 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.

[–] [email protected] 0 points 1 year ago* (last edited 1 year 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.