Page 1 of 1

Filter Rule: case insensitiv attribute value

PostPosted: Tue Jan 14, 2020 12:34 pm
by Tomkeen
Hello everyone,,
In CSS rules the value of an attribute is case sensitive.

My question:

Is it possible to create filter rules which realize a case insensitivity?



I would love to match all those elements with one single line:

Are there any "options" to realize such a filter rule?

Thanks for your help.

Re: Filter Rule: case insensitiv attribute value

PostPosted: Thu Jan 16, 2020 1:38 pm
by greiner
Apart from some additions, filters can only be written using CSS selectors that are supported by the browser which Adblock Plus is running in. That means that if modern browsers don't support a certain selector, filters can't use it either.

In this particular case, I found the feature you're searching for in the CSS Selectors Level 4 standard which is still a working draft and therefore still subject to change. According to MDN however, it's already supported by most browsers.