[Support] uMatrix

But, I don’t care at all about things like “hosts files”,
“cosmetic filtering”, “popup blocker”, “zapper/picker element” etc
etc etc. I do care about RAM, system performance etc. In this
context, is there any reason to prefer UBlock rather than UMatrix?

No, you are definitely better off with uMatrix in such case.

I am back using uMatrix myself, hence why I am currently dedicating
more development efforts to it.

1 Like

@gorhill thank you for the answer, and millions thanks for UMatrix.

UMatrix is the best add-on ever.
Along the time, I compared UMatrix with almost all privacy/security add-ons over there. Of course these other add-ons have great features that UMatrix hasn’t (even UBlock has). But no add-on can beat UMatrix.
I also compared different UMatrix’ settings with lot of hosts files, rules, filters etc. and UMatrix alone, clean, minimalist, working just with the matrix and rules, it blocks at least 80% of the garbage without breaking 95% of the pages.

So, what can UMatrix improve?:

  1. Consuming less system resources, improving browsing performance.
  2. Adding security/privacy tools for the 20% unblocked web-traffic. Here it will be great to add some NoScript + ScriptSafe features to UMatrix, Also, APIs tools (from WebApiManager add-on) will be nice to add. And of course, some features from UBlock.
  3. It will be fantastic even more granularity, detailing items per domains/sub-domains (scripts etc).

I think about UMatrix as the most powerful firewall add-on in the market.
I understand the complementary function of hosts files, filters, popups etc. But a default UMatrix’ settings alone can block 80% of the garbage. So, the real focus should be to take care of the 20% web-traffic unblocked. And there, privacy/securities tools are more welcome in UMatrix, than hosts files, cosmetic filtering, popups etc. In place to go in UBlock direction, UMatrix needs to go in NoScript/SafeScript/WebApiManager etc direction. Less fruity cosmetic, and more strong security/privacy tools.

This is my personal opinion, and I take the opportunity to share with you.
I will be more than happy donating for this new UMatrix.
But, even if you can’t upgrade UMatrix… I always will be passionate for UMatrix.
Again @gorhill, millions thanks to your fantastic work!

Hmmm. so you’re saying because Umatrix doesn’t replace the script, there’s no way to avoid this delay?

Any other hack that might reduce the DISPLAY time at sites like breitbart?

Hi. I’m new to Discourse. Am I really supposed to make feature suggestions in a giant megathread like this?

Anyway, I’d like to suggest a tiny addition to uMatrix, namely being able to select fonts or graphics to represent the various blocking modes in the UI matrix, instead of just having colors (or colorblind friendly colors).

If fonts are for some reason not doable, how about border style in the matrix boxes? So that Allowed could be shown with a double dashed border, Blocked could use a 3px border, etc.

The problem with colors is that it becomes extremely difficult to use uMatrix in High Contrast mode (“Night Mode”) because all colors disappear.

I’m sure many people in the target userbase for uMatrix use High Contrast mode on a regular basis.

If you do decide to make this change and opt for graphical indication rather than user selectable fonts, please allow using bitmap graphics. Many people who use uMatrix probably are paranoid about security like me and disable SVG rendering in Firefox, because it has had security holes in the past. Also webfonts are not a good idea for the same reason.

I would just like to be able to see Allowed/Blocked indicated with Arial, Courier, Times, and the likes, instead of light green/green and pink/red.

I want to move from Windows as my every day driver to Ubuntu; so I wanted to know where my uMatrix data is stored? Can you tell me what file I need to move over? Thank you!

Just go in “About” pane and create a backup of your settings, you can then import these on the new installation.

Mine is currently stored in, using debian9 (Linux):


I’m sure there is a similar directory on Windblows where Firefox keeps it’s profile data

worker-src is not supported yet by Firefox, and the only way to block/report web workers is to use child-src. I know it is deprecated, but this is what works now for Firefox. Once it supports worker-src, I adjust the code accordingly.

Why not check for version to decide?
Or do you want your extension to ALWAYS walk behind the technologies?

Noticed that with a recent update there’s now a jigsaw puzzle in the popup panel, but doesn’t have a tooltip for what it is. What is it?

