On Sat, Nov 28, 2009 at 8:38 AM, Anthony Lieuallen <[email protected]> wrote: > On 11/27/2009 2:20 PM, Patrick Wiseman wrote: >> I was wondering if it's possible for a script to capture the 'script >> successfully installed' event which is returned from the script >> installation popup when 'Install' has been selected. > > There is not. > >> (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.
What I meant was that the script trying to capture the install is configured for a page with an install link. What you say is not exactly right, because scripts DO capture in-page events without a reload, obviously, including information returned by other kinds of popups, such as confirms and prompts. But I see what you mean. The notification event which the browser displays after the install popup (I'm not talking about when the script is installed from a source page) has been invoked is not like a confirm or prompt and is not a DOM event and so is not capturable by a GM script. Oh, well, it wasn't critical. 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.
