This is intended behavior. Read the documentation.
That page could definitely be improved.
But most importantly: no; "global variables" are not accessible. The
normal environment that the browser provides (window, document, etc) are
available. Anything that the page adds is not: it could be adding
something evil to break the script, or worse to make the script actively
cause problems (privacy, security, or otherwise) for the user. Keep
reading, especially about XPCNativeWrappers, and learn about expando
properties (this is actually probably "global variables" as you refer to
them).
Also valuable:
http://wiki.greasespot.net/Category:Coding_Tips:Interacting_With_The_Page
--
You received this message because you are subscribed to the Google Groups "greasemonkey-users" group.
To post to this group, send email to greasemon...@googlegroups.com.
To unsubscribe from this group, send email to greasemonkey-us...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/greasemonkey-users?hl=en.