I'm working on instrumenting javascript and like to test my code by inject the code using greasemonkey. Basically, my question is about how greasemonkey manipulate the script and how the script is loaded to the browser, or related issues.
I read "Dive into greasemonkey" written in 2005. It mentions that greasemonkey wraps a user script in an anonymous function wrapper. Does greasemonkey insert the wrapper into the source javascript code or add it as to any event handler such as window.onload? -- 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.
