Okay that worked. Now how do I safely access an object inside that window?
Assuming someone has added a getter for x, when I call blah.blah.wrappedJSObject.x what context does the getter run in? e.g. is it chrome, and how do I protect against this? And what about subsequent method calls (x.doStuff()). I seem to remember some sandbox thing... I think I need to look at the greasemonkey code. A On 13/12/05, Neil <[EMAIL PROTECTED]> wrote: > Adam Judson wrote: > > >What I actually want to do is put a google map inside my chrome window, > >without the side effect of giving google access to the local machine. > > > Then I guess the best you can do is to embed it in a <browser > type="content"> element. > _______________________________________________ > Project_owners mailing list > [email protected] > http://mozdev.org/mailman/listinfo/project_owners > _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
