Hacker News new | ask | show | jobs
by amnah 2946 days ago
Is uMatrix something you use instead of uBlock, or in addition to? Also is there a guide on how to use it somewhere
4 comments

I use both, but sometimes it's a bit a pain in the ass with capchas and and embedded iframes etc. A lot of trial and error which scripts are needed. But it's great to know most of the crap, including cookie/consent banners are blocked.
Does this not blow/up or block most logins for apps?
The first time I log into a website I often need to do a few rounds of "allow this script; refresh; allow this script; refresh" to get captcha/cdns working. But then I save for that site and don't think about it again. It can be a bit of a pain sometimes, but I find it interesting having to acknowledge where different sites pull resources from.
To answer my own question, it's a bit redundant but I need both.

uMatrix handles network stuff (blocking css, js, media, etc).

uBlock also handles network stuff, but the difference is that uBlock can also block specific elements on the page, eg, divs by id or class.

The Stylus extension is great for that. Firefox's style editor lets you test CSS edits in real time. Then copy those CSS rules into Stylus and the browser will remember them. I use it to turn off all CSS animation too.

If you block all JS and CSS with umatrix, you can still read articles by pressing the "reader view" button in Firefox.

https://addons.mozilla.org/en-US/firefox/addon/styl-us/

https://chrome.google.com/webstore/detail/stylus/clngdbkpkpe...

uMatrix can do the later too by now
The author is the same as uBlock Origin; here is the repo: https://github.com/gorhill/uMatrix

From the wiki page, there are many useful FAQ/ guides/ docs. Specifically, there is a link to a decent guide:

http://adamantine.me/index.php/2015/11/18/umatrix-desperatel...

edit: using both is redundant

If you want something a little simpler try scriptsafe[0]. Still lets you whitelist JS you want to trust, enable temporarily or for a set time. I find it rather clearer than uMatrix.

In fairness to gorhill it's a couple of years since I last looked at uMatrix so it may be much improved.

[0] https://github.com/andryou/scriptsafe