[Greasemonkey] What is GM_executeContentScript?
zboogs at gmail.com
Mon Mar 13 10:48:09 EST 2006
Hello list, long time no chat :-)
I don't believe that GM_executeContentScript() is in any official
release of Greasemonkey.
content page. The reason for this API is because of all the present
drawbacks with unsafeWindow.
Sometimes, all you need to do is call a function in content, or set a
variable, or something like that. GM_executeContentScript abuses the
The downside of the API is that you can't return any value from it, so
of course, you can't interact with it from your greasemonkey script.
On 3/12/06, csaba2000 <csaba2000 at yahoo.com> wrote:
> This is in reply to:
> Mark Pilgrim wrote:
> > At the moment, I'm trying to update the API section, and I came across
> > an API function called GM_executeContentScript. I can find no
> > reference to this function in the mailing list archives. It is not
> > documented on <http://greasemonkey.mozdev.org/authoring.html>. I can
> > not find any scripts on <http://userscripts.org/> that use it. In
> > fact, I can not find a single reference to it anywhere on the web.
> Mark, where does GM_executeContentScript live? I've just searched all the
> .js files that come with my GM v. 0.6.4 and I didn't find it.
> Csaba Gabor from Vienna
> View this message in context: http://www.nabble.com/What-is-GM_executeContentScript--t1268753.html#a3368124
> Sent from the MozDev - greasemonkey forum at Nabble.com.
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
More information about the Greasemonkey