On Sat, Nov 28, 2009 at 11:41 AM, Kwah <[email protected]> wrote: >> >> > (I'm assuming that the script functions on the page from which the >> > install link was selected.) >> >> This assumption is incorrect. It will only ever run on the next page load. >> > > I may be filling a few too many blanks with my own thoughts, but I was under > the assumption that the process would go something like this (as opposed to > the script detecting its own installation): > > Script A is installed > Script A watches for new scripts being installed > Script B gets installed, Script A detects the new script and acts accordingly
That's the idea, except that there is apparently no general way for script A to watch for new scripts being installed. (Of course, if I'm writing both, I could have B insert something in a page which A could watch for; but I was looking for a general way to detect the script installation event as it happens.) pw -- 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]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.
