-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add noop option to static filters #1365
Comments
@gorhill Why? |
Because I don't know what you are trying to accomplish. The first thing to point out is what exactly is the primary, root issue. |
Valid static filters equivalent to dynamic filters
corresponds to these static filters:
Missing static filters equivalent to dynamic filters
corresponds to which static filters? |
@IDKwhattoputhere Please have a look on this issue. |
Just use dynamic filtering, that's an excellent case to justify using dynamic filtering.
|
No I do not. I'm just saying that there are no options to do this with static filters:
I wish it would be possible because then such filter could be added to |
I can't understand this for you, you need to understand it yourself why it makes no sense. It will probably dawn on you if you try to resolve this riddle, which you raised when you asked
Push your investigation further and make your full proposal of how the static filtering engine would work to implement your idea of
"Noop" in the dynamic filtering engine means "abort dynamic filtering". So "noop" in the static filtering engine would also be "abort static filtering", which means "do not block the network request", because there is no other filtering layer below static filtering. |
For custom filters, that option exists already, and it's called prepending with the |
Thank you for the Overview of uBlock's network filtering engine link, but it doesn't explain one thing; Are the filters applied exactly in the same order as they are listed in 3rd-party filters (eg are uBlock filters applied before EasyList)? |
I don't believe order matters: Filters are applied based on priority, and there's no way for filters at the same priority level to override each other (for example, a static blocking filter without |
This issue only make sense if 3rd party rules (subscription rules) ever become implemented.
In this filter we need to noop pornhub.com (and all domains), and the white list domains (phncdn.com, etc), so EasyList can take care of them.
In uBO there is option
important
for static syntax which is used to override filters, but there are no[noop] (https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-quick-guide)
(contrary to the dynamic filter syntax) that can be used to make transparent filters.Can you please add it?
The text was updated successfully, but these errors were encountered: