this post was submitted on 23 Jun 2023
18 points (95.0% liked)

Firefox

16764 readers
99 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

Hi everyone,

So I have created a "sublemmy" add-on for lemmy.ml that lets you quickly jump to a community from the address bar in FireFox. Just type 'c firefox', for example, and it will go there and sort the community by new. Useful if you have a few communities you want to check regularly and quickly from any new browser window.

The one caveat is that this tool only works for the website lemmy.ml because that is the site hardwired into the search string, alas. Not sure if there is a way around that (that would maybe take 2 arguments instead of one?) but that's where it's at for now.

Link is included if anyone wants to use it!

you are viewing a single comment's thread
view the rest of the comments
[–] ewe 10 points 1 year ago* (last edited 1 year ago) (1 children)

You can do this for any instance without an extension with a custom search engine (on chrome) or bookmark keyword (on firefox)

Firefox:

  1. Create bookmark and add a keyword of "c" and replace the sublemmy name with "%s" in the url.

  1. In url bar, type "c", then space, then the sublemmy name and enter -> goes to sublemmy

Chrome:

  1. Go to settings and find the search engines, select "Add"

  1. Define like this and replace the sublemmy name with "%s" in the url.

  1. From the omnibar, type "c" then space or tab, then the sublemmy, then enter -> goes to sublemmy

[–] [email protected] 1 points 1 year ago (1 children)

Holy crap! TIL! And when did they add this? When I switched from Chrome back to FF years ago, I couldn't find any way to make that happen!

[–] ewe 1 points 1 year ago

Not sure, but I also switched from Chrome to Firefox and was a heavy custom search engine user. When I finally figured it out, how to do bookmark search functionality, it was a game changer.

This has inspired me to dig up away to use a bookmark commandlet in order to take the URL that you are on from another instance and make it into one that is viewing the same content on your instance. In the next day or two I will figure that out and post how to do it. Should be really useful actually!