I really wish I had a better answer than this. It definitely would work. 
But I was really banking on using GM_Setvalue and all that later in the 
development process. I'm not able to find the proper documentation, I've 
found several scripts which use all three of the implementions mentiond. 
But I am hoping to find someone more experienced in the API and the usage 
of it. I've spent another whole 7 hours of free time wasted on.. trying 
figure it out.

Thanks I'll keep your solution in mind. Hoping for a better one really.

On Friday, October 17, 2014 6:38:37 AM UTC-4, Neil Bird wrote:
>
> 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.

Reply via email to