From the Mozilla Russia forum came the question why the Element Hiding Helper sometimes uses simplified syntax and sometimes raw CSS. It seems that simplified syntax only causes confusion since it is very different from CSS (for historical reasons). So the idea is to phase out simplified syntax - and the first step would be to make Element Hiding Helper always use raw CSS, regardless of whether the same can be expressed with simplified syntax.
Last edited by Wladimir Palant on Wed Apr 29, 2009 9:48 am, edited 1 time in total.
Yes, afaik your filter only applies to id and class.
And no, in CSS (and this is also what the simple filters are translated to), there's no way to match "any element with any attribute with a value of xx". But I don't think it would make too much sense, either...
Dr. Evil wrote:Yes, afaik your filter only applies to id and class.
Seems to be true.
Dr. Evil wrote:And no, in CSS (and this is also what the simple filters are translated to), there's no way to match "any element with any attribute with a value of xx".
What Dr.Evil said - that's the CSS selector these rules are being translated into. The second rule he mentions should be equivalent, at least for HTML.
Shouldn't - Adblock Plus continues to support the "simplified" syntax, at least for now. It is only about new rules created by EHH, they will always use "raw CSS" syntax.
The problem is that "simple" syntax can only cover the most simple cases - EHH would still need to switch to CSS for everything else. And it is not that different, square brackets instead of parentheses and quotation marks around values. Is "easier on the eyes" a matter of getting used to it? Because it needs a good argument to make me revert this change (which is basically what you are asking for).
I cannot allow both - if 99% of the people (myself included) use raw CSS only nobody will tell me if I change something and incidentally break simplified syntax. As with any options, only the default path gets proper testing which is why the cost of supporting the option gets very high.