Re:uBlock Origin works best on Firefox
by Rebelgecko on Monday August 22, 2022 @04:26AM
(#32548761)
I'm pretty comfortable with uMatrix and for whatever reason the uBlock filtering UX just completely flummoxes me.
I don't recommend using dynamic filters because they completely override any matching static filters. Makes the point of filter lists useless, if uBo had a way to set dynamic filters to a lower priority than static they might actually be useful. At the moment the only way I found to replicate uMatrix was to use static filters to block by default on a per domain basis and whitelist domains per request type. It is a lot more work so I only do so for sites with user generated content (e.g. hn or reddit) that have links to who knows where that you might want to prevent from loading.
*$strict3p,~css,~image,~script,domain= \
stackexchange.com| \
stackoverflow.com| \
superuser.com
*$strict3p,css,image,domain=stackexchange.com|stackoverflow.com|superuser.com,denyallow=cdn.sstatic.net
*$strict3p,script,domain=stackexchange.com|stackoverflow.com|superuser.com,denyallow= \
cdn.sstatic.net| \
ajax.googleapis.com
https://github.com/gorhill/uBlock/wiki/Dynamic-filtering