uBlock Origin filter greyed out

General discussion and chat (archived)
Goodydino
Keeps coming back
Keeps coming back
Posts: 820
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
Board Warrior
Board Warrior
Posts: 1878
Joined: 2015-09-30, 23:02
Location: uk.

Re: uBlock Origin filter greyed out

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

Did you update UBO recently?
user of multiple puppy linuxes..upup,fossapup.scpup,xenialpup..... :thumbup:

Pale moon 29.4.1

Goodydino
Keeps coming back
Keeps coming back
Posts: 820
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
Board Warrior
Board Warrior
Posts: 1878
Joined: 2015-09-30, 23:02
Location: 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?
user of multiple puppy linuxes..upup,fossapup.scpup,xenialpup..... :thumbup:

Pale moon 29.4.1

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
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
Keeps coming back
Keeps coming back
Posts: 820
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