Page 1 of 1

uBlock Origin filter greyed out

Posted: 2018-04-04, 18:33
by Goodydino
I added a filter to "My Filters" in uBlock Origin:
#div(id^=dropin)
Just recently, it was greyed out. Why? What is wrong with it?

Re: uBlock Origin filter greyed out

Posted: 2018-04-04, 18:36
by Moonraker
Did you update UBO recently?

Re: uBlock Origin filter greyed out

Posted: 2018-04-05, 19:20
by Goodydino
Yes. I am now using uBlock Origin 1.15.24. Why would it find a filter unusable?

Re: uBlock Origin filter greyed out

Posted: 2018-04-05, 20:56
by Moonraker
have you tried removing the filter then reinstating it?

Re: uBlock Origin filter greyed out

Posted: 2018-04-06, 01:07
by coffeebreak
Goodydino wrote:Yes. I am now using uBlock Origin 1.15.24. Why would it find a filter unusable?
Since v.1.15.12 a text editor, CodeMirror, has been integrated into uBO's dashboard.
The text editor rejected the filter's syntax, it doesn't see it as a valid filter.

I'm not remotely knowledgeable about these filters, but do have one suggestion.....
To make the editor recognize your filter, add a second ' # ' at the beginning, like so: ##div(id^=dropin)

Re: uBlock Origin filter greyed out

Posted: 2018-04-06, 21:08
by Goodydino
Coffeebreak, the extra "#" did the trick. It is now an acceptable filter. Thanks a bunch.