Interacting with Mozilla DOM?

I’m trying to figure out a way of controlling/interacting with the
Mozilla DOM without JavaScript, and in a not-too-hacky way. Any
thoughts?

Thanks,
Ken

Kenneth McDonald wrote:

I’m trying to figure out a way of controlling/interacting with the
Mozilla DOM without JavaScript, and in a not-too-hacky way. Any thoughts?

Thanks,
Ken

Depending on your OS…on *nix there is gtkmozembed, which has ruby
bindings [1]. There’s also rbXPCOM (looks old) [2]. I’ve never used
either, so I don’t know how well they work (if at all).

[1] http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%3AMozEmbed
(more examples here
http://ruby-gnome2.sourceforge.jp/hiki.cgi?RubyGecko)
[2] http://www.mozilla.org/catalog/architecture/xpcom/rbxpcom/

Regards,
Jordan

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

MonkeeSage wrote:

Kenneth McDonald wrote:

I’m trying to figure out a way of controlling/interacting with the
Mozilla DOM without JavaScript, and in a not-too-hacky way. Any thoughts?

Depending on your OS…on *nix there is gtkmozembed, which has ruby
bindings [1].

The Ruby binding to GtkMozEmbed doesn’t seem to let you access the
underlying XPCOM DOM object, only trivially display some HTML and
whatever else Gecko supports right now.

David V.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFHbMby6MhrS8astoRArVyAJ9lsdGP3m+Urvfr7SARNxoQNRz8KwCfaXnq
/5jLdkp8ECChh1rFuSfNRho=
=hFso
-----END PGP SIGNATURE-----

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs