On Sat, May 9, 2009 at 10:43 PM, Gustavo Noronha <[email protected]> wrote: > On Thu, 2009-04-30 at 13:30 +0200, Josselin Mouette wrote: >> Le mercredi 29 avril 2009 à 14:35 +0300, Xan Lopez a écrit : >> > I'm not totally sure yet, but it seems more likely than not that we'll >> > switch to Seed and drop Python for extensions. Not sure it will happen >> > in this cycle though. >> >> I think I’m going to miss Python. >> >> Will Seed allow to access to the DOM tree, or will it have the same >> restrictions as the Python extensions have? > > For now, it won't be able to access the DOM tree, but that's currently a > limitation of WebKitGTK+. I was hoping we would have some way of at > least using the javascript objects through seed by sharing the global > context with the one in the WebView, but it seems to be harder than we > first thought. > > We can probably think of a way of making that available through some > clever use of JavaScriptCore's C API, though. Notice that me and Xan are > going to try and push DOM access API for this cycle still, though. > > See you, > > -- > Gustavo Noronha <[email protected]> > GNOME contributor >
What needs to happen for this to work, is to be able to set/get the context group that WebKit uses...once that happens, it's entirely trivial to be able to pluck DOM objects out of pages and use them in Seed extensions...it should be a relatively small API addition, I just don't know where all the parts are in WebKit. > _______________________________________________ > epiphany-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/epiphany-list > _______________________________________________ epiphany-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/epiphany-list
