uBlock Origin filter greyed out

For the more technical/geeky chat subjects!

Moderator: satrow

Goodydino
Lunatic
Lunatic
Posts: 440
Joined: 2017-10-10, 21:20

uBlock Origin filter greyed out

Unread post by Goodydino » 2018-04-04, 18:33

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?

User avatar
Moonraker
Keeps coming back
Keeps coming back
Posts: 976
Joined: 2015-09-30, 23:02
Location: Lincolnshire.UK.

Re: uBlock Origin filter greyed out

Unread post by Moonraker » 2018-04-04, 18:36

Did you update UBO recently?
Xenial puppy linux 32-bit.
Pale moon 27.9.0

Goodydino
Lunatic
Lunatic
Posts: 440
Joined: 2017-10-10, 21:20

Re: uBlock Origin filter greyed out

Unread post by Goodydino » 2018-04-05, 19:20

Yes. I am now using uBlock Origin 1.15.24. Why would it find a filter unusable?

User avatar
Moonraker
Keeps coming back
Keeps coming back
Posts: 976
Joined: 2015-09-30, 23:02
Location: Lincolnshire.UK.

Re: uBlock Origin filter greyed out

Unread post by Moonraker » 2018-04-05, 20:56

have you tried removing the filter then reinstating it?
Xenial puppy linux 32-bit.
Pale moon 27.9.0

coffeebreak
Board Warrior
Board Warrior
Posts: 1624
Joined: 2015-09-26, 04:51
Location: U.S.

Re: uBlock Origin filter greyed out

Unread post by coffeebreak » 2018-04-06, 01:07

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)
Last edited by coffeebreak on 2018-04-06, 01:33, edited 1 time in total.

Goodydino
Lunatic
Lunatic
Posts: 440
Joined: 2017-10-10, 21:20

Re: uBlock Origin filter greyed out

Unread post by Goodydino » 2018-04-06, 21:08

Coffeebreak, the extra "#" did the trick. It is now an acceptable filter. Thanks a bunch.

Locked