On Thu, Feb 25, 2010 at 5:44 PM, rveach <[email protected]> wrote: > The addEventListener on the form isn't firing > ("forms[i].addEventListener('submit', newFormSubmit, false);"), I > assume it is because the page is using javascript links to submit the > form "javascript:document.search1.submit();"? > I could add onclicks to the javascript links, but I also wanted to > capture submit events even if the user is using another GM script to > submit the form using code like: > "document.forms.namedItem("search1").wrappedJSObject.submit();". > > Is there anyway to do this or is it just not possible?
http://diveintogreasemonkey.org/patterns/override-method.html -- 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.
