Исправьте в справке пример в Ограничение правил определенными доменами.
Есть: rule ##*.sponsor
Надо: rule ##*#sponsor
Correct the example in the Help Limiting rules to certain domains
Now there: rule ##*.sponsor
Need to: rule ##*#sponsor
Ошибка в справке/Error in the Help
- Gingerbread Man
- Posts: 1339
- Joined: Fri Aug 12, 2011 5:28 am
Re: Ошибка в справке/Error in the Help
At best, you could omit the universal selector * and achieve the same effect.
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
domain1.example,domain2.example,domain3.example##.sponsor
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