Been using this one for over a decade. Works with Firefox’s bookmark keywords feature.
Make a new bookmark, set the link as follows:
https://lemmy.world/c/%s (or your own Lemmy instance)
And in the “Keyword” field, use “c” or “lemmy” or whatever.
Now, when you want to visit a specific Lemmy community on your home instance, you can simply type:
“c community_name” in the address bar, or “lemmy community_name” in Firefox and it will automatically open the community.
This is brilliant!
EDIT: You might prefer
%S
to%s
if you don’t want special characters to be escaped.%s
will turn the @ character into %40 in the URL, which means that if you write something likereddit@lemmy.ml
it will open lemmy.world/c/reddit%40lemmy.ml and it will give you a404: couldnt_find_community
. However,%S
works as it doesn’t do URL encoding.I didn’t know about
%S
. That’s cool.
That’s pretty slick. I didn’t know Firefox bookmarks had anything like that feature. Thanks for sharing!
It’s using the search keyword feature, where you can right-click on any search field and do this exact thing. Works with most search fields anywhere. I just used it to substitute parts of the URL.
deleted by creator
Now that’s a fantastic tip. Didn’t know firefox was capable of convience like that through bookmarks.
Chrome has something similar but you have to set it up as a custom search engine
That’s… a really great idea. Thanks for posting that.
Any chance this could work with brave
Brave is chromium, so yes, it works.
Just need the app and website to do this now. Vote for this issue
This is so cool. Thanks for the tip!
This works in Chrome as well, also this is a nice (firefox) addon to go along with it so you can select text and right click to use one of your keywords.
You can also combine it with bookmarklets for more advanced things like
javascript:void(location.href='http://www.google.com/search?&q=site:'+location.href.split(%22/%22)[2]+'+%s')
Which lets you search the current site using google.