Replies: 3 comments 1 reply
-
Dynamic rules cannot block source document. You need to use static filter like *$doc,domain=~example.com|~example2.com So everytime you want exclude a domain, you need to do in both static filters and dynamic rules panels.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks!
The static rule per se seems to do it.
Why do I need to add to the dymanic rules too?
Another thing:
Is it possible (better/worse?) to do all this using a regex static rule like:
/^http(s)?://.*/,domain=example.com
thus blocking not only the main document but everything?
I tried that but uBO seems to dislike the "(s)" part (i.e. I need to use separate rules for http and https) and the domain= part doesn't seem to have any effect.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Understood.
Thank you!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am looking for a way to use uBO in a "firewall" way with default drop policy, allowing only explicitly whitelisted hosts (of course, I understand that there is no lower OSI layer blocking, just illustrating the idea).
I already have:
but that doesn't seem sufficient.
I tried using
$document
as a static rule but I am not sure if that is how I should approach it.So, what is the correct way to do this?
Beta Was this translation helpful? Give feedback.
All reactions