Ошибка в справке/Error in the Help

Discussion on adblockplus.org website and translations
Post Reply
YmNIK13

Ошибка в справке/Error in the Help

Post by YmNIK13 »

Исправьте в справке пример в Ограничение правил определенными доменами.
Есть: rule ##*.sponsor
Надо: rule ##*#sponsor


Correct the example in the Help Limiting rules to certain domains
Now there: rule ##*.sponsor
Need to: rule ##*#sponsor
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: Ошибка в справке/Error in the Help

Post by Gingerbread Man »

At best, you could omit the universal selector * and achieve the same effect.

Code: Select all

domain1.example,domain2.example,domain3.example##.sponsor
https://developer.mozilla.org/en-US/doc ... icient_CSS

I see no reason to prefer an example based on the id attribute instead of class. Class can match multiple elements, while ids are unique. And there's actually an example showing the id attribute in the second note in that section anyway:

Code: Select all

browser##menuitem#javascriptConsole
Post Reply