uBlock-LLC / uBlock

uBlock: a fast, lightweight, and lean blocker for Chrome, Firefox, and Safari.
https://ublock.org/
GNU General Public License v3.0
8.18k stars 436 forks source link

What filters do you use? [Question] #1524

Closed sIips closed 2 years ago

sIips commented 9 years ago

currently I am using ublock's raw list along with dynamic filtering , and i wanted to know if adding any more filters would slow down my performance some how.

am I fine as is, if not, what filters can you recommend?

lewisje commented 9 years ago

What do you mean by "raw list"? What dynamic filtering rules do you have?

Anyway, you shouldn't get a noticeable degradation in performance unless you add every single list bundled with uBlock.

sIips commented 9 years ago

by raw list, I mean the stock/default list for ublock so that includes:

*easylist, peter lowe's ad server list, easy privacy, malware domains list, malware domains, and first five at the top checked.

as for my dynamic filtering settings, i change them up a bit. usually I have on 3rd-party scrips + 3rd-party frames, and if I see that I can accommodate more blockage without breaking the site i'd just do some tweaking and turn on 3rd-party if I can-and I do this for every site.

so in other words, I don't really have a temporary rule or a permanent rule set that I mainly use. what can you advise?

~thanks for the reply and sorry i'm a newbie at this.

sIips commented 9 years ago

also, what do you feel about ublock in conjunction with umatrix? like is it needed, and how much more effective is it than just ublock and dynamic filtering alone? is it worth it?

lewisje commented 9 years ago

uMatrix allows you to apply more-granular dynamic filtering rules, so if you're just itching for that level of control while using uBlock's dynamic filtering, consider getting uMatrix too.

With that said, in addition to the default lists, I use...

...and the following custom lists:

I noticed that the custom Disconnect list was almost completely redundant (9 filters used out of 2727), and Block-EU-Cookie-Shit-List is about half-redundant (419 used out of 921).

I have also accumulated a bunch of custom filters over the years (from using ABP, then AdBlock, and now uBlock Origin), largely based on posts in the ABP forums; I noticed that out of the 251 filters in My Filters, only 222 are used. In addition, I have a large number of dynamic filtering rules that I copied from the uBlock Origin wiki, but I changed most of the block rules to noop; I keep them around to remind me of what to block if I decide to use more dynamic filtering.

sIips commented 9 years ago

i've been playing around with both uMatrix and uBlock (origin), and you're right. uMatrix offers more granular control over each domain and a lot of the little things that uBlock can't accomplish; it's essentially a firewall. With uBlock in the otherhand, it seems to block the ads much more deeply and cleanly way opposed to uMatrix. from the looks of it though, it seems like a battle between privacy and blocking ads.

if I were to pick between the two, i wouldn't know what to choose [yet]... it's all a matter of preference to each user and everyone has their own needs.

also wow, i'm really impressed with all your input and thank you for your time for listing all of those filters :open_mouth: . i'll give them a go and use them as references when I need them.


*note i don't see any point in using any of the host files that uMatrix offers, they're just no good.. perhaps because i'm not seeing the results on the surface and there could be some activity behind the scenes that i'm not aware about. if I can get better hostfiles or establish some rules to blacklists some domains, I feel uMatrix would be perfect for me and it's a bit irritating how it's not blocking some ads and leaving some elements behind :disappointed: .

sIips commented 9 years ago

http://tinyurl.com/mzu8kgo

this is what I was looking for... for the possibility if uMatrix alone can achieve about the same level of blockage as uBlock... which avoids the cumbersomeness of using both extensions (uMatrix and uBlock (origin)).

lewisje commented 9 years ago

The HOSTS files parsed by uMatrix are redundant if you're already loading them into uBlock.

sIips commented 9 years ago

oh okay, and also I don't i'll be using uBlock anymore because I think I have uMatrix suited for all of my needs. I probably need to find some better hosts files.

