Yes "// @run-at document-start" is included, of course. As said it's 
working perfectly on http://www.bing.com/translator, but not on 
http://www.example.com.

I even tried your workaround to use "if (addedNodes[i].parentNode.
nodeName == 'TITLE') {alert("Yes, script is active! Hurray! title is 
"+addedNodes[i].textContent);}". This is also working on this google group 
page, but not on http://www.example.com.

I don't understand this arbitrariness.

Am Sonntag, 29. Dezember 2013 12:52:36 UTC+1 schrieb HAbeTT:
>
>
> http://stackoverflow.com/questions/4978736/how-to-run-greasemonkey-script-before-the-page-content-is-displayed
>
> 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 post to this group, send email to 
> [email protected]<javascript:>
> .
> 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] <javascript:>
> http://habett.net
>  
>
> -- 
> 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]<javascript:>
> .
> 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] <javascript:>
> 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.

Reply via email to