Much to my surprise I obeserved that all GM statements (e.g. GM_addStyle) AFTER 
the first occurance of a

document.querySelector(...)

statements are NOT executed. e.g.

document.querySelector('img[width="600"]').setAttribute('style','width: 50%; 
height: 50%');

When I put the same document.querySelector(...) at the endof the GM script 
everything works fine.

Can someone confirm this?

What if I have two or more document.querySelector(...) statements?

How can I enforce GM to execute them all?

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/groups/opt_out.

Reply via email to