the hosts files (URL's) that I parsed with uMatrix are: https://raw.githubusercontent.com/gorhill/uMatrix/master/assets/thirdparties/hosts-file.net/ad-servers https://raw.githubusercontent.com/gorhill/uMatrix/master/assets/thirdparties/someonewhocares.org/hosts/hosts https://raw.githubusercontent.com/gorhill/httpswitchboard/master/assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt http://adblock.gjtech.net/?format=unix-hosts https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt

sIips commented 9 years ago

picture

sIips commented 9 years ago

^ this is what it looks like right now, and now i'm blocking stuff without a cinch. some of them could use some updating like the adblock plus list.. any suggestions ?

lewisje commented 9 years ago

I like the more expressive syntax available in ABP-compatible extensions like uBlock; with both HOSTS files and uMatrix rules, the most granular you can go is by hostname, context, and request type, but not (for example) path component.

Also, if you like cosmetic filters (known in ABP as "hiding rules") then you should keep uBlock around, because uMatrix doesn't do anything equivalent.

sIips commented 9 years ago

I think I kind of get what you mean now after a few browsing sessions and tinkering around. uMatrix can't match the level of depth that uBlock has when it comes to adblocking. for instance at certain sites where there are normal ads that border the website (such as mangafox.me or kissanime.com) the advertisement appears to be only hidden.. not blocked to its core. also for youtube.com, at times there can be random flickering and errors in loading images. uBlock just seems more straightforward :cry: and i'm running into a lot of bugaboos

there's still soo much i don't know :sob:

lewisje commented 9 years ago

advertisement appears to be only hidden

Surprisingly, uMatrix actually doesn't hide content; are you talking about getting broken-image icons perhaps?

gorhill commented 9 years ago

the hosts files (URL's) that I parsed with uMatrix are: https://raw.githubusercontent.com/gorhill/httpswitchboard/master/assets/thirdparties/easylist-downloads.adblockplus.org/easylist.txt

EasyList is not a HOSTS file, and trying to load this in uMatrix will give undefined results.

juvander commented 9 years ago

For Finland http://adb.juvander.net/Finland_adb.txt

HybridDog commented 9 years ago

l added http://code.bildstatic.de/1.20.5-release--15.20/bild/built/Konfig/js/packages/core.js to my adblock plus compatible filters to disable the anti-blocker.

lewisje commented 9 years ago

^That looks like a UserScript, not an ABP-compatible filter-list.

EDIT: nvm, I think you meant you added a custom filter like ||code.bildstatic.de^*/bild/built/Konfig/js/packages/core.js$script

Gitoffthelawn commented 9 years ago

@lewisje I think you're right. Out of curiosity, besides habit, why the caret instead of a forward slash in there? What case(s) does that cover?

lewisje commented 9 years ago

It covers the case where the script is referenced by :/ instead of just /; it's more for ABP and AdBlock, because I remember uBlock converting the caret into an asterisk internally, except if the URL pattern ends with that caret: https://github.com/gorhill/uBlock/issues/435#issuecomment-118360778

Gitoffthelawn commented 9 years ago

@lewisje Thanks. I'm not sure if the GitMonster (the GitHub text processor) ate some of the characters you typed. What I see that you wrote is "...referenced by (colon)(forward-slash) instead of just (forward slash)...".

I've never seen a (colon)(forward-slash) used by themselves in a URL (except by mistake). Have you seen that case?

Or are you referring to when a URL includes the port? As in: "site.com(colon)80(forward-slash)".

Thanks also for the link to the relevant issue. I was not aware of that until you pointed it out.

HybridDog commented 9 years ago

That looks like a UserScript, not an ABP-compatible filter-list.

l put the link directly into the list without the * and ||. As far as l know it's a new antiblocker from bild.de, so l kept the 1.20.5 release thing yesterday. Now l just noticed that blocking this doesn't longer work because it gives an error which tells that l have to enable javascript… http://www.bild.de/

lewisje commented 9 years ago

@Gitoffthelawn I was referring to when a URL includes the port, and I also was using angle brackets to delimit variable text, instead of parentheses (I wasn't aware that GitHub just removed the text, instead of emitting angle brackets literally).

@HybridDog that works too, but the filter I listed is intended to be a little more robust, covering cases like different subdomains, HTTP vs. HTTPS, and different version numbers.

Gitoffthelawn commented 9 years ago

@lewisje Thanks. I had a hunch the GitMonster mangled your post. Makes sense now! :-)