Skip to content

Loading…

[Request] Extend dynamic filtering rule syntax #926

Closed
Snapy opened this Issue · 5 comments

3 participants

@Snapy

I would like the option to add multiple domains and/or request types in the same rule separated by pipes or commas. For example * domain1.com|domain2.com * block or * * 1p-script,3p-script block. So the rules tab could be a little more compact and clear to look at.

@Mikey1993

This can be beneficial for everyone who is messing with the Dynamic Filtering rules manually, though it would be neat if uBlock could add and subtract the rules dynamically instead of adding a new rule every time.

There just the need to insure there won't be a very long rule somehow, as this can surely break readability

So +1 from me, if the right balance is found.

@gorhill

Gave some thoughts to this, and I don't believe it's worth it. The output is pretty much a straight representation of how data is organized internally, so this would add a lot of complication in the code for just something nice to have, maybe.

@gorhill gorhill closed this
@Snapy

Thanks for the answer. I just need one more clarification about what you said in issue #840. If there is no UI related for a feature it is not likely to be implemented or am I wrong ?

@gorhill

Supporting types in hostname-based rules lead to ambiguity:

* imgur.com image noop
* imgur * block

Cell for imgur.com would be red, yet image requests are not blocked. The UI ends up "lying". In uMatrix that ambiguity does not exist, the UI does not lie, hence it's allowed in uMatrix.

There is no UI for "images from imgur.com", as opposed to uMatrix.

@Snapy

Thanks for clarification. Dynamic filtering remains powerful but I will use another extension as I need more control. I also really enjoy the recent improvements of the network request logger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.