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

Discussion on adblockplus.org website and translations

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

Postby YmNIK13 » Mon Jan 20, 2014 2:18 pm

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


Correct the example in the Help Limiting rules to certain domains
Now there: rule ##*.sponsor
Need to: rule ##*#sponsor
YmNIK13
 

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

Postby Gingerbread Man » Tue Jan 21, 2014 7:43 am

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/docs/Web/Guide/CSS/Writing_efficient_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
User avatar
Gingerbread Man
 
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am


Return to Website and translations

Who is online

Users browsing this forum: No registered users and 12 guests