calling Greasemonkey functions from web page

Posted by well son on Stack Overflow See other posts from Stack Overflow or by well son
Published on 2010-04-30T07:46:48Z Indexed on 2010/04/30 8:07 UTC
Read the original article Hit count: 366

Filed under:

Hi

Can I call function() of my custom Greasemonkey from my page?

For example,

I created a GM script that contains do_this() function. I want my-web-site.com call the do_this() function. But I can't.

I know, I can by doing unsafeWindow.do_this() but doing so prevents me from calling GM_xmlhttpRequest().

Any ideas?

© Stack Overflow or respective owner

Related posts about greasemonkey