|
This rule will ignore other block rules:
acting as an allow rule (due the *). I'm trying to make it act as a noop rule, something like:
The main purpose is to keep using static filters and have the rule as a single line rule. Currently, I can do something similar using regex to keep the blocking rule:
but that is absolutely horrible. I would like to have a $noop or something like the _ that works as a noop for scenarios like that, cause both from= and to= support multiple domains and that is really useful to reduce the line count. Thanks |
Replies: 4 comments 1 reply
|
Please explain the actual problem that you are trying to solve rather than asking about what you think is the solution for it. |
|
The purpose of noop in dynamic filtering engine is to defer the filtering to the static filtering engine. The static filtering engine is the last layer, there is nothing to defer to, so noop makes no sense for the static filtering engine. |
|
The question: How to block every 3p from a cdn domain, except anything from [multiple domains] requesting [some multiple cdns], excluding previous explicit blocked rules from other blocklists. literally: (but *$3p is allowing previous blocks from other blocklists) The Odyssey: When first using hard mode, I end up with a lot of duplicate lines at the dynamic filtering. Using googleapis.com as an example: That makes it impossible to see which asset or script is being used, then the filter ends up losing its purpose. So I tried doing it another way, as: but this quickly becomes unmanageable. then I can use a single but then I found out some situations where I need multiple lines for same web service. Using steam as example: I found out I can reduce rules like that using: It's much more manageable this way because all the domains for the same web service are on the same line. That decreased my filters from 2000 lines to 500 lines. but this ends up allowing things that were previously blocked (due *$3p), and this is what I'm trying to solve. This is probably an aesthetic request, but given that uBlock offers the hard mode, I think it might be a valid request. The static filter list is much more readable and allows comments for futher reference, I use it a lot, for example: then if something change, I can find out what d2v4ffmk60pnnm.cloudfront.net was refering to (static.parastorage.com). |
This? |

This?