I already explained about it at https://groups.google.com/d/msg/greasemonkey-users/hXl56__DUD4/ETFkDfYViWAJ
> On Fri, Jul 5, 2013 at 11:19 PM, I wrote: >> >> For class attribute, use 'period' notation. >> >> p.myp >> >> See http://www.w3.org/TR/css3-selectors/ for reference. >> >> > > <element class="foo bar"> means that the element has two classes, > "foo" and "bar". > > Use > GM_addStyle("div.foo.bar { display: none !important; }"); > > Alternatively, you can use attribute selector > GM_addStyle("div[class='foo bar'] { display: none !important; }"); > -- Zulkarnain K. https://userscripts.org/users/12 -- You received this message because you are subscribed to the Google Groups "greasemonkey-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/greasemonkey-users. For more options, visit https://groups.google.com/groups/opt_out.
