Assume I have on webpages of a domain many <div> elements which contain all an 
ID of the pattern "aaa_bbb_ccc_
0004325".
Examples:

<div  id="aaa_bbb_ccc_0004325" .....>....</div>
....
<div  id="aaa_bbb_ccc_0540047" .....>....</div>
....
<div  id="aaa_bbb_ccc_1005699" .....>....</div>
...


I want to hide them all by a GM script statement like:

   GM_addStyle("#aaa_bbb_ccc_0004325 { display: none !important; }");

Obviously I cannot list all possible combinations in script. Instead I need 
something like a wildcard for the numeric part.

However

   GM_addStyle("#aaa_bbb_ccc_* { display: none !important; }");

does not work.

Is there another solution to match all numeric values with one CSS statement?

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