I can't really help much, as I've been bumping up against he same problem. No use of any of those 3 recommended functions is helping me; they either fail with obscure codes or just don't work.
All I can say is that I found more output going to *Tools/Web Developer/Error Console* than was showing up elsewhere (this may be a FireBug window). I also found the following link: http://stackoverflow.com/questions/3542609/replacing-page-functions-via-userscript-in-chrome .. which described actually injecting your function into the page so that is “allowed” to run from other in-page code (since otherwise, IIUC, it's in your elevated-permissions greasemonkey environment). However, the new function will then not be able to call-back to other GM script functions, or any of the values you declare in the GM script. That seems to be working for me, since I can get done everything I need to do in page-space within an injected function. (IOW, you'd put your handleCHatMessages assignment within a local *inject* function, and inject that wrapper *inject* function). -- 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/d/optout.
