There's no such thing as a class with blank separated names. Blanks are delimiters when dealing with class names. What you're seeing is three classes, not one class with blanks in its name.

On 1/5/2015 10:45 PM, 'Ben Stover' via greasemonkey-users wrote:
Assume I have a HTML code like:

...
<div class="aaa bbb ccc" ... style="width: 600px;" >
...
</div>
....

Now I want to hide this from within a GM script with a command like

GM_addStyle("div.aaa bbb ccc { display: none !important; }");

but it does not work this way.

How can I refer otherwise to a class with multiple blank separated names?

Ben







--
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/d/optout.

Reply via email to