Discussion in 'other software & services' started by tlu, Oct 25, 2014.
Thanks - I understand
Hi, does anybody know if it is possible to turn on/off several rules at once in uMatrix?
I'm thinking of things like embedded Youtube videos: my default is to block them, but in some cases I would want to see them. So I need to switch on www.youtube.com, then press the play button, then go to uMatrix again to allow googlevideo.com. A similar case is with Disqus, not all the necessary entries are there from the beginning (of course, they appear when there was a request).
So, is there a way to save my lazy self some extra clicking?
I believe it would not be easy at all to do that in uMatrix, but maybe someone has found a workaround? Some ruleset / group of rules that can be turned on/off with one click? Maybe an external Greasemonkey script?
Thank you for your thoughts!
the matrix line with "all" is for all (columns) below, the rest below is specific for that page.
Thanks for the replies!
I've read the wiki article, but I don't want _all_ pages to show the video or comments or google maps. I like it that by default these things are blocked. It's just in some rare individual cases that I would like to allow them. And I was hoping that there might be a "shortcut", so that one click would be enough to enable e.g. youtube.com and googlevideo.com together, even when the googlevideo.com list entry is not there yet. (same with disqus / google maps: you always need two or more steps of allowing something, reloading, allowing something else until they work.)
The more I'm thinking about this, the less likely it seems to me that this can be done at all. I mean, one could imagine a rule-group that chains together e.g. youtube.com and googlevideo.com. But I don't see a way to switch on or off a rule-set like that in the interface of uMatrix. I think one would need a dedicated button for every such "switch", which could get ugly quickly and just not fit in the elegant style of the matrix.
uMatrix v1.3.10 Released (June 10, 2018)
Download - v1.3.10 - Firefox (AMO)
Download - v1.3.10 - Chrome (Web Store)
Thanks @mood. Best little powerhouse ever laid out for the browser and cuts through a lot of junk heaped onto web pages.
Recently I noticed that I couldn't play video's on facebook anymore, but can watch live streams on facebook. Today I jumped in to it because I wanted to watch a video. Disabling uMatrix in uMatrix didn't solve it, disabling the uMatrix extension in Chrome did solve it. To make a long story short, it looks like the option "Spoof HTTP referrer string of third-party requests" is the problem, allthough I can't say if it's just how things work and that it's not an uMatrix problem or that it is the facebook site.
If I go to a video on facebook with normal default uMatrix settings and for this example allowing everything from fbcdn.com so facebook works, then the video don't play. If I disable the spoofing http referrer option and shift+F5 the facebookpage with the video then the video plays again. If I enable the spoofing option and shift+F5 the facebookpage again then it doesn't play the video anymore.
Because the spoofing http referrer option is enabled by default it can be that other people have the same problem and not knowing what is causing it. I didn't see it as a known issue on https://github.com/uBlockOrigin/uMatrix-issues/issues and I don't have a github account to post it there, so I posted it here.
Chrome x64 versions 66 & 67
uMatrix 1.3.10 (but maybe previous versions too)
So apparantly you found the solution to fix your problem. Quite franky, this is not an "issue". uMatrix' homepage clearly says:
I know, and that is why I wrote:
But it worked before, so I thought of mentioning it, maybe it's a bug in uMatrix, just trying to be helpful, that is all.
uMatrix v1.3.12 Released (July 17, 2018)
Download - v1.3.12 - Firefox (AMO)
Download - v1.3.12 - Chrome (Web Store)
A workaround has been implemented in uMatrix v1.3.13b0:
I would love to use solely uMatrix instead of using both uMatrix and uBo, but uBo has a very important feature, which is script redirections:
I wish either uBo or Adguard would make script redirections a separate, lightweight extension. Decentraleyes could probably fill that void if they chose to offer additional JS libraries apart from CDNs.
This is not the only difference. uMatrix filters "net requests according to source, destination and type" but it doesn't use the filter syntax borrowed from AdBlock Plus but extended in uBlock Origin which lets you block many ads/annoyances/anti-adblocking measures not blockable in uMatrix. Not to mention cosmetic filtering (or Element Hiding as ABP calls it). Using both add-ons in tandem is the best solution.
I know the differences between the two.
I'm saying I don't need all of uBo's features when I just want script redirections. uMatrix can do a better, granular job of filtering things like XHR requests easily.
I have element hiding turned off in uBo. I used to have it enabled, but filter lists go a little crazy with element hiding rules and it's a performance hit to hide ads with CSS rules. If I need to hide an element in uBo, I do it manually when I need it.
uMatrix v1.3.14 Released (August 27, 2018)
Download - v1.3.14 - Firefox (AMO)
Download - v1.3.14 - Chrome (Web Store)
I think there's a bug in uMatrix 1.3.15b0 but I can't open an issue on github.
Tested in Firefox 60.2.0ESR, Firefox 62.0 and Chromium 69.0.3497.81 on Linux x86_64 (Debian Stretch) with a new clean profile: you can't select the global scope button (the one gray with the asterisk), hence you can't set global scope rules from the popup UI.
Can somebody confirm and or relay this bug in a proper channel?
No, I cannot confirm this in FF 62 (on Fedora 28 ). I can select the global scope, set rules therein and save them without a problem.
Confirmed. The global scope cannot be selected. (Firefox v62, uMatrix v1.3.15b0)
Solution: After upgrading to uMatrix v1.3.15b1 it seems to work.
Ah - yes. I forgot to mention that I also tested it with the b1.
uMatrix 1.3.16 has been released.
Releases - Release Notes
Download - v1.3.16 - Firefox (AMO)
Download - v1.3.14 - Chrome (Web Store) - At the time of this post, the Chrome Web store had not been updated as it usually takes anywhere from a few hours to a few days for Google to approve the new version and post it to the store...
Would it be safe to assume that the extension would automatically work with the chromium build of Edge that will be released in the future?
currently you should not ask this here because edge with blink engine is totally unbaked. it's ready when done
uMatrix v1.4.0 Released (September 5, 2019)
Download - v1.4.0 - Firefox (AMO)
Download - v1.4.0 - Chrome (Web Store)
@gorhill has put a lot of work lately in updating uMatrix. The v. 1.4.1 dev builds contain important improvements. A huge commit was this one to "Bring uMatrix up to date" which "should un-stall further development of uMatrix." A lot of code was imported from uBO including logger improvements and CNAME uncloaking already discussed in the uBO thread. In order to enable this feature you can either add
cname-reveal: * true
to My Rules in the dashboard or you can temporarily switch to the global scope, enable the new "reveal canonical names" per-scope switch (not yet covered on that wiki site), save that new rule and switch back to the domain-oriented scope. After doing so be prepared, though, that many sites you visit frequently will be broken as you often have to allow (at least) CSS for specific sub-domains of akamaiedge.net, fastly.net and the likes not displayed in the matrix before.
The improvements for the logger are nice. Unfortunately, URL filtering is still not available. My stance has always been that when using uM and uBO in tandem it would be more logical if uBO is in charge of static and cosmetic filtering (via the built-in filterlists) and uM for everything else including (un)blocking specific scripts, images etc. But perhaps this will happen some day ...
cname-reveal: * true
Separate names with a comma.