It must have something to do with the order scripts are executed. inline/page scripts are executed before the GM script.
My tests which modify the dom after load and change the title of the page do work fine with mutation observers. > Hello Stephane, > > please have a look at > https://groups.google.com/d/msg/greasemonkey-users/dVGKBKNe7iU/qgvYGT5Ava8J > (I couldn't edit my old message, so I created a new one). It is working > without GM. I'm looking for a mutated document node (which is empty at the > beginning). > > Greetz > > -- > 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. -- Stéphane Roux [email protected] http://habett.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.
