Why isn't $badrule working with the domain= option?
17:09 22 Jun 2026

Let's say I have a faulty uBlock Origin filter which blocks all .com domains.

||*.com^

I can use $badfilter to disable that rule.

||*.com^
||*.com^$badfilter

uBlock Origin's documentation mentions that the domain option can be used with badfilter.

The domain= option will be decomposed to create as many distinct filters as there are values in the domain= option.

However, if try disabling the rule for a specific site with domain=, it doesn't unblock the specified site.

||*.com^
||*.com^$badfilter,domain=stackoverlow.com

Why doesn't ||*.com^$badfilter,domain=stackoverlow.com negate the filter ||*.com^ for stackoverflow.com?

github ublock-origin