-
Notifications
You must be signed in to change notification settings - Fork 435
Support * * * [action]
for dynamic filtering
#682
Comments
Just for the record, the fix is different than what I suggested in my twitter answer: I had forgotten to take into account precedence logic. Still trivial though. |
Thanks, I will experiment it! |
@mcdado Just in case it's not clear how to achieve "blacklist mode", these are the steps:
Nothing will be blocked, static filtering is completely bypassed: "green" means "allow unconditionally". To "blacklist" a site:
This will cause the current site to become subjected to static filtering (EasyList, EasyPrivacy etc, i.e. whatever filter lists is in effect). Dynamic filtering disengaged for current site: "gray" means disengage dynamic filtering, but apply static filtering. In the screenshots above, 3rd-party frames are blocked to remind this is a good habit in general, and to illustrate that narrower dynamic rules prevails over more generic ones. |
Similarly as above, to use uBlock's dynamic filtering in default-deny mode, it's just a matter of globally blocking the Reminder: |
So, if I were to manually edit the "My rules" list, it would look something like this right?
Right now I cannot test it because I didn't figure out how (or whether it is possible) to compile the development version, so I have to wait for 0.8.7.0. As the reporter on Twitter says, it still blocks all sites. |
Ok, I will create a bleeding edge "use-at-your-own-risk" dev version. |
Also, be aware of issue #689. |
What I meant is that the guy on twitter that you linked to at the top of this issue said the same thing: as of 0.8.6, that type of configuration blocks all sites. |
I just tested it like so:
Ads are blocked on the specified sites (gazzetta.it and youtube.com) while are not blocked on a site such as smashingmagazine.com |
I removed the It's just the UI counterpart I removed, The thinking is that the The vertical space is precious and limited, so I decided to remove the |
@gorhill can we then get back the domains connected count back? :) |
@Mikey1993 it is back. |
@chrisaljoudi Oh, this is per page, not global stats? |
https://twitter.com/comex/status/562800585473544195:
The fix is very trivial, though I didn't go through thoroughly to see all the consequences, if any. But it worked as intended. Interesting use case, I didn't think about this being useful.
One could as well use:
To block everywhere by default, which may also be sought after by many advanced users, as default-deny is a common mode for those using RequestPolicy and such.
The text was updated successfully, but these errors were encountered: