On 2014-01-16 11:25, Ben Stover wrote:
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.

Could this be the result of document.querySelector('img[width="600"]') not finding any elements, i.e. returning null?


--
Klaus Johannes Rusch
[email protected]
http://klausrusch.atmedia.net/

--
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