[Support] uMatrix

Hey @gorhill ,

Thanks for the addon, it’s been incredibly useful. Just had some questions/ideas about uMatrix.

  1. I’ve noticed that in order for bookmarklets to work, first party scripts need to be allowed. I was wondering if there’s any way to allow them to work without enabling first party scripts on every site. Or, if that’s not possible, is it possible to only allow scripts from the top level domain and not subdomains (ex: allow scripts for google.com but not apis.google.com) for all sites?

  2. Something that would be handy would be a way to make shortcuts (perhaps in some sort of drop down menu) that temporarily enable a set of rules. For instance, I don’t want to spend resources loading disqus comments on every site, but if I want to see them temporarily for a specific article, I’d have to unbreak it each time, rather than making a permanent set-and-forget ruleset to always allow the comments. Though I don’t know how much extra complexity such a feature would add.

  3. After unblocking certain resources, is it possible to have them automatically fetched without having to reload the page (which takes a bit of time,) similar to how blocked media in uBlock is automatically requested when the red placeholder is clicked on? Or instead of the refresh button reloading the page the same way the default firefox button does, it functions to just fetch resources that have been unblocked. If it’s possible, it would make unbreaking sites a lot faster.

  4. I use uMatrix for more fine-tuned blocking, and uBlock for cosmetic blocking and the misc features it provides such as media and remote font blocking. The problem with this is that it can get a bit confusing if a static filter in uBlock blocks something, but uMatrix doesn’t show it/allow exceptions directly from its interface. I tried seeing if copying the rules like (no-large-media: * true) into uMatrix would work but it looks like they’re unsupported. The element picker is also a must have. I was just wondering if it’s easy to put these misc uBlock features into uMatrix so it wouldn’t be necessary to use both of them at the same time. Also, I’d suggest including the rest of the lists from uBlock as well (such as EasyList).

  5. The behind-the-scences requests in the logger are great for making sure addons aren’t phoning home. But it only logs when it’s open (for efficiency reasons, I know), and doesn’t (appear) to have a way to save the logs for later viewing. If it’s not too complicated, I’d suggest a ‘recording’ mode (with filtering of course) that will allow it to log when not open and save the logs to a text file, so I can look at the behind-the-scenes requests over a longer period. Because an addon might only phone home every now and then, and thus might not be noticed.

  6. I don’t know if this is possible with github, but a community-edited section in the wiki could help make the documentation more complete (I’d contribute to it,) and let people share useful rulesets and tricks.

Thanks!