4 Firefox extensions worth checking out

These extensions make Firefox more productive and fun to use.
338 readers like this.
Firefox developer edition blue logo modified by Jen Wike Huger via Creative Commons license

Photo by Jesse Flores, modified by Jen Wike Huger

I've been a Firefox user since v2.0 came out about 12 years ago. There were times when it wasn't the best web browser out there, but still, I kept going back to it for one reason: My favorite extensions wouldn't work with anything else.

Today, I like the current state of Firefox itself for being fast, customizable, and open source, but I also appreciate extensions for manifesting ideas the original developers never thought of: What if you want to browse without a mouse? What if you don't like staring at bright light coming out of the monitor at night? What about using a dedicated media player for YouTube and other video hosting websites for better performance and extended playback controls? And what if you need a more sophisticated way to disable trackers and speed up loading pages?

Fortunately, there's an answer for each of these questions, and I'm going to give them to you in the form of my favorite extensions—all of which are free software or open source (i.e., distributed under the GNU GPL, MPL, or Apache license) and make an excellent browser even better.

Although the terms add-on and extension have slightly different meanings, I'll use them interchangeably in this article.

Tridactyl

Tridactyl screenshot

Tridactyl enables you to use your keyboard for most of your browsing activities. It's inspired by the now-defunct Vimperator and Pentadactyl, which were inspired by the default keybindings of Vim. Since I'm already used to Vim and other command-line applications, I find features like being able to navigate with the keys h/j/k/l, interact with hyperlinks with f/F, and create custom keybindings and commands very convenient.

Tridactyl's optional native messenger (for now, available only for GNU/Linux and Mac OSX), which was implemented recently, offers even more cool features to boot. With it, for example, you can hide some elements of the GUI of Firefox (à la Vimperator and Pentadactyl), open a link or the current page in an external program (I often use mpv and youtube-dl for videos) and edit the content of text areas with your favorite text editor by pressing Ctrl-I (or any key combination of your choice).

Having said that, keep in mind that it's a relatively young project and may still be rough around the edges. On the other hand, its development is very active, and when you look past its childhood illnesses, it can be a pleasure to use.

Open With

Open With Screenshot

Speaking of interaction with external programs, sometimes it's nice to have the ability to do that with the mouse. That's where Open With comes in.

Apart from the added context menu (shown in the screenshot), you can find your own defined commands by clicking on the extension's icon on the add-on bar. As its icon and the description on its page on Mozilla Add-ons suggest, it was primarily intended to work with other web browsers, but I can use it with mpv and youtube-dl with ease as well.

Keyboard shortcuts are available here, too, but they're severely limited. There are no more than three different combinations that can be selected in a drop-down list in the extension's settings. In contrast, Tridactyl lets me assign commands to virtually anything that isn't blocked by Firefox. Open With is currently for the mouse, really.

Stylus

Stylus Screenshot

Stylus is a userstyle manager, which means that by writing custom CSS rules and loading them with Stylus, you can change the appearance of any webpage. If you don't know CSS, there are a plethora of userstyles made by others on websites such as userstyles.org.

Now, you may be asking, "Isn't that exactly what Stylish does?" You would be correct! You see, Stylus is based on Stylish and provides additional improvements: It respects your privacy by not containing any telemetry, all development is done in the open (although Stylish is still actively developed, I haven't been able to find the source code for recent versions), and it supports UserCSS, among other things.

UserCSS is an interesting format, especially for developers. I've written several userstyles for various websites (mainly dark themes and tweaks for better readability), and while the internal editor of Stylus is excellent, I still prefer editing code with Neovim. For that, all I need to do is load a local file with its name ending with ".user.css" in Stylus, enable the option "Live Reload", and any changes will be applied as soon as I modify and save that file in Neovim. Remote UserCSS files are also supported, so whenever I push changes to GitHub or any git-based development platforms, they'll automatically become available for users. (I provide a link to the raw version of the file so that they can access it easily.)

uMatrix

uMatrix Screenshot

Jeremy Garcia mentioned uBlock Origin in his article here on Opensource.com as an excellent blocker. I'd like to draw attention to another extension made by gorhill: uMatrix.

uMatrix allows you to set blocking rules for certain requests on a webpage, which can be toggled by clicking on the add-on's popup (seen in the screenshot above). These requests are distinguished by the categories of scripts, requests made by scripts, cookies, CSS rules, images, media content, frames, and anything else labeled as "other" by uMatrix. You can set up global rules to, for instance, allow all requests by default and add only particular ones to the blacklist (the more convenient approach), or block everything by default and whitelist certain requests manually (the safer approach). If you've been using NoScript or RequestPolicy, you can import your whitelist rules from them, too.

In addition, uMatrix supports hosts files, which can be used to block requests from certain domains. These are not to be confused with the filter lists used by uBlock Origin, which use the same syntax as the filters set by Adblock Plus. By default, uMatrix blocks domains of servers known to distribute ads, trackers, and malware with the help of a few hosts files, and you can add more external sources if you want to.

So which one shall you choose—uBlock Origin or uMatrix? Personally, I use both on my desktop PC and only uMatrix on my Android phone. There's some overlap between the two, according to gorhill, but they have a different target userbase and goals. If all you want is an easy way to block trackers and ads, uBlock Origin is a better choice. On the other hand, if you want granular control over what a webpage can or can't do inside your browser, even if it takes some time to configure and it can prevent sites from functioning as intended, uMatrix is the way to go.

Conclusion

Currently, these are my favorite extensions for Firefox. Tridactyl is for speeding up browsing navigation by relying on the keyboard and interacting with external programs; Open With is there if I need to open something in another program with the mouse; Stylus is the definitive userstyle manager, appealing to both users and developers alike; and uMatrix is essentially a firewall within Firefox for filtering out requests on unknown territories.

Even though I almost exclusively discussed the benefits of these add-ons, no software is ever perfect. If you like any of them and think they can be improved in any way, I recommend that you go to their GitHub page and look for their contribution guides. Usually, developers of free and open source software welcome bug reports and pull requests. Telling your friends about them or saying thanks are also excellent ways to help the developers, especially if they work on their projects in their spare time.

User profile image.
Zsolt Szakács is a free and open source software enthusiast, a stress expert, a translator, a web developer, and a writer. You can find out more about him in his portfolio.

1 Comment

thank you so much for introducing me to 'umatrix'.. i believe i can't live without it now.. super fricking awesome plugin.. and yes of course tridactyl too.. have been using vim modes in browser for a long time.. people won't understand how good it is to use them..

Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.