On 05/26/10 11:03, Richard Zidlicky wrote:
I want to specifically override only those rules that define white background.
So I can not in advance define a css rule with the important attribute because

First, I was simply suggesting that you try adding "!important" to your styles. Second: you can indeed build a whole sheet of CSS as a string, and then apply it to the document (see GM_addStyle helper).

So it seems I need something that triggers my script again after some more
css has been loaded.

Not if you write a sheet of CSS that will be permanently in affect -- as long as you can write rules with higher specificity than anything the document itself does.

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to