Scripts are run at http://wiki.greasespot.net/DOMContentLoaded

Scripts interact with a wrapped window object.

@Unwrap only removes the anonymous function wrapper
http://wiki.greasespot.net/Metadata_Block

Other ways to run script:
http://wiki.greasespot.net/Category:Coding_Tips:Interacting_With_The_Page

On Wed, Jul 14, 2010 at 1:29 PM, Paulur <[email protected]> wrote:

> 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.

Reply via email to