Peter Szinek <peter / rt.sk> writes: >> >> Ruby/GtkMozEmbed has already been included Ruby-GNOME2. >> And there is a movie to build mozilla based WWW browser using Ruby-GNOME2. >> http://ruby-gnome2.sourceforge.jp/hiki.cgi?RubyZilla >> >> Though, it's not support rbXPCOM. > > Thx for the answer. So it seems my question is reduced to 'how can i > get access the mozilla DOM of a page which has been rendered inside > a Ruby-GNOME2 based WWW browser' I was playing a bit with the Ruby GtkMozEmbed bindings, and it seemed they were rather superficial. That is, you could drop a mozilla widget into your app, and said widget could browse just like real Mozilla, but the interaction between Ruby and the widget was more on the level of "browse this url" and "what url are you at now?" rather than offering any access to the contents of the DOM itself or even such basic things as scrolling the Mozilla widget. Of course, I was just looking at the documentation and not at the source itself. Perhaps it has more features that are undocumented. > C'mon guys, is this really impossible in Ruby ATM? I can't believe > Java beats Ruby in this... Of course it's not impossible! You just have to improve GtkMozEmbed yourself. =) You should also look into Korundum, I suppose. -Phil