A few thoughts on uM (thanks for it, btw!):

  • When adding new icons/buttons, such as the recently added puzzle piece, I recommend doing so in a way that doesn’t shift others around if at all possible. After using this for the past few years, I’ve developed muscle memory for doing things, and I’m now constantly going to the wrong spot to click the lock/erase/refresh buttons since they’ve moved to the right a bit. Probably too late now to do anything about it in this case, but something to consider in the future.
  • After some discussion in this thread (the main discussion about this starts at this post), it seems a very useful ability you could add would be to whitelist domains for referers being sent TO the domain in addition to the current ability to whitelist referers coming FROM it, as well as the option to notify when it’s activated.
  • Another useful ability would be to be able to set spoofing rules, so it could be used to set certain sites (e.g. WSJ) to always be spoofed to look like google.com is the referer, which would allow it to take over the functionality provided by add-ons like Bypass Paywalls (as it is, until I realized the cause, I was often having content blocked from me due to this even if I was coming from google, since I use header spoofing, so a warning about that when enabling this might be a good idea).

Hi all, I’m rather new to uMatrix but I find it quite good.
I’ve learned something and could manage nearly all situation up to now.
I’ve a problem with couple of sites.
Usually, with a new site, I check what is not working, then I open the addon grid and found the disabled items (ping or red).
I then start to enable, one by one, what seems to make sense and try again.

There are anyway some website (a few) that with all enable are not working.
It happened today with a page on bondora.com and one on transferwise.com

On the first there are a couple of calendar icons that do not work at all,
on the second a chat icon with a circle (loading …) below that continue to rotate.

Both have the grid all red (where there are items) excluding googletagmanager.com and linkedin.com.
Both work if I open them in another browser (without a blocker).

My feeling is that there is some other domain involved that is not showed in the grid (neither in the umatrix register).

Am I correct and there is a way to see all domains involved in the page ?
Or do I miss something ?

BTW, with uMatrix I also use AdBlockPlus, HTTPSEverywhere and Privacy Badger.
I also tried to disable all of them but with same problem.


I’m running Win 10 using Firefox 63.0.1 64 bit and latest uMatrix. I don’t know why but the uMatrix icon is gone from the toolbar and I don’t know how to bring it back. Sites won’t load unless I disable uMatrix from in the add-on settings. I tried reinstalling the uMatrix add-on but that didnt help. How do I fix this please?

Just mentioning that for a longer period of time everything goes well with uMatrix. No problems, whatsoever.
Thanks, @gorhill, again!
Have a nice december! :wink:

I am currently using AdBlockPlus in addition to uMatrix (V1.3.16 on FF 63.0.3 Linux Mint), mainly for its ability to block certain annoying page elements on some websites.

Examples are from its filter list are:

Despite having spent considerable time on trying to figure out a filter rule to achieve the same effect with uMatrix’ “My Rules” alone, I didn’t succeed.

Hence now here my questions:
Can this be done?
And if so, how how exactly would the filter rule entry need to look like?

Thank you

Not in uMatrix.

You can try uBlock Origin where you can use “dynamic filtering” similar to uMatrix and easily create ABP-like hidding rules

Hi, I have some issues with uMatrix on Firefox for Android. For some websites, the panel doesn’t show third-party domains at all, while they definitely are present. This means that some broken websites cannoted be adjusted.

Has anybody else had this problem as well and what might be the fix?

I didn’t see any responses, so I thought I’d share my thoughts.

Essentially, I don’t understand why you want to use umatrix.

It seems that your primary concern is ad blocking, which uBlock is very capable of doing.
You also mention that umatrix breaks pages “a lot” - I’ve never used umatrix, and this is the main reason.

Your approach to unbreaking sites while using umatrix (allowing scripts generally for each broken site) suggests to me that you would probably be best served by using only uBlock.

I don’t want to seem condescending, but it seems like umatrix requires both a greater understanding of how browsers work than you have and a greater commitment to being involved with what your browser does every time that it’s used than want to make.

I doubt there will ever be a wiki for umatrix like there is for uBlock; umatrix seems to be intended for users who equipped want to review its source code before installing it. (Hence the lack of a wiki.)

If you do go back to uBlock without umatrix, consider adding some of the AdGuard lists. You may even want to visit AdGuard’s list site to see all of what they offer.

If you’re interested, I use these filter lists from AdGuard:
AdGuard Base filter​​​​​
AdGuard Mobile Ads filter
AdGuard Spyware filter
AdGuard Annoyances filter
AdGuard Social Media filter
AdGuard Experimental filter

Just a passing idea:

It looks like those first three filters might be replaced by:
That’s what I’d try in uBlock.

Kick ABP to the curb! :grinning:

You may have moved past this, but for your missing icon it’s probably in the overflow menu. Select customize from the main menu, and everything that’s hidden there will be displayed.

Also, it sounds like you should be starting with uBlock Origin.