Hi,
GreaseMonkey is running in its own container, mainly to prevent
access the other way round (forging a carefully crafted script to
intercept GreaseMonkey scripts running on the page, and injecting
malicious code "backwards" into the browser engine to access the
browser internal layer of JS execution).
So I advise you to be very careful here, but I think generally
you're looking for the information on this page:
https://wiki.greasespot.net/Category:Coding_Tips:Interacting_With_The_Page
Any of the 4 pages, or, if everything fails, probably unsafeWindow can help (generally not recommended but sometimes the only option).
But again: be very careful! For example, I'd rather see if I can
provide a REST API and use OAuth tokens from the script to access
the database etc.
Chris
--
You received this message because you are subscribed to the Google Groups "greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to greasemonkey-us...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/greasemonkey-users/a587a572-e322-4246-8d3e-e97195ea649en%40googlegroups.com.