# Access nsIWebBrowser from mozembed via rbxpcom?

**URL:** <https://www.ruby-forum.com/t/access-nsiwebbrowser-from-mozembed-via-rbxpcom/152032>\
**Category:** Ruby-Gnome 2\
**Created:** [October 29, 2008, 10:25am UTC](https://www.ruby-forum.com/t/access-nsiwebbrowser-from-mozembed-via-rbxpcom/152032 "2008-10-29T10:25:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_SSTownley](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d07c76/32.png) [@Andrew\_SSTownley](https://www.ruby-forum.com/u/Andrew_SSTownley)\
**Post date:** [October 29, 2008, 10:25am UTC](https://www.ruby-forum.com/t/access-nsiwebbrowser-from-mozembed-via-rbxpcom/152032/1 "2008-10-29T10:25:16Z")

</div>

Hi,

Has anyone here ever used rbxpcom and the mozembed component together?  
I know that the internal header of the gtk mozilla embedded object  
provides a reference to retrieve the nsIWebBrowser instance, but this  
isn’t currently exposed in the Ruby bindings.

Any info/pointers would be appreciated.

Cheers,

## ast

Andrew S. Townley [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[http://atownley.org](http://atownley.org)
