On 11/18/09 10:11, danicgross wrote: > Suppose I have a javascript file (loaded normally) that has a function > 'doSomething();' > Could that function be defined within a greasemonkey script?
I think you want to ask if it can be called, not defined. The answer is: kinda. You have to use one of: http://wiki.greasespot.net/Location_hack http://wiki.greasespot.net/UnsafeWindow But the latter, clearly from its name, is unsafe. It should be avoided if at all possible. -- 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=.
