If I'm understanding you correctly, this should work.  (first link in 
google for wildcard css selectors.)
http://stackoverflow.com/questions/5110249/wildcard-in-css-for-classes

On Thursday, April 9, 2015 at 2:15:10 AM UTC-5, Ben wrote:
>
> 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